Free software: MIT License
Features
Publish dtool datasets by making them accessible via HTTP(S)
Interact with dtool datasets over HTTP(S)
Copy a dataset over HTTP(S)
Installation
To install the dtool-http package.
cd dtool-http
python setup.py install
Usage
To publish a dataset hosted in Amazon S3 or Microsoft Azure Storage use the dtool_publish_dataset command line utility:
$ dtool_publish_dataset azure://jicinformatics/c58038a4-3a54-425e-9087-144d0733387f Dataset accessible at: https://jicinformatics.blob.core.windows.net/c58038a4-3a54-425e-9087-144d0733387f
To show the descriptive metadata of the published dataset:
$ dtool readme show https://jicinformatics.blob.core.windows.net/c58038a4-3a54-425e-9087-144d0733387f --- description: Enterobacteria phage lambda, complete genome creation_date: 2018-02-06 accession: NC_001416.1 link: https://www.ncbi.nlm.nih.gov/nuccore/NC_001416.1 reference: | Nucleotide [Internet]. Bethesda (MD): National Library of Medicine (US), National Center for Biotechnology Information; [1988] - . Accession No. NC_001416.1, Enterobacteria phage lambda, complete genome [cited 2018 Feb 06] Available from: https://www.ncbi.nlm.nih.gov/nuccore/NC_001416.1
To copy the dataset to local disk:
$ dtool copy https://jicinformatics.blob.core.windows.net/c58038a4-3a54-425e-9087-144d0733387f ~/my_datasets Dataset copied to: file:///Users/olssont/my_datasets/lamda-phage-genome
Serving a directory of datasets over HTTP
There is a simple utility for serving datasets in a directory over HTTP called dtool_serve_direcotry. This is mainly useful for testing purposes.
Usage:
$ dtool_serve_directory ~/my_datasets
The default port used is 8081. To show the descriptive metadata in the README one can use dtool:
$ dtool readme show http://localhost:8081/lamda-phage-genome --- description: Enterobacteria phage lambda, complete genome creation_date: 2018-02-06 accession: NC_001416.1 link: https://www.ncbi.nlm.nih.gov/nuccore/NC_001416.1 reference: | Nucleotide [Internet]. Bethesda (MD): National Library of Medicine (US), National Center for Biotechnology Information; [1988] - . Accession No. NC_001416.1, Enterobacteria phage lambda, complete genome [cited 2018 Feb 06] Available from: https://www.ncbi.nlm.nih.gov/nuccore/NC_001416.1
Metadata
Release files for dtool-http 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dtool_http-0.5.2.tar.gz | 16.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dtool_http-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 24.8 kB
Release files / dtool_http-0.5.2.tar.gz
| Download URL | dtool_http-0.5.2.tar.gz |
|---|---|
| Size | 16.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
656271bf48197b21bac776147182c7adbeb140f0145e69c4dcf8818baba621e6
|
|
BLAKE2b-256 checksum How to use checksums |
ab0f50e7618ed2454efb807f21fd8368267e29ef451ba2f8d7b42b84cedffaba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2025.
Transparency logRelease files / dtool_http-0.5.2-py3-none-any.whl
| Download URL | dtool_http-0.5.2-py3-none-any.whl |
|---|---|
| Size | 8.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f25254be4e67885b8c57774cd8432e3fe8b22a7efb4b871dbad2b65a97721dd8
|
|
BLAKE2b-256 checksum How to use checksums |
e590ea59bfe0353e05144d88a9e7cf0d7cf081d5928340eda09691e576e45dd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 31, 2025.
Transparency log