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.5.tar.gz (32.3 kB view details)

Uploaded Source

Built Distribution

morast-0.2.5-py3-none-any.whl (30.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: morast-0.2.5.tar.gz
  • Upload date:
  • Size: 32.3 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.5.tar.gz
Algorithm Hash digest
SHA256 9c94f6dd796c6a7ba4e865e9c214e9cabfd6daefa8cd3e462ea1b27013355af2
MD5 d63ee300a10c3dddce405262824d79b9
BLAKE2b-256 8e8050fd3db9baddc24886347a1bb302ba4b7cde7fb6581297445543410f1cf7

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: morast-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 30.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 129701ccfeab1a4c5f22063173a5f5cc39c2f3ef231d5f0fd1f24261629e6f57
MD5 1877f93ea37abcdbaf3cd6894a489dde
BLAKE2b-256 9cf5043bf9aa3ab203a842ecdae77bdfae2e61fdd7fa23dff4aefec604daa4be

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