cernopendata-client.
Project description
About
cernopendata-client is a command-line tool to facilitate downloading files from the CERN Open Data portal. The tool enables to query datasets hosted on the CERN Open Data portal and to download and verify the individual data set files.
Installation
$ pip install cernopendata-client
Usage
The detailed information on how to install and use cernopendata-client can be found in cernopendata-client.readthedocs.io.
Development
If you would like to contribute code to the cernopendata-client, you can set up a local development environment as follows:
Clone the repository:
$ git clone https://github.com/cernopendata/cernopendata-client
Setup a virtual environment:
$ python3 -m venv env
$ source env/bin/activate
Install cernopendata-client in editable mode:
$ pip install -e '.[tests]'
Useful links
Changes
Version 0.4.0 (2024-08-22)
Adds support for Python 3.11 and 3.12.
Improves get-metadata --output-field command by adding a new --filter option allowing to output only selected field values matching desired criteria.
Changes container image base to Fedora 38 and slightly optimises image size.
Drops support for Python 2.7.
Version 0.3.0 (2022-03-16)
Adds support for Python 3.10.
Improves download-files command to resume interrupted downloads when using HTTP downloads with pycurl engine.
Improves XRootD downloader by using vanilla XRootD package. Changes xrootdpyfs to xrootd download engine.
Improves download-files command with a new option --download-engine to select pycurl or requests engines when downloading files over HTTP.
Fixes minor issues with file index unwinding and output directory handling.
Version 0.2.0 (2020-11-19)
Adds new list-directory command to list content of EOS directories holding open data files.
Adds support for Python 3.9.
Improves download-files command to allow using XRootD protocol.
Improves download-files command to allow using HTTPS protocol.
Improves download-files command to optionally verify file integrity as soon as files are being downloaded.
Improves get-file-locations command to optionally output file sizes and checksums.
Improves output format colouring to better indicate notes and errors.
Fixes minor issues and improves code coverage.
Version 0.1.0 (2020-09-24)
Enriches download-files command to optionally download only files matching certain name, regexp, or range count.
Adds new verify-files command to verify number, size, and checksum of downloaded files.
Improves get-metadata command with respect to outputting only certain desired metadata field values.
Enriches user documentation.
Version 0.0.1 (2020-09-09)
Initial public release.
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
File details
Details for the file cernopendata_client-0.4.0.tar.gz
.
File metadata
- Download URL: cernopendata_client-0.4.0.tar.gz
- Upload date:
- Size: 102.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5b0a22d3af1d9525bfafb968f374297591e88924212c224a00de8e000d07fc3 |
|
MD5 | 69acea25bb994a7c3caaf37da2219035 |
|
BLAKE2b-256 | 894bc97df1fcd4ff21a89845d7367b81d6365aa76e7bf31c8005eed0b5fa92ad |