No project description provided
Project description
Vis Downloader
Download visibilties from CASDA.
Installation
Use pip:
# From PyPI
pip install vis-downloader
# - OR -
# Latest git version
pip install git+https://github.com/AlecThomson/vis-downloader
Usage
To make sure you don't DDoS CASDA, please make use of the --max-workers option.
usage: vis_download [-h] [--beam BEAM] [--output-dir OUTPUT_DIR] [--username USERNAME] [--store-password] [--reenter-password]
[--max-workers MAX_WORKERS] [--extract-tar] [--download-holography] [--log-only] [--disable-progress] [--quiet]
[--max-retries MAX_RETRIES]
sbids [sbids ...]
Download visibilities from CASDA for a given SBID
positional arguments:
sbids SBID to download
options:
-h, --help show this help message and exit
--beam BEAM Beam to download. Defaults to all.
--output-dir OUTPUT_DIR
Output directory. If unset a directory for each SBID will be created.
--username USERNAME CASDA username
--store-password Store password in keyring
--reenter-password Reenter password
--max-workers MAX_WORKERS
Number of workers
--extract-tar If a file is a tarball attempt to extract it. This removes the original tar file if successful.
--download-holography
Download the evaluation files that contain the holography data
--log-only
--disable-progress Disable the progress bars produced by `tqdm`.
--quiet Silence logged output and progress bar updates
--max-retries MAX_RETRIES
The maximum number of retries allowed for each file when downloading.
To cache your CASDA credentials run:
casda_login -h
# usage: casda_login [-h] username
#
# Login to CASDA and save credentials
#
# positional arguments:
# username Username for CASDA
#
# options:
# -h, --help show this help message and exit
Note that you will also want to set the CASDA_USERNAME environment variable for non-interactive use.
License
vis-downloader is distributed under the terms of the MIT license.
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
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 vis_downloader-1.1.1.tar.gz.
File metadata
- Download URL: vis_downloader-1.1.1.tar.gz
- Upload date:
- Size: 241.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31cbb4c4196875c14a784bde3b59ab68818db1214b7522e340e8233cf2b5448e
|
|
| MD5 |
2c61e6c84669cd63f27586c7b150eb5f
|
|
| BLAKE2b-256 |
15e7df42901554fb878535530f251a2029cc80cefecfa063a6efee06fdcda787
|
Provenance
The following attestation bundles were made for vis_downloader-1.1.1.tar.gz:
Publisher:
cd.yml on AlecThomson/vis-downloader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vis_downloader-1.1.1.tar.gz -
Subject digest:
31cbb4c4196875c14a784bde3b59ab68818db1214b7522e340e8233cf2b5448e - Sigstore transparency entry: 2172985211
- Sigstore integration time:
-
Permalink:
AlecThomson/vis-downloader@09bf0d93ae6e0c6f14c435c4a9c5fe45591bf70e -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/AlecThomson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@09bf0d93ae6e0c6f14c435c4a9c5fe45591bf70e -
Trigger Event:
release
-
Statement type:
File details
Details for the file vis_downloader-1.1.1-py3-none-any.whl.
File metadata
- Download URL: vis_downloader-1.1.1-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72c6ac4a37ce573eb6fa86237d67560291f65f8427155b3c8a1c64f7eaea50ba
|
|
| MD5 |
d35b6857c35ce8b6b19e814309b5bba4
|
|
| BLAKE2b-256 |
c64026ee30ad0ae330e0438f33c468ecda3c1ab69bb08802c14d39b5b7aa31ad
|
Provenance
The following attestation bundles were made for vis_downloader-1.1.1-py3-none-any.whl:
Publisher:
cd.yml on AlecThomson/vis-downloader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vis_downloader-1.1.1-py3-none-any.whl -
Subject digest:
72c6ac4a37ce573eb6fa86237d67560291f65f8427155b3c8a1c64f7eaea50ba - Sigstore transparency entry: 2172985220
- Sigstore integration time:
-
Permalink:
AlecThomson/vis-downloader@09bf0d93ae6e0c6f14c435c4a9c5fe45591bf70e -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/AlecThomson
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@09bf0d93ae6e0c6f14c435c4a9c5fe45591bf70e -
Trigger Event:
release
-
Statement type: