Skip to main content

Convert argparse based executable scripts to markdown documents.

Project description


GitHub issues GitHub forks GitHub stars GitHub LICENSE codecov

Convert argparse based executable scripts to markdown documents. It is based upon argdown but has a simpler interfaceand a cleaner code.


pip install argmark


Using argmark is very simple. For a sample python file

import argparse

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

Run argmark -f and it would generate:

    # Description

    Just a test
    # Usage:

    usage: [-h] -f FILES [FILES ...]

        # Arguments

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for argmark, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size argmark-0.1-py3.6.egg (6.5 kB) File type Egg Python version 3.6 Upload date Hashes View
Filename, size argmark-0.1-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size argmark-0.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page