Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Commandline Magic

This module will present simplest mechanism for working with command line options and arguments.

Example of the usage bellow:

import cm
from cm.options.path import base
from cm.options.db import port, name


port.type = int
port.default = 10
port.help = "Lolwat"
base.help = "Base path"

if __name__ == '__main__':
    cm.parse_command_line()

and try to run it $ python test.py --help

List of available program options:
Group "db"
    --db-port       Lolwat [default: "10"]
    --db-name


Group "path"
    --path-base     Base path

Metadata

Release files for cm 0.1a2

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

Source distribution (sdist)

Source distribution for cm 0.1a2
File Size Uploaded Provenance Actions
cm-0.1a2.tar.gz 5.8 kB Without provenance Details for cm-0.1a2.tar.gz

Release files / cm-0.1a2.tar.gz

Download URL cm-0.1a2.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c5c92a16a9c0b0b9bfdd2586c9208d218fd1657cc14b579eff3e348409ed831b
BLAKE2b-256 checksum
How to use checksums
3ca5bfbe988a20259a16cd85c78980054d327bb84278b0652e21707f18f5d4e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for cm 0.1a2

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.

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