No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pi_downloader-0.1.10.tar.gz
(8.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pi_downloader-0.1.10.tar.gz.
File metadata
- Download URL: pi_downloader-0.1.10.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffeae535f2e04abce9ab2bd053b728fe8da5a1a4c3b74c47ba2ebda7b1c727ac
|
|
| MD5 |
277a90dcdf44e2b258150ac854e815fb
|
|
| BLAKE2b-256 |
a05df53eb6a066184c7f4162d64e951b0ccaf0724fc164b7bcc593f06a646573
|
File details
Details for the file pi_downloader-0.1.10-py3-none-any.whl.
File metadata
- Download URL: pi_downloader-0.1.10-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0de76e8fa8d7041d56272f5f1ec0daa98af6c75bad9aa3eac742c982741e11b7
|
|
| MD5 |
e7eda0ed294b31b80e3bcf533711e838
|
|
| BLAKE2b-256 |
7993a8f368af1c730bb5b351ba44d1633301052b208e67f797249f05270e68e5
|