skele-cli
A skeleton command line program in Python.
Purpose
This is a skeleton application which demonstrates how to properly structure a Python CLI application.
I’ve done my best to structure this in a way that makes sense for most users, but if you have any feedback, please open a Github issue and I’ll take a look.
The idea with this project is that you should be able to use this as a template for building new CLI apps.
You can fork this project and customize it to your liking, or just use it as a reference.
Usage
If you’ve cloned this project, and want to install the library (and all development dependencies), the command you’ll want to run is:
$ pip install -e .[test]
If you’d like to run all tests for this project (assuming you’ve written some), you would run the following command:
$ python setup.py test
This will trigger py.test, along with its popular coverage plugin.
Lastly, if you’d like to cut a new release of this CLI tool, and publish it to the Python Package Index (PyPI), you can do so by running:
$ python setup.py sdist bdist_wheel $ twine upload dist/*
This will build both a source tarball of your CLI tool, as well as a newer wheel build (and this will, by default, run on all platforms).
The twine upload command (which requires you to install the twine tool) will then securely upload your new package to PyPI so everyone in the world can use it!
Metadata
Release files for skele-test 1.0.0
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 |
|---|---|---|---|---|
| skele-test-1.0.0.tar.gz | 4.6 kB | Without provenance | Details for skele-test-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skele_test-1.0.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for skele_test-1.0.0-py2.py3-none-any.whl |
Total release size: 10.4 kB
Release files / skele-test-1.0.0.tar.gz
| Download URL | skele-test-1.0.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e13d319d8fe4629d87307f0397176a613500aa0c0eecbb56a22f78982e1beca6
|
|
BLAKE2b-256 checksum How to use checksums |
872cc26dab45b6c7a078d3fc8880d824e2c14c572a3731e2b174655efbe7a77e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / skele_test-1.0.0-py2.py3-none-any.whl
| Download URL | skele_test-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
fa2be5f61a21fd646603c20add7a4796bd58f7e598444b8b50a8d28a8fe8d3a2
|
|
BLAKE2b-256 checksum How to use checksums |
175355cd268af9d64eee3dbf02ab41c285e336225e7e57aead28f841b0958d22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for skele-test 1.0.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.