Skip to main content

MOdule Reference by Analyzing the Syntax Tree

Project description

MOdule Reference by Analyzing the Syntax Tree

Create reference documentation from sources using AST

pip install morast

Installation in a virtual environment is strongly recommended.

Usage

Output of python3 -m morast --help:

usage: morast [-h] [--version] [-d | -v | -q] {auto,extract,init,config,module} ...

Create reference documentation from sources using AST

positional arguments:
  {auto,extract,init,config,module}
    auto                automatically detect and document all modules
    extract             extract override templates from modules
    init                initialize the MoRAST project
    config              show the configuration
    module              document a single module

options:
  -h, --help            show this help message and exit
  --version             print version and exit

Logging options:
  control log level (default is WARNING)

  -d, --debug           output all messages (log level DEBUG)
  -v, --verbose         be more verbose (log level INFO)
  -q, --quiet           be more quiet (log level ERROR)

Further reading

Please see the documentation at https://blackstream-x.gitlab.io/morast for detailed usage information.

If you found a bug or have a feature suggestion, please open an issue here

Project details


Download files

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

Source Distribution

morast-0.2.6.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

morast-0.2.6-py3-none-any.whl (31.4 kB view details)

Uploaded Python 3

File details

Details for the file morast-0.2.6.tar.gz.

File metadata

  • Download URL: morast-0.2.6.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for morast-0.2.6.tar.gz
Algorithm Hash digest
SHA256 453dad808a6b07cb44c757926b85056112cc28fe5e54613a51f0498ea1a77f63
MD5 5b5c742bf50d0320c1ea86fadb7bf3a0
BLAKE2b-256 b420c8d6c3178f21acb80345ad0de9d508a0056df30495788c743884c972cddd

See more details on using hashes here.

Provenance

File details

Details for the file morast-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: morast-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 31.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for morast-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7077b5d301ec062a0eb77c09bbe496222251850ac530b2e03edca49c8194b69a
MD5 e4bb1a9cfff4b4a2add47229afb25d10
BLAKE2b-256 1cd5c21284312fc29e41533137876c51c042e1911e19ab446752e31398180b02

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page