Download PI data in batch.
Usage
- Install the requirements:
poetry install - Prepare a config, e.g.,
config/config.json - Run the command, e.g.,
poetry run pi download --config-path configs/config.json
Additional dependencies due to windows compatibility:
- Please follow this to install the related packages for linux: https://pypi.org/project/requests-kerberos/
- e.g.,
apt-get install gcc python3-dev libkrb5-dev
- e.g.,
Dev
Create a file named .env
AWS_PROFILE="[YOUR_AWS_PROFILE]"
AWS_ACCESS_KEY_ID='testing'
AWS_SECRET_ACCESS_KEY='testing'
AWS_SECURITY_TOKEN='testing'
AWS_SESSION_TOKEN='testing'
AWS_DEFAULT_REGION='us-east-1'
Publish
Log in to aws codeartifact:
aws codeartifact login --tool pip --repository [YOUR_REPO] --domain [YOUR_DOMAIN] --domain-owner [ID] --region eu-west-1
- Build the package using
poetry build - Publish using twine:
twine upload dist/*- Use the instructions at the codeartifact repository
[YOUR REPO]on aws. - For example, use this:
twine upload --repository codeartifact dist/*
- Use the instructions at the codeartifact repository
FAQ
I use pipx to install this package, but it says request_kerberos is not installed.
Use the inject command to install the requests-kerberos dependency:
pipx inject pi-downloader requests-kerberos
Metadata
Release files for pi-downloader 0.1.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pi_downloader-0.1.11.tar.gz | 8.1 kB | Without provenance | Details for pi_downloader-0.1.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pi_downloader-0.1.11-py3-none-any.whl | Python 3 | none | any | Details for pi_downloader-0.1.11-py3-none-any.whl |
Total release size: 18.1 kB
Release files / pi_downloader-0.1.11.tar.gz
| Download URL | pi_downloader-0.1.11.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64cbb2540e5f11ed7d206f5b239af83eb0c243624c4b61379ceddf1fdd6fa1a3
|
|
BLAKE2b-256 checksum How to use checksums |
16bf365d89d244d0ea4d71c75e3bdeabb1e96cadeb7b352630cadc1d66607635
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / pi_downloader-0.1.11-py3-none-any.whl
| Download URL | pi_downloader-0.1.11-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
117c042d8086a9c347a74b3e89aee6b0d617225fc6f9f54212716befef477857
|
|
BLAKE2b-256 checksum How to use checksums |
c843642eca7cac8b4a9d991418090a108ef2c22f972a61c0b051b71f32e88d49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for pi-downloader 0.1.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.