0.10.1 (2022-12-08)
0.10.0 (2022-11-23)
- stat: Previously when using Pathy.fluid paths that point to local file system paths, Pathy would return an
os.stat_result
rather than aBlobStat
. This made it difficulty to treat mixed paths consistently.
Now Pathy returns a BlobStat structure for local and remote paths.
If you need to use os.stat_result
you can still call os.stat(my_path)
to access it.
0.9.0 (2022-11-22)
- blob: properly initialize default last_modified (d831bee)
- windows: consistent path separator in resolve (44f5ca0)
- windows: file:/// paths had the wrong suffix (674a109)
- windows: return None owner on windows where not implemented (abd28c4)
- Pathy: raise error when not using Pathy.fluid for absolute paths (e7f4e73), closes #87
- windows: add windows CI test execution (504823d)
- Pathy: Previously Pathy would allow you to initialize Pathy instances with absolute system paths (unix and windows). Now Pathy raises a ValueError if given an absolute system path that suggest using Pathy.fluid instead.
0.8.1 (2022-11-16)
0.8.0 (2022-11-16)
- azure: This removes an internal bit of code that allows for enumerating buckets in certain situations. The API was impossible to reach without going indirectly through the glob functionality, and it's unclear whether the code paths were ever reached outside of specific unit testing situations. If there's an explicit need for listing buckets, we can add a top-level API for it.
0.7.1 (2022-11-15)
0.7.0 (2022-11-15)
- python: support python 3.11 (c2a0586)
- python: Pathy.exists() no longer enumerates buckets if given a path with no root.
0.6.2 (2022-06-30)
- smart_open: use compression flag required by 6.x versions (8c5f092)
0.6.1 (2021-10-25)
0.6.0 (2021-06-26)
- This change removes support for smart_open < 5.0.0
The API for specifying s3 credentials changed in smart_open v5, so previous versions are incompatible.
0.5.2 (2021-04-24)
0.5.1 (2021-04-23)
0.5.0 (2021-04-22)
- auto-import: move public exports into init.py (fd09021)
- cli: ls returns code 1 from invalid sources (b2ff829)
- samefile: compare self.key to other.key not self.key (688628e)
- auto-import: Previously you could import symbols directly from their files in the module, e.g.
from pathy.base import Pathy
. Now you must import them from the base package, e.g.from pathy import Pathy
.
0.4.0 (2021-02-15)
Pathy would previously handle google's DefaultCredentialsError and raise its own, which covered some use-cases and confused others. If google's cloud SDK cannot find default credentials, you will need to handle that exception manually.
0.3.6 (2021-02-10)
- cli: add "-l" flag to ls command (e47fb02)
- Pathy: add "ls" method for quickly querying blobs with stats (bf452e7)
- tests: include tests in pypi package (#44) (d6ad724)
0.3.5 (2021-02-02)
0.3.4 (2020-11-22)
0.3.3 (2020-11-12)
0.3.2 (2020-11-12)
0.3.1 (2020-09-26)
0.3.0 (2020-09-04)
- add BasePathy class to bind PathType var to (796dd40)
- add get_client/register_client for supporting multiple services (747815b)
- ci: add lint check before testing (2633480)
- GCS: print install command when using GCS without deps installed (d8dbcd4)
- This renames the internal GCS/File adapter classes by removing the prefix Client.
- ClientBucketFS -> BucketFS
- ClientBlobFS -> BlobFS
- ClientBucketGCS -> BucketGCS
- ClientBlobGCS -> BlobGCS
- BucketStat -> BlobStat
- use_fs, get_fs_client, use_fs_cache, get_fs_cache, and clear_fs_cache moved from pathy.api to pathy.clients
0.2.0 (2020-08-22)
- rename PureGCSPath to PurePathy (5632f26)
- build: use husky to auto update docs when code changes (5a32357)
- README: generate API and CLI docs (0213d2f)
- PureGCSPath is now PurePathy
0.1.3 (2020-06-28)
- upgrade typer support (e481000)
0.1.2 (2020-05-23)
- path.owner() can raise when using filesystem adapter (2877b06)
0.1.1 (2020-04-24)
- cli: add -r and -v flags for safer usage (a87e36f)
0.1.0 (2020-04-24)
- add FluidPath and GCSPath.fluid method (3393226)
- cli: add ls [path] command (17cab1d)
- cli: add pathy executable with cp and mv commands (98760fc)
- cli: add rm [path] command (31cea91)
- pathy: rename library to be more generic (c62b14d)
0.0.17 (2020-04-17)
- do not de/compress opened files based on extension (22d14e7)
0.0.16 (2020-04-16)
- typing: expose library python types to mypy (53cf348)
0.0.15 (2020-04-16)
- requirements: remove typer dependency (08e8fa0)
0.0.14 (2020-04-16)
- iterdir: don't return empty results (2a8b870)
0.0.13 (2020-04-16)
- to_local: issue where files without extensions would not be cached (3d543a8)
0.0.12 (2020-04-15)
- recursion error when copying blob folders (8b6e01c)
0.0.11 (2020-04-15)
- to_local: support caching folders (cc56f6e)
0.0.10 (2020-04-14)
- add
use_fs_caching
andPathy.to_local
for caching (2894360)
0.0.9 (2020-04-08)
- add
resolve
method (7cebc69)
0.0.8 (2020-04-08)
- allow passing Pathy to spacy.Model.to_disk (1d628cb)
- use_fs: allow passing root folder as Path (3635152)
0.0.7 (2020-03-30)
- gcs: gracefully handle invalid gcs client case (529f630)
0.0.6 (2020-03-30)
- add github releases for each pypi version (66dbed8)
0.0.5 (2020-03-30)
- generating changelog (ef43ed1)
0.0.4 (2020-03-30)
- support unlink path operation
0.0.3 (2020-03-30)
- gcs: use smart_open for streaming files (e557ab9)
- add file-system bucket adapter (1c72f47)
- use_fs stores buckets on the file-system (f717280)
0.0.2 (2020-03-18)
- tests: enable unit tests on ci (dd56011)