Skip to main content

dtool CLI commands for creating datasets

PyPi package Tests Code Coverage

Installation

pip install dtool-create

Usage

Create a proto dataset:

dtool create my_dataset

Add some data to to the dataset:

cp *.csv my_dataset/data

Add descriptive metadata to the dataset:

dtool readme interative my_dataset

Convert the proto dataset to a dataset by freezing it:

dtool freeze my_dataset

See the dtool documentation for more detail.

Configuring the descriptive metadata template

It is possible to configure the required metadata prompted for by the dtool readme interactive command. The default template is the dtool_create/templates/README.yml.

One may want to create a custom YAML file specifying the required metadata that will be prompted for. This can be achieved by setting the DTOOL_README_TEMPLATE_FPATH environment variable, e.g.:

export DTOOL_README_TEMPLATE_FPATH=~/dtool_readme.yml

Alternatively, one can add the DTOOL_README_TEMPLATE_FPATH key to the ~/.config/dtool/dtool.json file. For example,

{
   "DTOOL_README_TEMPLATE_FPATH": "/Users/olssont/dtool_readme.yml"
}

If the ~/.config/dtool/dtool.json file does not exist one may need to create it.

Configuring the user’s full name and email for the descriptive metadata

When running the dtool interactive readme the default name and email address are Your Name and you@example.com. These defaults can be configured by setting the DTOOL_USER_FULL_NAME DTOOL_USER_EMAIL environment variables.

export DTOOL_USER_FULL_NAME="Care A. Bout-Data"
export DTOOL_USER_EMAIL=researcher@famous.uni.ac.uk

Alternatively, one can add the DTOOL_USER_FULL_NAME and DTOOL_USER_EMAIL keys to the ~/.config/dtool/dtool.json file. For example,

{
   "DTOOL_USER_FULL_NAME": "Care A. Bout-Data",
   "DTOOL_USER_EMAIL": "researcher@famous.uni.ac.uk"
}

If the ~/.config/dtool/dtool.json file does not exist one may need to create it.

Metadata

Release files for dtool-create 0.23.5

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

Source distribution (sdist)

Source distribution for dtool-create 0.23.5
File Size Uploaded Provenance Actions
dtool_create-0.23.5.tar.gz 15.3 kB With provenance Details for dtool_create-0.23.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dtool-create 0.23.5
File Interpreter ABI Platform Actions
dtool_create-0.23.5-py3-none-any.whl Python 3 none any Details for dtool_create-0.23.5-py3-none-any.whl

Total release size: 24.7 kB

Release files / dtool_create-0.23.5.tar.gz

Download URL dtool_create-0.23.5.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
9299dbbe8fca2bcac1ab1536104b01b561f48417121140e7cbe2e5a2305d9f4b
BLAKE2b-256 checksum
How to use checksums
038033df524f01857534e72f66bd987e8740a714743a1115fa8df5416bae453d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 24, 2026.

Transparency log

Release files / dtool_create-0.23.5-py3-none-any.whl

Download URL dtool_create-0.23.5-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbef3db174100cf31bec6dcf5659dcb5d7f88bb3ff86160443643559c9d27578
BLAKE2b-256 checksum
How to use checksums
fde9edbf58cc35861d45e0d9217b881e358dfae2ef9d1421adbc0a52d65df83c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 24, 2026.

Transparency log

Security for dtool-create 0.23.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for dtool_create-0.23.5.tar.gz

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 Nov 24, 2026.

Transparency log

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.

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