A package for generating technical articles from project codebases using LLMs
Project description
Technical Article Generator
This project automatically generates technical articles from a project's README and codebase using Large Language Models (LLM).
Features
- Parses project files and README
- Integrates with LLM to analyze code and generate articles
- Handles API key storage for LLM integration
- Outputs a markdown file with the generated technical article
Prerequisites
- Python 3.7+
- Access to an LLM API (e.g., OpenAI's GPT-3)
Installation
-
Clone the repository:
git clone https://github.com/yourusername/technical-article-generator.git cd technical-article-generator -
Install the required dependencies:
pip install -r requirements.txt
Usage
Run the script with the following command:
python main.py /path/to/your/project [--output output_file.md]
/path/to/your/project: The path to the project directory you want to analyze--output: (Optional) Specify the output file name (default: technical_article.md)
On the first run, you will be prompted to enter your API key. This key will be saved in a key.txt file for future use.
Configuration
The project uses a key.txt file to store your API key. If this file doesn't exist, you'll be prompted to enter your key when you first run the script.
Project Structure
main.py: The main script that orchestrates the article generation processfile_parser.py: Handles parsing of project filesreadme_parser.py: Parses the project's README filellm_integrator.py: Integrates with the LLM API for content generation
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Thanks to [LLM Provider] for providing the API used in this project
- Inspired by the need for automated technical documentation
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autorgpt-0.1.dev5.tar.gz.
File metadata
- Download URL: autorgpt-0.1.dev5.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5596b49602c1417b4b71acde8cb2e32d7654c53fbdb9bdce985c235fcf0143d2
|
|
| MD5 |
947bc9f4bc3ec6ba5eee194f58555b01
|
|
| BLAKE2b-256 |
d1dee071055989d55c9ae74293d076a576cb07bc46cdc282cae27bbad0911fe7
|
File details
Details for the file AutorGPT-0.1.dev5-py3-none-any.whl.
File metadata
- Download URL: AutorGPT-0.1.dev5-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5437df920f6ea4b06ae93b9e460cc35c2b3dce18149f2ebee7454fe068c29912
|
|
| MD5 |
af47d5714a2c79d5cf64dfbc8364434f
|
|
| BLAKE2b-256 |
b73e4618678969ac4451ce956f9b426a20e8087ec5f4acca1de5358d780cf6b4
|