Skip to main content

argmark

GitHub issues GitHub forks GitHub stars GitHub LICENSE PyPI - Python Version PyPI Code style: black

FOSSA Status

codecov

Convert argparse based executable scripts to markdown documents. It is based on argdown but has a simpler interface and a cleaner code.

Installation

pip install argmark

Usage

Using argmark is very simple. For a sample python file sample_argparse.py:

import argparse

parser = argparse.ArgumentParser(
    prog="sample_argparse.py",
    description="Just a test",
    formatter_class=argparse.ArgumentDefaultsHelpFormatter,
)
parser.add_argument(
    "-f", "--files", help="Files to read.", required=True, nargs="+",
)
values = parser.parse_args()

Run argmark -f sample_argparse.py and it would generate:

    sample_argparse.py
    ==================

    # Description


    Just a test
    # Usage:


    ```bash
    usage: sample_argparse.py [-h] -f FILES [FILES ...]

    ```
        # Arguments

    |short|long|default|help|
    | :---: | :---: | :---: | :---: |
    |`-h`|`--help`||show this help message and exit|
    |`-f`|`--files`|`None`|Files to read.|

License

FOSSA Status

Metadata

Release files for argmark 0.3

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

Source distribution (sdist)

Source distribution for argmark 0.3
File Size Uploaded Provenance Actions
argmark-0.3.tar.gz 4.0 kB Without provenance Details for argmark-0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for argmark 0.3
File Interpreter ABI Platform Actions
argmark-0.3-py3-none-any.whl Python 3 none any Details for argmark-0.3-py3-none-any.whl

Total release size: 9.1 kB

Release files / argmark-0.3.tar.gz

Download URL argmark-0.3.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4f7f32914c856a014feabcb713d64bf49cb7a5af6e086c33846ba2ce74ca525f
BLAKE2b-256 checksum
How to use checksums
2df726402adb70c56f8c4035d927a4030f33d728c655b7cd0543f6362dd28565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Release files / argmark-0.3-py3-none-any.whl

Download URL argmark-0.3-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a86b77ba86a675f1f200094af9921d8e7c6c4916675711f7d9e65bf0bd694b5
BLAKE2b-256 checksum
How to use checksums
85603dc23aaf7685fcd60962e2598c3bf44384ecfb1c6da11f445b4c9b9d321e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

Security for argmark 0.3

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.

Release history Release notifications | RSS feed

This release

0.3 This release

2 release files No provenance

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