Skip to main content

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:

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
  1. Build the package using poetry build
  2. Publish using twine: twine upload dist/*
    1. Use the instructions at the codeartifact repository [YOUR REPO] on aws.
    2. For example, use this: twine upload --repository codeartifact dist/*

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


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.9.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pi_downloader-0.1.9-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

Details for the file pi_downloader-0.1.9.tar.gz.

File metadata

  • Download URL: pi_downloader-0.1.9.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

Hashes for pi_downloader-0.1.9.tar.gz
Algorithm Hash digest
SHA256 b2fec55b8b30c63f55435ff3d729368c5ed74b537bd76f875321478b85072fee
MD5 2226e6828cd49d6eaa77bfbada6217cb
BLAKE2b-256 50ea2b31312be74689cad39f28c1075f57822b2839227ca44667fdb7c8ec0c75

See more details on using hashes here.

File details

Details for the file pi_downloader-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: pi_downloader-0.1.9-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

Hashes for pi_downloader-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 69bae9c1e3e76bb57dd22d93127245f571996baddf6a46b8efd297882e9e65b3
MD5 d31e920fdd32ea2e991ef1940c20badd
BLAKE2b-256 697b4357db76e84b5404f2e066aad0efc365392d09e6cf249f21fd3a283e3954

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page