eso-downloader
A python package which provides an easy way to download data for a given ESO observational program ID.
Getting started
To run eso-downloader, you will need to add your ESO portal username and password to the system keyring (the secure place to store login details), and create a config file detailing where to put the data.
Storing passwords/credentials
This package uses the keyring package (https://pypi.org/project/keyring) to store passwords and other credentials. If keyring is unable to find a place to store and read secrets from, see how to configure keyring at https://keyring.readthedocs.io/en/stable/#configuring.
To add your password to the keyring on your system, run:
keyring set eso-downloader <your ESO portal username>
and enter your ESO portal password (in the future, we hope that there will be long-lasting tokens so that we do not need to store the portal password directly). To confirm that the password is saved, run:
keyring get eso-downloader <your ESO portal username>
Creating a config file
An initial starter config file (in .ini format) would be:
[DEFAULT] username = <your ESO portal username> base_dir = <where you want to save the downloaded data>
If you need to use different paths or different usernames for particular programs, you can add sections for specific programs e.g.:
[103.20AX.101] username = <some other username>
or:
[98.13BA.215] base_dir = <some other directory>
Running the script
The script will use the config file and the list of program IDs passed to it to download in parallel all the files needed for the reduction of the found science files, skipping those already downloaded (see algorithm below).
Doing:
eso-downloader --config <path_to_config_file> <program_id> <program_id> ...
will start the download. If sent SIGTERM, the script will stop requesting new files, and finish downloading the files it was working on.
Metadata
Release files for eso-downloader 0.1
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 |
|---|---|---|---|---|
| eso-downloader-0.1.tar.gz | 50.4 kB | Without provenance | Details for eso-downloader-0.1.tar.gz |
Release files / eso-downloader-0.1.tar.gz
| Download URL | eso-downloader-0.1.tar.gz |
|---|---|
| Size | 50.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ac0e77435e2b7fd2e2086217c883ad8e0596032a829401638c02ecebb595361
|
|
BLAKE2b-256 checksum How to use checksums |
8512a7eaf8b901d14ebf0bb0272ee00939c79f65b425990ef07f0d1b91b0e38b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for eso-downloader 0.1
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.