README
Data management command line tool: dtool.
Overview
The dtool-cli python package provides a skeleton command line interface to dtool that other “dtool” command line packages can be plugged into.
It makes use of click and click-plugins.
Creating a plugin
The dtool-cli plug-in system exposes name space dtool.cli for registering commands.
To create a dtool-cli plug-in, create a Python package and register the function of interest in the setup.py file. Below is the content of a hypothetical dtool_create/__init__.py file:
import click
@click.command()
def create():
print("Creating dataset...")
@click.command()
def freeze():
print("Freezing dataset...")
To create an entry point for this function add the below in the setup.py:
from setuptools import setup
setup(
...
entry_points={
"dtool.cli": [
"create=dtool_create:create",
"freeze=dtool_create:freeze",
],
},
...
)
Installation
To install the dtool-cli package.
cd dtool-cli
python setup.py install
Metadata
Release files for dtool-cli 0.7.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dtool-cli-0.7.1.tar.gz | 4.1 kB | Without provenance | Details for dtool-cli-0.7.1.tar.gz |
Release files / dtool-cli-0.7.1.tar.gz
| Download URL | dtool-cli-0.7.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2664750dd76ece7d41e8aa7288cda66aef2f04eb4d39dcd13484fc1a193d3385
|
|
BLAKE2b-256 checksum How to use checksums |
0ddd3d28c3a86a43ea253df0e3afaa1a4dd16c6f249cdd101ca7787f6d99cfe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0.post20210125 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Security for dtool-cli 0.7.1
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.