lazydocs2


Namelazydocs2 JSON
Version 0.1.2 PyPI version JSON
download
home_page
SummaryA fork of lazydocs for additional features
upload_time2023-06-29 20:38:01
maintainer
docs_urlNone
authorkhalidelborai
requires_python>=3.7,<4.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <!-- markdownlint-disable MD033 MD041 -->
<h1 align="center">
    lazydocs
</h1>

<p align="center">
    <strong>Generate markdown API documentation for Google-style Python docstring.</strong>
</p>

<p align="center">
    <a href="https://pypi.org/project/lazydocs/" title="PyPi Version"><img src="https://img.shields.io/pypi/v/lazydocs?color=green&style=flat"></a>
    <a href="https://pypi.org/project/lazydocs/" title="Python Version"><img src="https://img.shields.io/badge/Python-3.6%2B-blue&style=flat"></a>
    <a href="https://www.codacy.com/gh/ml-tooling/lazydocs/dashboard" title="Codacy Analysis"><img src="https://app.codacy.com/project/badge/Grade/1c8ad486ce9547b6b713cce7ca1d1ec3"></a>
    <a href="https://github.com/ml-tooling/lazydocs/actions?query=workflow%3Abuild-pipeline" title="Build status"><img src="https://img.shields.io/github/workflow/status/ml-tooling/lazydocs/build-pipeline?style=flat"></a>
    <a href="https://github.com/ml-tooling/lazydocs/blob/main/LICENSE" title="Project License"><img src="https://img.shields.io/badge/License-MIT-green.svg?style=flat"></a>
    <a href="https://gitter.im/ml-tooling/lazydocs" title="Chat on Gitter"><img src="https://badges.gitter.im/ml-tooling/lazydocs.svg"></a>
    <a href="https://twitter.com/mltooling" title="ML Tooling on Twitter"><img src="https://img.shields.io/twitter/follow/mltooling.svg?label=follow&style=social"></a>
</p>

<p align="center">
  <a href="#getting-started">Getting Started</a> •
  <a href="#features">Features</a> •
  <a href="#documentation">Documentation</a> •
  <a href="#support--feedback">Support</a> •
  <a href="#contribution">Contribution</a> •
  <a href="https://github.com/ml-tooling/lazydocs/releases">Changelog</a>
</p>

