Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: np.DataSource for transparent compression and remote files (#801)
* ENH: Use np.DataSource to support compression and remote files * Zip Solis data, fix Solis from method mode * BUG: Accept windows line endings in from_Cary * MAINT: silence h5py warning * ENH: add DataSource to open to allow remote and externally compressed Only available with edit_local=False, cannot do transparent file-level compression * DOC, MAINT: Ensure wt.open accepts path-like * MAINT: Update from_Cary and from_directory to pathlib * DOC, MAINT: add pathlib support in file type warning * DOC: string->path-like in ini * ENH, DOC: finish making all data from methods pathlib and DataSource Closes #632 * MAINT: Open in text rather than binary in from_Cary * DOC: mention local/remote/compressed in docstrings * Handle url scheme in from methods * Handle url scheme in from_cary * Document opening urls/zipped files in data.rst * DOC: add to documentation on open for remote/compressed files * DOC, BUG: Document writing jasco, clean up code to fix bugs * MAINT, BUG: simplify url handling with os.fspath * DOC: Update from method docs with DataSource * TST: Add tests of remote url retrieval * DOC: add comment on google drive download link construction * MAINT: require newer tidy_headers * MAINT: Fix cary with fspath instead of urllib * Fix tensor27 imports * BUG: PosixPath -> PurePosixPath so it doesn't break on Windows
- Loading branch information
Showing
26 changed files
with
344 additions
and
5,345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.