Open
Conversation
Remove command_line.py, batch.py, their tests/fixtures, and the example batch.py + addresses.csv. The CLI now lives in its own repository and PyPI package (opencage-cli). Drop tqdm and certifi (only used by the batch CLI) and the [project.scripts] entry point. Bump to 3.4.0.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
opencageCLI tool has been extracted to its own repository and PyPI package: opencage-cli. This PR removes the duplicated code from this repo.opencage/command_line.py,opencage/batch.py, their tests/fixtures, andexamples/batch.py+examples/addresses.csv+batch-progress.gif.tqdmandcertififromdependencies(only used by the batch CLI) and removes the[project.scripts]entry point.pip install opencage-cli.The library API is unchanged;
opencage-clialready depends on this package and only importsOpenCageGeocode/OpenCageGeocodeErrorfromopencage.geocoder, both of which remain exported.User-visible breaking change: anyone relying on
pip install opencageto provide theopencageCLI command will need to switch topip install opencage-cliafter this release.