Skip to main content
Pre-release

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

The argdirective project

Argdirective is a simple module which takes the first argument passed to your python script as subcommand and tries to find a directive module based on the basename of the script.

Example: script.py subcommand --arg1 --arg2

Consider the following module:

site-packages
│   ...
│
└───configmount
│   │   mount

as well as the following executable script /bin/configmount

#!/bin/python

import argdirective

if __name__ == "__main__":
	argdirective.generator.run()

If you run configmount mount --root /etc /mnt/configmount in your terminal argdirective will lookup the configmount package and redirect the arguments to the module mount. See the configmount project for more details.

Metadata

Release files for argdirective 0.0.13rc1

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

Source distribution (sdist)

Source distribution for argdirective 0.0.13rc1
File Size Uploaded Provenance Actions
argdirective-0.0.13rc1.tar.gz 3.1 kB Without provenance Details for argdirective-0.0.13rc1.tar.gz

Release files / argdirective-0.0.13rc1.tar.gz

Download URL argdirective-0.0.13rc1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
84e27edc3582230c564054c684cc51087b4aa6946f04d180380c5324e5994554
BLAKE2b-256 checksum
How to use checksums
b3374aaf387d6b7ec998b55599d9c0168a4d84ee9555b7c3b5bb898cb8c5d452
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.2

Security for argdirective 0.0.13rc1

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