Lazydocs makes it easy to generate beautiful markdown documentation for your Python API (see this [example](./docs)). It provides a [simple command-line interface](#cli-interface) as well as a [Python API](#programmatic-api) to get full-fledged API documentation within seconds based on all of the [Google-style docstrings](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) in your code. This markdown documentation can be pushed to Github or integrated into your MkDocs site.

## Highlights

- ⏱&nbsp; Simple CLI to generate markdown docs in seconds.
- 📋&nbsp; Supports [Google-style Python Docstrings](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html).
- 📚&nbsp; Compatible with Github Markdown and MkDocs.

## Getting Started

### Installation

> _Requirements: Python 3.6+._

```bash
pip install lazydocs
```

### Usage

To generate Markdown-based API documentation for your Python project, simply execute:

```bash
lazydocs path/to/your/package
```

The path can be either a python package (folder) or a specific script. You can also specify one or multiple module-, class- or function-imports:

```bash
lazydocs my_package.AwesomeClass
```

With the default configuration, the Markdown documentation will be generated inside the `./docs` folder in your working directory. You can find additional configuration options in the [documentation section](#cli-interface).

## Support & Feedback

This project is maintained by [Benjamin Räthlein](https://twitter.com/raethlein), [Lukas Masuch](https://twitter.com/LukasMasuch), and [Jan Kalkan](https://www.linkedin.com/in/jan-kalkan-b5390284/). Please understand that we won't be able to provide individual support via email. We also believe that help is much more valuable if it's shared publicly so that more people can benefit from it.

| Type                     | Channel                                              |
| ------------------------ | ------------------------------------------------------ |
| 🚨&nbsp; **Bug Reports**       | <a href="https://github.com/ml-tooling/lazydocs/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3Abug+sort%3Areactions-%2B1-desc+" title="Open Bug Report"><img src="https://img.shields.io/github/issues/ml-tooling/lazydocs/bug.svg?label=bug"></a>                                 |
| 🎁&nbsp; **Feature Requests**  | <a href="https://github.com/ml-tooling/lazydocs/issues?q=is%3Aopen+is%3Aissue+label%3Afeature+sort%3Areactions-%2B1-desc" title="Open Feature Request"><img src="https://img.shields.io/github/issues/ml-tooling/lazydocs/feature.svg?label=feature%20request"></a>                                 |
| 👩‍💻&nbsp; **Usage Questions**   |   <a href="https://stackoverflow.com/questions/tagged/ml-tooling" title="Open Question on Stackoverflow"><img src="https://img.shields.io/badge/stackoverflow-ml--tooling-orange.svg"></a> <a href="https://gitter.im/ml-tooling/lazydocs" title="Chat on Gitter"><img src="https://badges.gitter.im/ml-tooling/lazydocs.svg"></a> |
| 🗯&nbsp; **General Discussion** | <a href="https://gitter.im/ml-tooling/lazydocs" title="Chat on Gitter"><img src="https://badges.gitter.im/ml-tooling/lazydocs.svg"></a> <a href="https://twitter.com/mltooling" title="ML Tooling on Twitter"><img src="https://img.shields.io/twitter/follow/mltooling.svg?style=social"></a>|
| ❓&nbsp; **Other Requests** | <a href="mailto:team@mltooling.org" title="Email ML Tooling Team"><img src="https://img.shields.io/badge/email-ML Tooling-green?logo=mail.ru&logoColor=white"></a> |

## Features

<p align="center">
  <a href="#source-code-linking">Source Code Linking</a> •
  <a href="#api-overview">API Overview</a> •
  <a href="#mkdocs-integration">MKDocs Integration</a> •
  <a href="#docstyle-validation">Docstyle Validation</a> •
  <a href="#print-to-console">Print to Console</a>
</p>

### Source Code Linking

<img style="width: 100%" src="https://raw.githubusercontent.com/ml-tooling/lazydocs/main/docs/images/source-linking.png"/>

Lazydocs is capable to insert a badge on the right side of every module, class, method or function with a link the correct source-code file and line number. The default configuration will create relative paths to navigate within the Github Repo. This is useful if the documentation is hosted within the same repository as the source-code. If, the documentation is hosted outside of the Github repository, it is recommended to set the `src-base-url`:

```bash
lazydocs --src-base-url="https://github.com/example/my-project/blob/main/" my_package
```

The `src-base-url` is used as a prefix for all source-code linkings in the documentation.

### API Overview

<img style="width: 100%" src="https://raw.githubusercontent.com/ml-tooling/lazydocs/main/docs/images/api-overview.png"/>

An API overview might be very useful in case your project has a large number modules, classes and functions. You can specify an `overview-file` with the lazydocs command to activate the generation of an API overview:

```bash
lazydocs --overview-file="README.md" my_package
```

The API overview will be written as markdown to the specified file with separated lists for all modules, classes, and functions of your project:

### MkDocs Integration

<img style="width: 100%" src="https://github.com/ml-tooling/lazydocs/blob/main/docs/images/mkdocs-integration.png?raw=true"/>

The markdown documentation generated by lazydocs can be easily integrated into your [mkdocs](https://www.mkdocs.org/) documentation site:

1. Generate the markdown documentation into a subfolder (e.g. `api-docs`) inside your mkdocs documentation. We recommend to use the `overview-file` option and set the source-code URL via `src-base-url`, otherwise the source-code linking would not work:

```bash
lazydocs \
    --output-path="./docs/api-docs" \
    --overview-file="README.md" \
    --src-base-url="https://github.com/example/my-project/blob/main/" \
    my_package
```

2. Install and apply the [awesome-pages mkdocs plugin](https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin). This enables mkdocs to automatically discover and include all markdown files. The alternative would be to manually include all generated markdown files in the navigation section of the `mkdocs.yaml`. In order to use the awesome-pages plugin you need to 1) install the plugin via pip 2) Include it in the plugin section `mkdocs.yaml` and remove the navigation section (needs to be handled with `.pages` files).

3. If you used the `overview-file` option, a `.pages` file will be automatically created. You can also manually create the `.pages` file within the api-docs subfolder (e.g. `api-docs`) with the following content:

    ```yaml
    title: API Reference
    nav:
       - Overview: README.md
       - ...
    ```

Once you run or deploy your mkdocs documentation, you will see the API Reference section with all of your API markdown documentation.

### Docstyle Validation

Lazydocs can only parse valid Google-style docstring. To prevent the generation of invalid markdown documentation, you can use the `validate` flag:

```bash
lazydocs --validate my_package
```

This will run [pydocstyle](https://github.com/PyCQA/pydocstyle) on your docstring and cancel the generation if an issue is found.

### Print to Console

To get the markdown documentation as console output instead of the file generation, specify `stdout` as the `output-path`:

```bash
lazydocs --output-path=stdout my_package
```

## Documentation

### CLI Interface

<!-- generated via typer-cli: typer src/lazydocs/_cli.py utils docs -->

```bash
lazydocs [OPTIONS] PATHS...
```

**Arguments**:

* `PATHS...`: Selected paths or imports for markdown generation.  [required]

**Options**:

* `--output-path TEXT`: The output path for the creation of the markdown files. Set this to `stdout` to print all markdown to stdout.  [default: ./docs/]
* `--src-base-url TEXT`: The base repo link used as prefix for all source links. Should also include the branch name.
* `--overview-file TEXT`: Filename of overview file. If not provided, no API overview file will be generated.
* `--remove-package-prefix / --no-remove-package-prefix`: If `True`, the package prefix will be removed from all functions and methods.  [default: True]
* `--ignored-modules TEXT`: A list of modules that should be ignored.  [default: ]
* `--watermark / --no-watermark`: If `True`, add a watermark with a timestamp to bottom of the markdown files.  [default: True]
* `--validate / --no-validate`: If `True`, validate the docstrings via pydocstyle. Requires pydocstyle to be installed.  [default: False]
* `--install-completion`: Install completion for the current shell.
* `--show-completion`: Show completion for the current shell, to copy it or customize the installation.
* `--help`: Show this message and exit.

### Programmatic API

Lazydocs can also be used and integrated via its [Python API](https://github.com/ml-tooling/lazydocs/tree/main/docs). For example, to generate markdown for an arbitrary Python import or object:

```python
from lazydocs import MarkdownGenerator

generator = MarkdownGenerator()

# Select a module (e.g. my_module) to generate markdown documentation
markdown_docs = generator.import2md(my_module)
```

To programmatically generate all markdown documentation files you can use [`generate_docs`](https://github.com/ml-tooling/lazydocs/blob/main/docs/lazydocs.generator.md#function-generate_docs):

```python
from lazydocs import generate_docs

# The parameters of this function correspond to the CLI options
generate_docs(["my_module"], output_path="./docs")
```

The full Python API documentation can be found [here](https://github.com/ml-tooling/lazydocs/tree/main/docs) _(generated via lazydocs)_.

## Contribution

- Pull requests are encouraged and always welcome. Read our [contribution guidelines](https://github.com/ml-tooling/lazydocs/tree/main/CONTRIBUTING.md) and check out [help-wanted](https://github.com/ml-tooling/lazydocs/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3A"help+wanted"+sort%3Areactions-%2B1-desc+) issues.
- Submit Github issues for any [feature request and enhancement](https://github.com/ml-tooling/lazydocs/issues/new?assignees=&labels=feature&template=02_feature-request.md&title=), [bugs](https://github.com/ml-tooling/lazydocs/issues/new?assignees=&labels=bug&template=01_bug-report.md&title=), or [documentation](https://github.com/ml-tooling/lazydocs/issues/new?assignees=&labels=documentation&template=03_documentation.md&title=) problems.
- By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/ml-tooling/lazydocs/blob/main/.github/CODE_OF_CONDUCT.md).
- The [development section](#development) below contains information on how to build and test the project after you have implemented some changes.

## Development

> _**Requirements**: [Docker](https://docs.docker.com/get-docker/) and [Act](https://github.com/nektos/act#installation) are required to be installed on your machine to execute the build process._

To simplify the process of building this project from scratch, we provide build-scripts - based on [universal-build](https://github.com/ml-tooling/universal-build) - that run all necessary steps (build, check, test, and release) within a containerized environment. To build and test your changes, execute the following command in the project root folder:

```bash
act -b -j build
```

Refer to our [contribution guides](https://github.com/ml-tooling/lazydocs/blob/main/CONTRIBUTING.md#development-instructions) for more detailed information on our build scripts and development process.

---

Licensed **MIT**. Created and maintained with ❤️&nbsp; by developers from Berlin.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "lazydocs2",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "khalidelborai",
    "author_email": "elboraikhalid@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/a3/1f/d9ec0129d86ba31fd9ab74ad7faab742fce51e1995e5357200147dc072a2/lazydocs2-0.1.2.tar.gz",
    "platform": null,
    "description": "<!-- markdownlint-disable MD033 MD041 -->\n<h1 align=\"center\">\n    lazydocs\n</h1>\n\n<p align=\"center\">\n    <strong>Generate markdown API documentation for Google-style Python docstring.</strong>\n</p>\n\n<p align=\"center\">\n    <a href=\"https://pypi.org/project/lazydocs/\" title=\"PyPi Version\"><img src=\"https://img.shields.io/pypi/v/lazydocs?color=green&style=flat\"></a>\n    <a href=\"https://pypi.org/project/lazydocs/\" title=\"Python Version\"><img src=\"https://img.shields.io/badge/Python-3.6%2B-blue&style=flat\"></a>\n    <a href=\"https://www.codacy.com/gh/ml-tooling/lazydocs/dashboard\" title=\"Codacy Analysis\"><img src=\"https://app.codacy.com/project/badge/Grade/1c8ad486ce9547b6b713cce7ca1d1ec3\"></a>\n    <a href=\"https://github.com/ml-tooling/lazydocs/actions?query=workflow%3Abuild-pipeline\" title=\"Build status\"><img src=\"https://img.shields.io/github/workflow/status/ml-tooling/lazydocs/build-pipeline?style=flat\"></a>\n    <a href=\"https://github.com/ml-tooling/lazydocs/blob/main/LICENSE\" title=\"Project License\"><img src=\"https://img.shields.io/badge/License-MIT-green.svg?style=flat\"></a>\n    <a href=\"https://gitter.im/ml-tooling/lazydocs\" title=\"Chat on Gitter\"><img src=\"https://badges.gitter.im/ml-tooling/lazydocs.svg\"></a>\n    <a href=\"https://twitter.com/mltooling\" title=\"ML Tooling on Twitter\"><img src=\"https://img.shields.io/twitter/follow/mltooling.svg?label=follow&style=social\"></a>\n</p>\n\n<p align=\"center\">\n  <a href=\"#getting-started\">Getting Started</a> \u2022\n  <a href=\"#features\">Features</a> \u2022\n  <a href=\"#documentation\">Documentation</a> \u2022\n  <a href=\"#support--feedback\">Support</a> \u2022\n  <a href=\"#contribution\">Contribution</a> \u2022\n  <a href=\"https://github.com/ml-tooling/lazydocs/releases\">Changelog</a>\n</p>\n\nLazydocs makes it easy to generate beautiful markdown documentation for your Python API (see this [example](./docs)). It provides a [simple command-line interface](#cli-interface) as well as a [Python API](#programmatic-api) to get full-fledged API documentation within seconds based on all of the [Google-style docstrings](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html) in your code. This markdown documentation can be pushed to Github or integrated into your MkDocs site.\n\n## Highlights\n\n- \u23f1&nbsp; Simple CLI to generate markdown docs in seconds.\n- \ud83d\udccb&nbsp; Supports [Google-style Python Docstrings](https://sphinxcontrib-napoleon.readthedocs.io/en/latest/example_google.html).\n- \ud83d\udcda&nbsp; Compatible with Github Markdown and MkDocs.\n\n## Getting Started\n\n### Installation\n\n> _Requirements: Python 3.6+._\n\n```bash\npip install lazydocs\n```\n\n### Usage\n\nTo generate Markdown-based API documentation for your Python project, simply execute:\n\n```bash\nlazydocs path/to/your/package\n```\n\nThe path can be either a python package (folder) or a specific script. You can also specify one or multiple module-, class- or function-imports:\n\n```bash\nlazydocs my_package.AwesomeClass\n```\n\nWith the default configuration, the Markdown documentation will be generated inside the `./docs` folder in your working directory. You can find additional configuration options in the [documentation section](#cli-interface).\n\n## Support & Feedback\n\nThis project is maintained by [Benjamin R\u00e4thlein](https://twitter.com/raethlein), [Lukas Masuch](https://twitter.com/LukasMasuch), and [Jan Kalkan](https://www.linkedin.com/in/jan-kalkan-b5390284/). Please understand that we won't be able to provide individual support via email. We also believe that help is much more valuable if it's shared publicly so that more people can benefit from it.\n\n| Type                     | Channel                                              |\n| ------------------------ | ------------------------------------------------------ |\n| \ud83d\udea8&nbsp; **Bug Reports**       | <a href=\"https://github.com/ml-tooling/lazydocs/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3Abug+sort%3Areactions-%2B1-desc+\" title=\"Open Bug Report\"><img src=\"https://img.shields.io/github/issues/ml-tooling/lazydocs/bug.svg?label=bug\"></a>                                 |\n| \ud83c\udf81&nbsp; **Feature Requests**  | <a href=\"https://github.com/ml-tooling/lazydocs/issues?q=is%3Aopen+is%3Aissue+label%3Afeature+sort%3Areactions-%2B1-desc\" title=\"Open Feature Request\"><img src=\"https://img.shields.io/github/issues/ml-tooling/lazydocs/feature.svg?label=feature%20request\"></a>                                 |\n| \ud83d\udc69\u200d\ud83d\udcbb&nbsp; **Usage Questions**   |   <a href=\"https://stackoverflow.com/questions/tagged/ml-tooling\" title=\"Open Question on Stackoverflow\"><img src=\"https://img.shields.io/badge/stackoverflow-ml--tooling-orange.svg\"></a> <a href=\"https://gitter.im/ml-tooling/lazydocs\" title=\"Chat on Gitter\"><img src=\"https://badges.gitter.im/ml-tooling/lazydocs.svg\"></a> |\n| \ud83d\uddef&nbsp; **General Discussion** | <a href=\"https://gitter.im/ml-tooling/lazydocs\" title=\"Chat on Gitter\"><img src=\"https://badges.gitter.im/ml-tooling/lazydocs.svg\"></a> <a href=\"https://twitter.com/mltooling\" title=\"ML Tooling on Twitter\"><img src=\"https://img.shields.io/twitter/follow/mltooling.svg?style=social\"></a>|\n| \u2753&nbsp; **Other Requests** | <a href=\"mailto:team@mltooling.org\" title=\"Email ML Tooling Team\"><img src=\"https://img.shields.io/badge/email-ML Tooling-green?logo=mail.ru&logoColor=white\"></a> |\n\n## Features\n\n<p align=\"center\">\n  <a href=\"#source-code-linking\">Source Code Linking</a> \u2022\n  <a href=\"#api-overview\">API Overview</a> \u2022\n  <a href=\"#mkdocs-integration\">MKDocs Integration</a> \u2022\n  <a href=\"#docstyle-validation\">Docstyle Validation</a> \u2022\n  <a href=\"#print-to-console\">Print to Console</a>\n</p>\n\n### Source Code Linking\n\n<img style=\"width: 100%\" src=\"https://raw.githubusercontent.com/ml-tooling/lazydocs/main/docs/images/source-linking.png\"/>\n\nLazydocs is capable to insert a badge on the right side of every module, class, method or function with a link the correct source-code file and line number. The default configuration will create relative paths to navigate within the Github Repo. This is useful if the documentation is hosted within the same repository as the source-code. If, the documentation is hosted outside of the Github repository, it is recommended to set the `src-base-url`:\n\n```bash\nlazydocs --src-base-url=\"https://github.com/example/my-project/blob/main/\" my_package\n```\n\nThe `src-base-url` is used as a prefix for all source-code linkings in the documentation.\n\n### API Overview\n\n<img style=\"width: 100%\" src=\"https://raw.githubusercontent.com/ml-tooling/lazydocs/main/docs/images/api-overview.png\"/>\n\nAn API overview might be very useful in case your project has a large number modules, classes and functions. You can specify an `overview-file` with the lazydocs command to activate the generation of an API overview:\n\n```bash\nlazydocs --overview-file=\"README.md\" my_package\n```\n\nThe API overview will be written as markdown to the specified file with separated lists for all modules, classes, and functions of your project:\n\n### MkDocs Integration\n\n<img style=\"width: 100%\" src=\"https://github.com/ml-tooling/lazydocs/blob/main/docs/images/mkdocs-integration.png?raw=true\"/>\n\nThe markdown documentation generated by lazydocs can be easily integrated into your [mkdocs](https://www.mkdocs.org/) documentation site:\n\n1. Generate the markdown documentation into a subfolder (e.g. `api-docs`) inside your mkdocs documentation. We recommend to use the `overview-file` option and set the source-code URL via `src-base-url`, otherwise the source-code linking would not work:\n\n```bash\nlazydocs \\\n    --output-path=\"./docs/api-docs\" \\\n    --overview-file=\"README.md\" \\\n    --src-base-url=\"https://github.com/example/my-project/blob/main/\" \\\n    my_package\n```\n\n2. Install and apply the [awesome-pages mkdocs plugin](https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin). This enables mkdocs to automatically discover and include all markdown files. The alternative would be to manually include all generated markdown files in the navigation section of the `mkdocs.yaml`. In order to use the awesome-pages plugin you need to 1) install the plugin via pip 2) Include it in the plugin section `mkdocs.yaml` and remove the navigation section (needs to be handled with `.pages` files).\n\n3. If you used the `overview-file` option, a `.pages` file will be automatically created. You can also manually create the `.pages` file within the api-docs subfolder (e.g. `api-docs`) with the following content:\n\n    ```yaml\n    title: API Reference\n    nav:\n       - Overview: README.md\n       - ...\n    ```\n\nOnce you run or deploy your mkdocs documentation, you will see the API Reference section with all of your API markdown documentation.\n\n### Docstyle Validation\n\nLazydocs can only parse valid Google-style docstring. To prevent the generation of invalid markdown documentation, you can use the `validate` flag:\n\n```bash\nlazydocs --validate my_package\n```\n\nThis will run [pydocstyle](https://github.com/PyCQA/pydocstyle) on your docstring and cancel the generation if an issue is found.\n\n### Print to Console\n\nTo get the markdown documentation as console output instead of the file generation, specify `stdout` as the `output-path`:\n\n```bash\nlazydocs --output-path=stdout my_package\n```\n\n## Documentation\n\n### CLI Interface\n\n<!-- generated via typer-cli: typer src/lazydocs/_cli.py utils docs -->\n\n```bash\nlazydocs [OPTIONS] PATHS...\n```\n\n**Arguments**:\n\n* `PATHS...`: Selected paths or imports for markdown generation.  [required]\n\n**Options**:\n\n* `--output-path TEXT`: The output path for the creation of the markdown files. Set this to `stdout` to print all markdown to stdout.  [default: ./docs/]\n* `--src-base-url TEXT`: The base repo link used as prefix for all source links. Should also include the branch name.\n* `--overview-file TEXT`: Filename of overview file. If not provided, no API overview file will be generated.\n* `--remove-package-prefix / --no-remove-package-prefix`: If `True`, the package prefix will be removed from all functions and methods.  [default: True]\n* `--ignored-modules TEXT`: A list of modules that should be ignored.  [default: ]\n* `--watermark / --no-watermark`: If `True`, add a watermark with a timestamp to bottom of the markdown files.  [default: True]\n* `--validate / --no-validate`: If `True`, validate the docstrings via pydocstyle. Requires pydocstyle to be installed.  [default: False]\n* `--install-completion`: Install completion for the current shell.\n* `--show-completion`: Show completion for the current shell, to copy it or customize the installation.\n* `--help`: Show this message and exit.\n\n### Programmatic API\n\nLazydocs can also be used and integrated via its [Python API](https://github.com/ml-tooling/lazydocs/tree/main/docs). For example, to generate markdown for an arbitrary Python import or object:\n\n```python\nfrom lazydocs import MarkdownGenerator\n\ngenerator = MarkdownGenerator()\n\n# Select a module (e.g. my_module) to generate markdown documentation\nmarkdown_docs = generator.import2md(my_module)\n```\n\nTo programmatically generate all markdown documentation files you can use [`generate_docs`](https://github.com/ml-tooling/lazydocs/blob/main/docs/lazydocs.generator.md#function-generate_docs):\n\n```python\nfrom lazydocs import generate_docs\n\n# The parameters of this function correspond to the CLI options\ngenerate_docs([\"my_module\"], output_path=\"./docs\")\n```\n\nThe full Python API documentation can be found [here](https://github.com/ml-tooling/lazydocs/tree/main/docs) _(generated via lazydocs)_.\n\n## Contribution\n\n- Pull requests are encouraged and always welcome. Read our [contribution guidelines](https://github.com/ml-tooling/lazydocs/tree/main/CONTRIBUTING.md) and check out [help-wanted](https://github.com/ml-tooling/lazydocs/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3A\"help+wanted\"+sort%3Areactions-%2B1-desc+) issues.\n- Submit Github issues for any [feature request and enhancement](https://github.com/ml-tooling/lazydocs/issues/new?assignees=&labels=feature&template=02_feature-request.md&title=), [bugs](https://github.com/ml-tooling/lazydocs/issues/new?assignees=&labels=bug&template=01_bug-report.md&title=), or [documentation](https://github.com/ml-tooling/lazydocs/issues/new?assignees=&labels=documentation&template=03_documentation.md&title=) problems.\n- By participating in this project, you agree to abide by its [Code of Conduct](https://github.com/ml-tooling/lazydocs/blob/main/.github/CODE_OF_CONDUCT.md).\n- The [development section](#development) below contains information on how to build and test the project after you have implemented some changes.\n\n## Development\n\n> _**Requirements**: [Docker](https://docs.docker.com/get-docker/) and [Act](https://github.com/nektos/act#installation) are required to be installed on your machine to execute the build process._\n\nTo simplify the process of building this project from scratch, we provide build-scripts - based on [universal-build](https://github.com/ml-tooling/universal-build) - that run all necessary steps (build, check, test, and release) within a containerized environment. To build and test your changes, execute the following command in the project root folder:\n\n```bash\nact -b -j build\n```\n\nRefer to our [contribution guides](https://github.com/ml-tooling/lazydocs/blob/main/CONTRIBUTING.md#development-instructions) for more detailed information on our build scripts and development process.\n\n---\n\nLicensed **MIT**. Created and maintained with \u2764\ufe0f&nbsp; by developers from Berlin.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A fork of lazydocs for additional features",
    "version": "0.1.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "61aea1e1643ed2d505906f7de76b313fe18d1b0072c2d62fec56d125e9925ecd",
                "md5": "942ed4ebca139760ac1c7dde8b1b4521",
                "sha256": "d7d240d5d64925303b7889a1a358795bcba74ccf92b7759bef300ff9111cebf2"
            },
            "downloads": -1,
            "filename": "lazydocs2-0.1.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "942ed4ebca139760ac1c7dde8b1b4521",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7,<4.0",
            "size": 17382,
            "upload_time": "2023-06-29T20:38:00",
            "upload_time_iso_8601": "2023-06-29T20:38:00.239936Z",
            "url": "https://files.pythonhosted.org/packages/61/ae/a1e1643ed2d505906f7de76b313fe18d1b0072c2d62fec56d125e9925ecd/lazydocs2-0.1.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a31fd9ec0129d86ba31fd9ab74ad7faab742fce51e1995e5357200147dc072a2",
                "md5": "7916ac951d01728be3066c44a46471c8",
                "sha256": "8d3c73063074b008d8e2be63e7aa368ca26f615a6cba736310df64bcc9ce71e0"
            },
            "downloads": -1,
            "filename": "lazydocs2-0.1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7916ac951d01728be3066c44a46471c8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7,<4.0",
            "size": 19430,
            "upload_time": "2023-06-29T20:38:01",
            "upload_time_iso_8601": "2023-06-29T20:38:01.875491Z",
            "url": "https://files.pythonhosted.org/packages/a3/1f/d9ec0129d86ba31fd9ab74ad7faab742fce51e1995e5357200147dc072a2/lazydocs2-0.1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-29 20:38:01",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "lazydocs2"
}
        
Elapsed time: 0.09661s