parguments
A simple cli args parser for Python.
Useful for creating command-line scripts.
Example
"""
catsup v1.0
Usage:
catsup init [<path>]
catsup build
catsup deploy
catsup -h | --help
catsup --version
Options:
-h --help Show this screen and exit.
-s --settings=<file> path to config file. [default: config.json]
"""
from parguments import Parguments
parguments = Parguments(__doc__, version='1.0')
@parguments.command
def init(path):
"""
Usage:
catsup init [<path>]
Options:
-h --help Show this screen and exit.
-s --settings=<file> path to setting file. [default: config.json]
"""
pass
@parguments.command
def build(settings):
"""
Usage:
catsup build [-s <file>|--settings=<file>]
Options:
-h --help Show this screen and exit.
-s --settings=<file> path to setting file. [default: config.json]
"""
pass
@parguments.command
def deploy(settings):
"""
Usage:
catsup deploy [-s <file>|--settings=<file>]
Options:
-h --help Show this screen and exit.
-s --settings=<file> path to setting file. [default: config.json]
"""
pass
if __name__ == '__main__':
parguments.run()
Documents at http://parguments.rtfd.org/
Metadata
Release files for parguments 0.3.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 | Provenance | Actions |
|---|---|---|---|---|
| parguments-0.3.2.tar.gz | 5.0 kB | Without provenance | Details for parguments-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| parguments-0.3.2-py2.7.egg | Legacy Egg format | - | - | Details for parguments-0.3.2-py2.7.egg |
Total release size: 14.0 kB
Release files / parguments-0.3.2.tar.gz
| Download URL | parguments-0.3.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a58340fa8578aba50243e57399ec9efaf77f5e0c47c2c3435ec38d9cefec528f
|
|
BLAKE2b-256 checksum How to use checksums |
3118fc5de25e446e16088eed5ca9fc9953645ab8cf6e3e50f90f85c2a0bdd1b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / parguments-0.3.2-py2.7.egg
| Download URL | parguments-0.3.2-py2.7.egg |
|---|---|
| Size | 9.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
b8676bd877596233d82ae29359eb22a62bc6f06793cfe4d6c3b880ea73a02060
|
|
BLAKE2b-256 checksum How to use checksums |
3b9854faf9a63762973f25f5475aadcfdcf9c7e4b2462cff91bdd203eb0f41a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for parguments 0.3.2
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.