Skip to content

Commit

Permalink
Update Develop (#47)
Browse files Browse the repository at this point in the history
* refactor: construct bucket paths with service prefixes

BREAKING CHANGES: GCSPaths must include a path scheme

Before GCSPath would convert `/bucket-name/file` into `gs://bucket-name/file` internally. This leads to ambiguity *(thanks @honnibal) when dealing with regular file-system paths and bucket paths together. Does the path `/foo/bar` point to an absolute file path or a GCS bucket named foo?

Now paths **must be** constructed with a path scheme. This allows GCSPath to deal with both types of paths, and is needed for the CLI apps to come.

* feat(cli): add pathy executable with cp and mv commands

 - add "pathy" entry point to the gcspath package
 - add Typer requirement
 - add typer CLI app for copying and moving files
 - basic test

* feat: add FluidPath and GCSPath.fluid method

GCSPath wants to work with many kinds of paths, and it's not always clear upfront what kind of path a string represents. If you're on a local file system, the path "/usr/bin/something" may be totally valid, but as a GCSPath it isn't valid because there's no service scheme attached to it, e.g. "gs://bucket/usr/bin/something"

FluidPath is a Union of pathlib.Path and GCSPath which allows type-checking of the paths without needing explicit knowledge of what kind of path it is, until that knowledge is needed.

*note* I originally thought of using "UnionPath" instead of "FluidPath" but the intellisense for completing "GCSPath.union" was very crowded, and a helper should be easy to type with completion.

* chore: fix bad entry_point in setup.py

* test(cli): add tests for cp/mv files and folders

* feat(cli): add rm [path] command

 - removes files or folders
 - add tests

* feat(cli): add ls [path] command

 - prints the full paths of files found in the location

* feat(pathy): rename library to be more generic

 - it does more than just GCS at this point

* chore(release): 0.1.0

# [0.1.0](v0.0.17...v0.1.0) (2020-04-24)

### Features

* add FluidPath and GCSPath.fluid method ([3393226](3393226))
* **cli:** add ls [path] command ([17cab1d](17cab1d))
* **cli:** add pathy executable with cp and mv commands ([98760fc](98760fc))
* **cli:** add rm [path] command ([31cea91](31cea91))
* **pathy:** rename library to be more generic ([c62b14d](c62b14d))

* feat(cli): add -r and -v flags for safer usage

 - rm will fail if given a directory without the -r flag (similar to unix rm)
 - rm will print the removed files/folders when given the -v flag

* chore(release): 0.1.1

## [0.1.1](v0.1.0...v0.1.1) (2020-04-24)

### Features

* **cli:** add -r and -v flags for safer usage ([a87e36f](a87e36f))

* fix: path.owner() can raise when using filesystem adapter

 - catch the error and return a None owner

* chore(release): 0.1.2

## [0.1.2](v0.1.1...v0.1.2) (2020-05-23)

### Bug Fixes

* path.owner() can raise when using filesystem adapter ([2877b06](2877b06))

* feat: upgrade typer support

 - allow anything in range >=0.3.0,<1.0.0

* chore(release): 0.1.3

## [0.1.3](v0.1.2...v0.1.3) (2020-06-28)

### Features

* upgrade typer support ([e481000](e481000))

* chore(deps): bump npm from 6.14.2 to 6.14.6

Bumps [npm](https://github.com/npm/cli) from 6.14.2 to 6.14.6.
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](npm/cli@v6.14.2...v6.14.6)

Signed-off-by: dependabot[bot] <support@github.com>

* chore(deps): bump lodash from 4.17.15 to 4.17.19

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](lodash/lodash@4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

* refactor: rename PureGCSPath to PurePathy

Be more consistent with the Pathy naming.

BREAKING CHANGE: PureGCSPath is now PurePathy

* feat(README): generate API and CLI docs

* feat(build): use husky to auto update docs when code changes

* chore: update docs

* chore: add BucketStat to docs

* chore: fix ci build badge

* chore(release): 0.2.0

# [0.2.0](v0.1.3...v0.2.0) (2020-08-22)

### Code Refactoring

* rename PureGCSPath to PurePathy ([5632f26](5632f26))

### Features

* **build:** use husky to auto update docs when code changes ([5a32357](5a32357))
* **README:** generate API and CLI docs ([0213d2f](0213d2f))

### BREAKING CHANGES

* PureGCSPath is now PurePathy

* chore: add codecov script

* chore: add coverage badge to readme

* chore: update readme

restore the credits to s3path library

* chore: update docs

* refactor(pypi): move gcs dependencies into pathy[gcs] extras

* chore: add auto format and lint scripts

* feat: add get_client/register_client for supporting multiple services

Adds a simple registry of known schemes and their mappings to BucketClient subclasses. There's a hardcoded list of built-in services, and (in theory) you can register more dynamically.

I think I prefer to hardcode and include most of the known services, and lazily import them so you only need their packages when you actually use them. The hope is that this lets the strong typings flow through to the clients (because they can be statically inspected). If we can't get specific types flowing through nicely, maybe it's okay to do more of a dynamic import style registration.

BREAKING CHANGE use_fs, get_fs_client, use_fs_cache, get_fs_cache, and clear_fs_cache moved from pathy.api to pathy.clients

* chore: add semantic PR title linting github action

* chore: fix tests without google-auth installed

* chore: drop github action for semantic pr titles

 - really the title is secondary to the commits in the PR. We'll continue to use the Semantic PR github app as long as it works

* chore: cleanup from review

* chore: fix extras in setup.py

* refactor: add BasePathy class to bind PathType var to

BREAKING CHANGE: This renames the internal GCS/File adapter classes by removing the prefix Client.

ClientBucketFS -> BucketFS
ClientBlobFS -> BlobFS
ClientBucketGCS -> BucketGCS
ClientBlobGCS -> BlobGCS

* refactor: combine api/client with base.py

 - this makes the Pathy type accessible where it otherwise would not be for TypeVars.

* feat(GCS): print install command when using GCS without deps installed

 - make the assertion prettier 😎

* chore: fix the remaining mypy errors

 - in some cases the mypy errors are too uptight about subclasses and their types. When that happens we silence the error and provide the expected subclass type.

* chore: remove isort test from lint script

 - we black format last, so the order/indent could be changed.

* chore: misc cleanup

* chore: drop PathType variable

 - since consolidating the Pathy class in the base.py file, there's no need to TypeVars, we can just use a forward ref to Pathy itself 🎉

* feat(ci): add lint check before testing

* chore: fix travis lint invocation

* chore: use venv when linting

* docs: add section about semantic version to readme

* chore(release): 0.3.0

# [0.3.0](v0.2.0...v0.3.0) (2020-09-04)

### Code Refactoring

* add BasePathy class to bind PathType var to ([796dd40](796dd40))

### Features

* add get_client/register_client for supporting multiple services ([747815b](747815b))
* **ci:** add lint check before testing ([2633480](2633480))
* **GCS:** print install command when using GCS without deps installed ([d8dbcd4](d8dbcd4))

### BREAKING CHANGES

* This renames the internal GCS/File adapter classes by removing the prefix Client.

ClientBucketFS -> BucketFS
ClientBlobFS -> BlobFS
ClientBucketGCS -> BucketGCS
ClientBlobGCS -> BlobGCS
* use_fs, get_fs_client, use_fs_cache, get_fs_cache, and clear_fs_cache moved from pathy.api to pathy.clients

* chore: add test for about.py to avoid failed codecov checks when releasing

 - if about.py changes and we don't test it, codecov is all like "wah, you didn't hit your diff targets because you went from 0% to 0% on about.py" 😅

* chore: lint

* chore(deps): bump node-fetch from 2.6.0 to 2.6.1

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>

* feat(ci): add pyright check to lint step

* chore: run with npx

* chore: fix pyright errors in gcs.py

* chore: take two at fixing pyright errors

 - this is pretty nice. If you don't have the packages installed, the types end up being Any everywhere, but if you do have them installed, you get all the correct types including documentation popups in the IDE and intellisense 🎉

* chore: fix issue where GCS installation was not found

 - storage var is outdated

* feat: update smart-open to 2.2.0 for minimal deps

 - to get GCS support, use `pip install pathy[gcs]`

* chore: fix fallback type for credentials error

* chore: npm audit fix

* chore(release): 0.3.1

## [0.3.1](v0.3.0...v0.3.1) (2020-09-26)

### Features

* update smart-open to 2.2.0 for minimal deps ([4b3e959](4b3e959))
* **ci:** add pyright check to lint step ([10ce34d](10ce34d))

* test: add a rglob + unlink test

 - it seems like a reasonably common pattern, make sure it works like rmdir

* chore: suppress ugly path open type error

 - the Path open method has a gross type that changes based on the python version. We'll use our specific type and deal with the consequences. 😎

* fix: upgrade smart-open to >=2.2.0,<4.0.0 (#36)

⬆️ Upgrade smart-open pin, to fix botocore requiring urllib3 < 1.26

* chore(release): 0.3.2

## [0.3.2](v0.3.1...v0.3.2) (2020-11-12)

### Bug Fixes

* upgrade smart-open to >=2.2.0,<4.0.0 ([#36](#36)) ([fdf083e](fdf083e))

* chore: add BucketStat -> BlobStat to changelog

* fix: path.scheme would error with schemeless paths (#37)

- return "" from file paths as expected rather than error

* chore(release): 0.3.3

## [0.3.3](v0.3.2...v0.3.3) (2020-11-12)

### Bug Fixes

* path.scheme would error with schemeless paths ([#37](#37)) ([80f0036](80f0036))

* chore(deps-dev): bump semantic-release from 17.0.4 to 17.2.3 (#38)

Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 17.0.4 to 17.2.3.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](semantic-release/semantic-release@v17.0.4...v17.2.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(clients): add set_client_params for specifying client-specific args (#39)

* feat(clients): add set_client_params for specifying client-specific args

 - useful for passing credentials and other args to the underlying bucket client library

* chore: fix lint

* test: add test for set_client_params

* chore: fix test

* test: run GCS tests during CI build

* chore: install all deps for testing

* chore: fix credentials detection

* chore: update docs

* test(clients): add recreate behavior test

* chore: use more generous wait in timestamp test

* chore: update readme snippets

* chore(release): 0.3.4

## [0.3.4](v0.3.3...v0.3.4) (2020-11-22)

### Features

* **clients:** add set_client_params for specifying client-specific args ([#39](#39)) ([84b9987](84b9987))

* Feature/test doc snippets (#40)

* test(ci): add readme snippet test runner

 - gather up and execute the python snippets in the Readme to make sure they work.

* chore: update docs and mathy_pydoc version

* chore: update docs

* chore(deps): bump ini from 1.3.5 to 1.3.8 (#41)

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](npm/ini@v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: python 3.9 compatibility (#46)

* fix: python 3.9 compatibility

 - a change to the way scandir is used causes a KeyError in some code paths
 - root cause: https://bugs.python.org/issue39916
 - solution is to refactor scandir to use a class that can be used as a generator or context manager.

* chore: disable broken spacy test until thinc pr lands

* chore: make PathyScanDir iterable for py < 3.8

* chore: cleanup from review

* chore: drop old tox file

* chore: add codecov yml to disable patch coverage

* fix(pypi): add requirements.txt to distribution (#45)

* chore(release): 0.3.5

## [0.3.5](v0.3.4...v0.3.5) (2021-02-02)

### Bug Fixes

* **pypi:** add requirements.txt to distribution ([#45](#45)) ([759cd86](759cd86))
* python 3.9 compatibility ([#46](#46)) ([a965f40](a965f40))

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastián Ramírez <tiangolo@gmail.com>
Co-authored-by: Nicholas Bollweg <nick.bollweg@gmail.com>
  • Loading branch information
6 people authored Feb 9, 2021
1 parent 0ee7477 commit 1e4bc6a
Show file tree
Hide file tree
Showing 47 changed files with 10,403 additions and 8,321 deletions.
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
max-line-length = 88
select = C,E,F,W,B,B9
ignore = E203, E501, W503
exclude = __init__.py
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ matrix:
- language: python
python: 3.7
before_install:
- nvm install 10.18
- nvm use 10.18
- nvm install 12
- nvm use 12
before_script:
- npm install && npx ts-node tools/ci-set-build-version.ts
- sh tools/setup.sh
script:
- sh tools/lint.sh
- sh tools/test_readme.sh
- sh tools/test.sh
after_success:
- echo "todo: python coverage reporting to coveralls"
- sh tools/codecov.sh
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then sh tools/deploy.sh; fi
cache:
directories:
Expand Down
177 changes: 145 additions & 32 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,107 +1,220 @@
## [0.0.17](https://github.com/justindujardin/gcspath/compare/v0.0.16...v0.0.17) (2020-04-17)
## [0.3.5](https://github.com/justindujardin/pathy/compare/v0.3.4...v0.3.5) (2021-02-02)


### Bug Fixes

* do not de/compress opened files based on extension ([22d14e7](https://github.com/justindujardin/gcspath/commit/22d14e7d4919f16ca54bf28e685c221f7c96f8d3))
* **pypi:** add requirements.txt to distribution ([#45](https://github.com/justindujardin/pathy/issues/45)) ([759cd86](https://github.com/justindujardin/pathy/commit/759cd862be15dd1683248cdbdc0873e64f2712da))
* python 3.9 compatibility ([#46](https://github.com/justindujardin/pathy/issues/46)) ([a965f40](https://github.com/justindujardin/pathy/commit/a965f40a086ccb305e58936813a30c35f95d5212))

## [0.0.16](https://github.com/justindujardin/gcspath/compare/v0.0.15...v0.0.16) (2020-04-16)
## [0.3.4](https://github.com/justindujardin/pathy/compare/v0.3.3...v0.3.4) (2020-11-22)


### Features

* **typing:** expose library python types to mypy ([53cf348](https://github.com/justindujardin/gcspath/commit/53cf34845399e1d31538dc02e462d7e02bcd32a6))
* **clients:** add set_client_params for specifying client-specific args ([#39](https://github.com/justindujardin/pathy/issues/39)) ([84b9987](https://github.com/justindujardin/pathy/commit/84b9987d4a7819ed6b9c8475523036d5809b1b2a))

## [0.0.15](https://github.com/justindujardin/gcspath/compare/v0.0.14...v0.0.15) (2020-04-16)
## [0.3.3](https://github.com/justindujardin/pathy/compare/v0.3.2...v0.3.3) (2020-11-12)


### Bug Fixes

* **requirements:** remove typer dependency ([08e8fa0](https://github.com/justindujardin/gcspath/commit/08e8fa0baa186b710a6adf2205b0a51bbd39fe37))
* path.scheme would error with schemeless paths ([#37](https://github.com/justindujardin/pathy/issues/37)) ([80f0036](https://github.com/justindujardin/pathy/commit/80f003670e9ce2515b23813fec9dfdf7a6696fb3))

## [0.0.14](https://github.com/justindujardin/gcspath/compare/v0.0.13...v0.0.14) (2020-04-16)
## [0.3.2](https://github.com/justindujardin/pathy/compare/v0.3.1...v0.3.2) (2020-11-12)


### Bug Fixes

* **iterdir:** don't return empty results ([2a8b870](https://github.com/justindujardin/gcspath/commit/2a8b870c2ca232431c65808050363e8faff60ba2))
* upgrade smart-open to >=2.2.0,<4.0.0 ([#36](https://github.com/justindujardin/pathy/issues/36)) ([fdf083e](https://github.com/justindujardin/pathy/commit/fdf083eb711f225e577e9f6199a7a403b49bf2ea))

## [0.0.13](https://github.com/justindujardin/gcspath/compare/v0.0.12...v0.0.13) (2020-04-16)
## [0.3.1](https://github.com/justindujardin/pathy/compare/v0.3.0...v0.3.1) (2020-09-26)


### Features

* update smart-open to 2.2.0 for minimal deps ([4b3e959](https://github.com/justindujardin/pathy/commit/4b3e959ce1c4c491cb291935e8d47ac537b72485))
* **ci:** add pyright check to lint step ([10ce34d](https://github.com/justindujardin/pathy/commit/10ce34d13ddc99232b3ce7681db27f561d51c87b))

# [0.3.0](https://github.com/justindujardin/pathy/compare/v0.2.0...v0.3.0) (2020-09-04)


### Code Refactoring

* add BasePathy class to bind PathType var to ([796dd40](https://github.com/justindujardin/pathy/commit/796dd407fca72c5297914e597f3221fdbcd9e95e))


### Features

* add get_client/register_client for supporting multiple services ([747815b](https://github.com/justindujardin/pathy/commit/747815b46e1e3cd61e6e69d04b52f5f5958ed373))
* **ci:** add lint check before testing ([2633480](https://github.com/justindujardin/pathy/commit/263348028fe5c217163632d9fd002cd7f5b5c77c))
* **GCS:** print install command when using GCS without deps installed ([d8dbcd4](https://github.com/justindujardin/pathy/commit/d8dbcd41d1e813090cad906c81df95880ae7289c))


### BREAKING CHANGES

* 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](https://github.com/justindujardin/pathy/compare/v0.1.3...v0.2.0) (2020-08-22)


### Code Refactoring

* rename PureGCSPath to PurePathy ([5632f26](https://github.com/justindujardin/pathy/commit/5632f264ed5d22b54b1c284ca1d79d2e248c5fd3))


### Features

* **build:** use husky to auto update docs when code changes ([5a32357](https://github.com/justindujardin/pathy/commit/5a32357db47f003fb3ebc6345d7fa4cee829fd99))
* **README:** generate API and CLI docs ([0213d2f](https://github.com/justindujardin/pathy/commit/0213d2f7028c08d40d863d1cc123e7d55ff1c89f))


### BREAKING CHANGES

* PureGCSPath is now PurePathy

## [0.1.3](https://github.com/justindujardin/pathy/compare/v0.1.2...v0.1.3) (2020-06-28)


### Features

* upgrade typer support ([e481000](https://github.com/justindujardin/pathy/commit/e4810004eff21a605626d30cd717983787a6a8c6))

## [0.1.2](https://github.com/justindujardin/pathy/compare/v0.1.1...v0.1.2) (2020-05-23)


### Bug Fixes

* path.owner() can raise when using filesystem adapter ([2877b06](https://github.com/justindujardin/pathy/commit/2877b06562e4bb1d4767e9c297e2aee2fc1284ad))

## [0.1.1](https://github.com/justindujardin/pathy/compare/v0.1.0...v0.1.1) (2020-04-24)


### Features

* **cli:** add -r and -v flags for safer usage ([a87e36f](https://github.com/justindujardin/pathy/commit/a87e36fbc13a705c1f7f9ed7909ff6c9fe8e494e))

# [0.1.0](https://github.com/justindujardin/pathy/compare/v0.0.17...v0.1.0) (2020-04-24)


### Features

* add FluidPath and GCSPath.fluid method ([3393226](https://github.com/justindujardin/pathy/commit/3393226bc7f390f696d109bfac5f44e59a8b5151))
* **cli:** add ls [path] command ([17cab1d](https://github.com/justindujardin/pathy/commit/17cab1d8b96d92ca79e18512ac7e8a42aa136066))
* **cli:** add pathy executable with cp and mv commands ([98760fc](https://github.com/justindujardin/pathy/commit/98760fcfc0cb62891b7f2aac81a74fef088fdf78))
* **cli:** add rm [path] command ([31cea91](https://github.com/justindujardin/pathy/commit/31cea9156d99d9d465569c20c566943d4238c5dd))
* **pathy:** rename library to be more generic ([c62b14d](https://github.com/justindujardin/pathy/commit/c62b14da2aba25024af647e29df09ee57a13f6bd))

## [0.0.17](https://github.com/justindujardin/pathy/compare/v0.0.16...v0.0.17) (2020-04-17)


### Bug Fixes

* do not de/compress opened files based on extension ([22d14e7](https://github.com/justindujardin/pathy/commit/22d14e7d4919f16ca54bf28e685c221f7c96f8d3))

## [0.0.16](https://github.com/justindujardin/pathy/compare/v0.0.15...v0.0.16) (2020-04-16)


### Features

* **typing:** expose library python types to mypy ([53cf348](https://github.com/justindujardin/pathy/commit/53cf34845399e1d31538dc02e462d7e02bcd32a6))

## [0.0.15](https://github.com/justindujardin/pathy/compare/v0.0.14...v0.0.15) (2020-04-16)


### Bug Fixes

* **requirements:** remove typer dependency ([08e8fa0](https://github.com/justindujardin/pathy/commit/08e8fa0baa186b710a6adf2205b0a51bbd39fe37))

## [0.0.14](https://github.com/justindujardin/pathy/compare/v0.0.13...v0.0.14) (2020-04-16)


### Bug Fixes

* **iterdir:** don't return empty results ([2a8b870](https://github.com/justindujardin/pathy/commit/2a8b870c2ca232431c65808050363e8faff60ba2))

## [0.0.13](https://github.com/justindujardin/pathy/compare/v0.0.12...v0.0.13) (2020-04-16)


### Bug Fixes

* **to_local:** issue where files without extensions would not be cached ([3d543a8](https://github.com/justindujardin/gcspath/commit/3d543a88a81604d13f8e401422d59803d9bb3943))
* **to_local:** issue where files without extensions would not be cached ([3d543a8](https://github.com/justindujardin/pathy/commit/3d543a88a81604d13f8e401422d59803d9bb3943))

## [0.0.12](https://github.com/justindujardin/gcspath/compare/v0.0.11...v0.0.12) (2020-04-15)
## [0.0.12](https://github.com/justindujardin/pathy/compare/v0.0.11...v0.0.12) (2020-04-15)


### Bug Fixes

* recursion error when copying blob folders ([8b6e01c](https://github.com/justindujardin/gcspath/commit/8b6e01c3e8c35a78deee60d45563b27b7a732e9a))
* recursion error when copying blob folders ([8b6e01c](https://github.com/justindujardin/pathy/commit/8b6e01c3e8c35a78deee60d45563b27b7a732e9a))

## [0.0.11](https://github.com/justindujardin/gcspath/compare/v0.0.10...v0.0.11) (2020-04-15)
## [0.0.11](https://github.com/justindujardin/pathy/compare/v0.0.10...v0.0.11) (2020-04-15)


### Features

* **to_local:** support caching folders ([cc56f6e](https://github.com/justindujardin/gcspath/commit/cc56f6eab21f850f0521013749589ad0736e261d))
* **to_local:** support caching folders ([cc56f6e](https://github.com/justindujardin/pathy/commit/cc56f6eab21f850f0521013749589ad0736e261d))

## [0.0.10](https://github.com/justindujardin/gcspath/compare/v0.0.9...v0.0.10) (2020-04-14)
## [0.0.10](https://github.com/justindujardin/pathy/compare/v0.0.9...v0.0.10) (2020-04-14)


### Features

* add `use_fs_caching` and `GCSPath.to_local` for caching ([2894360](https://github.com/justindujardin/gcspath/commit/2894360d48e3ac4b28ecb4627eb562f9e65b3c93))
* add `use_fs_caching` and `Pathy.to_local` for caching ([2894360](https://github.com/justindujardin/pathy/commit/2894360d48e3ac4b28ecb4627eb562f9e65b3c93))

## [0.0.9](https://github.com/justindujardin/gcspath/compare/v0.0.8...v0.0.9) (2020-04-08)
## [0.0.9](https://github.com/justindujardin/pathy/compare/v0.0.8...v0.0.9) (2020-04-08)


### Features

* add `resolve` method ([7cebc69](https://github.com/justindujardin/gcspath/commit/7cebc69bfc88b1a522defdce1637f5159c37def6))
* add `resolve` method ([7cebc69](https://github.com/justindujardin/pathy/commit/7cebc69bfc88b1a522defdce1637f5159c37def6))

## [0.0.8](https://github.com/justindujardin/gcspath/compare/v0.0.7...v0.0.8) (2020-04-08)
## [0.0.8](https://github.com/justindujardin/pathy/compare/v0.0.7...v0.0.8) (2020-04-08)


### Features

* allow passing GCSPath to spacy.Model.to_disk ([1d628cb](https://github.com/justindujardin/gcspath/commit/1d628cb8c5056683590d9f2403f1482e2a310971))
* **use_fs:** allow passing root folder as Path ([3635152](https://github.com/justindujardin/gcspath/commit/36351525bf84001ed4f9b0b7abf842f8e27ef1f0))
* allow passing Pathy to spacy.Model.to_disk ([1d628cb](https://github.com/justindujardin/pathy/commit/1d628cb8c5056683590d9f2403f1482e2a310971))
* **use_fs:** allow passing root folder as Path ([3635152](https://github.com/justindujardin/pathy/commit/36351525bf84001ed4f9b0b7abf842f8e27ef1f0))

## [0.0.7](https://github.com/justindujardin/gcspath/compare/v0.0.6...v0.0.7) (2020-03-30)
## [0.0.7](https://github.com/justindujardin/pathy/compare/v0.0.6...v0.0.7) (2020-03-30)


### Bug Fixes

* **gcs:** gracefully handle invalid gcs client case ([529f630](https://github.com/justindujardin/gcspath/commit/529f63026abe1b11c3336febb152a030e28a85ef))
* **gcs:** gracefully handle invalid gcs client case ([529f630](https://github.com/justindujardin/pathy/commit/529f63026abe1b11c3336febb152a030e28a85ef))

## [0.0.6](https://github.com/justindujardin/gcspath/compare/v0.0.5...v0.0.6) (2020-03-30)
## [0.0.6](https://github.com/justindujardin/pathy/compare/v0.0.5...v0.0.6) (2020-03-30)


### Features

* add github releases for each pypi version ([66dbed8](https://github.com/justindujardin/gcspath/commit/66dbed851346372ab84080f027113aba054452af))
* add github releases for each pypi version ([66dbed8](https://github.com/justindujardin/pathy/commit/66dbed851346372ab84080f027113aba054452af))

## [0.0.5](https://github.com/justindujardin/gcspath/compare/v0.0.4...v0.0.5) (2020-03-30)
## [0.0.5](https://github.com/justindujardin/pathy/compare/v0.0.4...v0.0.5) (2020-03-30)

### Bug Fixes

- generating changelog ([ef43ed1](https://github.com/justindujardin/gcspath/commit/ef43ed11a140ed3cfaba2e7d72b7c01c7275c8d6))
- generating changelog ([ef43ed1](https://github.com/justindujardin/pathy/commit/ef43ed11a140ed3cfaba2e7d72b7c01c7275c8d6))

## [0.0.4](https://github.com/justindujardin/gcspath/compare/v0.0.3...v0.0.4) (2020-03-30)
## [0.0.4](https://github.com/justindujardin/pathy/compare/v0.0.3...v0.0.4) (2020-03-30)

### Features

- support unlink path operation

## [0.0.3](https://github.com/justindujardin/gcspath/compare/v0.0.2...v0.0.3) (2020-03-30)
## [0.0.3](https://github.com/justindujardin/pathy/compare/v0.0.2...v0.0.3) (2020-03-30)

### Features

- **gcs:** use smart_open for streaming files ([e557ab9](https://github.com/justindujardin/gcspath/pull/3/commits/e557ab9e3bc7c0edcb02333fe8ea6be760c152dc))
- add file-system bucket adapter ([1c72f47](https://github.com/justindujardin/gcspath/pull/3/commits/1c72f475fde8de1c6cb3af23d63b793722fe82e2))
- use_fs stores buckets on the file-system ([f717280](https://github.com/justindujardin/gcspath/pull/3/commits/f7172806d0ae3e408aafc12fe7526b9852ce8b36))
- **gcs:** use smart_open for streaming files ([e557ab9](https://github.com/justindujardin/pathy/pull/3/commits/e557ab9e3bc7c0edcb02333fe8ea6be760c152dc))
- add file-system bucket adapter ([1c72f47](https://github.com/justindujardin/pathy/pull/3/commits/1c72f475fde8de1c6cb3af23d63b793722fe82e2))
- use_fs stores buckets on the file-system ([f717280](https://github.com/justindujardin/pathy/pull/3/commits/f7172806d0ae3e408aafc12fe7526b9852ce8b36))

## [0.0.2](v0.0.1...v0.0.2) (2020-03-18)

Expand Down
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
include setup.py
include README.md
include LICENSE
include gcspath/py.typed
include pathy/py.typed
include requirements.txt
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ test: venv
publish: venv
env3.7/bin/python setup.py sdist bdist_wheel
env3.7/bin/twine upload dist/*
rm -rf build dist .egg gcspath.egg-info
rm -rf build dist .egg pathy.egg-info

clean:
rm -rf build dist .egg gcspath.egg-info env3.7
rm -rf build dist .egg pathy.egg-info env3.7

check: test
Loading

0 comments on commit 1e4bc6a

Please sign in to comment.