Skip to main content

llm-autodocs 🪄

Overview 🌞

autodocs is a Python-based command-line tool for automatically generating documentation for git-tracked Python files in a project. It leverages LLMs to generate documentation automatically and asynchronously.

Features ⚡️

  • Git Integration: Only selects Python files that are tracked by Git within a specified directory.
  • Custom File Selection: Offers the flexibility to specify files to include or exclude in the documentation process.
  • LLM Support: Currently supports OpenAI gpt models
  • Asynchronous Execution: Improves performance by handling multiple files concurrently.

Quickstart 🚴‍♂️

Install the library:

pip install llm-autodocs

Navigave to your git project and run:

cd my_project/
autodocs --directory .

This will run in the root of your project and include all tracked .py files. By default it uses gpt-3.5-turbo.

You will be prompted to review the files affected before continuing.

Examples

Specify a specific directory:

autodocs --directory ./src

Specify a different openai model (can be any of the gpt-3.5* or gpt-4* patterns):

autodocs --documenter gpt-4

Allow only certain file patterns:

autodocs --allowed-files utils.py data_model.py

Exclude certain file patterns:

autodocs --ignored-files __init__.py

Metadata

Release files for llm-autodocs 0.0.8

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

Source distribution (sdist)

Source distribution for llm-autodocs 0.0.8
File Size Uploaded Provenance
llm_autodocs-0.0.8.tar.gz 5.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-autodocs 0.0.8
File Interpreter ABI Platform
llm_autodocs-0.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 11.7 kB

Release files / llm_autodocs-0.0.8.tar.gz

Download URL llm_autodocs-0.0.8.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a3a7068442aaeb80b9e8779c8e5f025bd020cd717c6b5c62dcf5db4afa73219b
BLAKE2b-256 checksum
How to use checksums
3659a41f100dbc2560c367ba82a472ededa6c7f2416e974e1aafa43a2218b0e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

Release files / llm_autodocs-0.0.8-py3-none-any.whl

Download URL llm_autodocs-0.0.8-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c76aa08887a8da8e5425f6aecd66644cc2eedd424d03ce36b6d297c2af7d1f9
BLAKE2b-256 checksum
How to use checksums
a87c98b340b2fc2726528272db0055dcabd91b7487b1e4cda29887fb905701e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.10.13 Linux/6.2.0-1018-azure

Security for llm-autodocs 0.0.8

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.

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