Skip to main content
Pre-release

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

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
cm-0.1a2.tar.gz 5.8 kB Details

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

Release history Release notifications | RSS feed

This release

0.1a2 This release

1 release file

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