CLI tool to generate project documentation from GPT models.
Project description
gpt_docgen
Introduction
Welcome to the gpt_docgen
repository, a cutting-edge documentation generation tool designed to streamline the process of creating detailed, accurate, and insightful documentation for your codebase using the power of language models.
The primary features of gpt_docgen
include:
- Automatic Markdown Generation: Automatically generates markdown files that describe the functionalities and usage of your code files, making your documentation process as effortless as possible.
- Custom Model Support: With support for multiple language models, you can choose the model that best fits your needs and preferences for documentation style and detail level.
- CLI Integration: Easy-to-use command-line interface that simplifies the process of generating documentation for any project, regardless of size or complexity.
Installation
To install gpt_docgen
, you will need Python 3.11 or newer. Follow these steps to get started:
- Clone the repository to your local machine:
git clone https://github.com/vitorbezzan/gpt_docgen.git
- Navigate to the cloned directory:
cd gpt-docgen
- Install the package in a virtual environment (Python 3.11) using pip:
pip install .
You can also install the package directly from PyPI using pip:
pip install bezzanlabs.gpt_docgen
This package is made to be run inside its own virtual environment, so it is recommended to create one before running the package.
Example
To generate documentation for your codebase, navigate to your project directory and run:
gpt_docgen describe_file --path /path/to/your/file.py
You can specify the model and vendor you wish to use with additional flags. For a detailed explanation of all available commands and options, use:
gpt_docgen --help
This will provide you with a help disclaimer.
This documentation was generated using gpt-4-turbo-preview.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bezzanlabs_gpt_docgen-0.1.0.tar.gz
.
File metadata
- Download URL: bezzanlabs_gpt_docgen-0.1.0.tar.gz
- Upload date:
- Size: 6.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9df0a8e8a078922027b0dde34afc1c88e91ef417e667e9adc0b660335b4517ec |
|
MD5 | bbb9dcc7ef9f38efc5f060882fe40247 |
|
BLAKE2b-256 | 93ab8102c4a88d14a68bd3cc530fc446f1890cf9dc661076b1be4991b53e2287 |
File details
Details for the file bezzanlabs.gpt_docgen-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: bezzanlabs.gpt_docgen-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b87a8efddc7504b977c368eceb2b6b878b9783159597cc148f56a7cf3efdeebe |
|
MD5 | 70c642d051f149c40f108def2e969515 |
|
BLAKE2b-256 | 8d79b055219af4093feab26cdeb10e372b64326ddd481efb83203a2fd80442f8 |