Skip to main content

cosmo-torrent

This project offers a library to access data from central storage location and a command line tool to upload data.

This can be used to avoid shipping large data sets within Python packages.

Data upload

After installing cosmo-torrent the command line command

$ cosmo-torrent-upload --help
Usage: cosmo-torrent-upload [OPTIONS] FOLDER

Options:
  --identifier TEXT  data set identifier for later download  [required]
  --user TEXT        user name for scp to server
  --force            overwrite existing dataset
  --help             Show this message and exit.

can be used to upload data to a central storage location (details in the Internals section below).

For example:

$ cosmo-torrent-upload --identifier test_data.2024.08 --user schmittu .

uploads the content of the current working folder using the identifier test_data.2024.08.

Data accesss

The data can be accessed using the identifier used for the upload. On first access, the data is downloaded to a local cache folder. For future access, the dataset can be accessed directly.

from cosmo_torrent import data_set

test_data_folder = data_set('test_data.2024.07')

Here test_data_folder will now be a local folder with the specified data set.

Internals

The data is stored at /net/ipa-gate.phys.ethz.ch/export/ipa/public_html/cosmo-torrent at the DPHYS NAS which can be accessed via https://share.phys.ethz.ch/~ipa/cosmo-torrent

Metadata

Release files for cosmo-torrent 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cosmo-torrent 0.2.0
File Size Uploaded Provenance Actions
cosmo_torrent-0.2.0.tar.gz 10.5 MB Without provenance Details for cosmo_torrent-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cosmo-torrent 0.2.0
File Interpreter ABI Platform Actions
cosmo_torrent-0.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for cosmo_torrent-0.2.0-py2.py3-none-any.whl

Total release size: 10.5 MB

Release files / cosmo_torrent-0.2.0.tar.gz

Download URL cosmo_torrent-0.2.0.tar.gz
Size 10.5 MB
Tags Source
SHA-256 checksum
How to use checksums
820ce30bee156362e0e6f3ba4efec8ab21e5a565c3c799cdef1c1800cdf23962
BLAKE2b-256 checksum
How to use checksums
96dffa0627a7e27620088e57bf136d639a7cbbc27edb56295fa071cab200e520
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Release files / cosmo_torrent-0.2.0-py2.py3-none-any.whl

Download URL cosmo_torrent-0.2.0-py2.py3-none-any.whl
Size 6.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
d34c87451df0367a1c09858efb0183007cb20d2e2085969f6923019d8c94d82e
BLAKE2b-256 checksum
How to use checksums
4588003856f985a4658fc1b0f40f288ea880ee81208de4ba7319a53e771492c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.4

Security for cosmo-torrent 0.2.0

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page