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)
Usage
Run the script with the following command:
generate-article '/path/to/your/project'
/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
Release files for AutorGPT 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autorgpt-0.1.1.tar.gz | 12.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| AutorGPT-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.2 kB
Release files / autorgpt-0.1.1.tar.gz
| Download URL | autorgpt-0.1.1.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9711d804c3f3eac32db6eaf8baaf7861707922dee52eeee0c44c4cc5bad3f1af
|
|
BLAKE2b-256 checksum How to use checksums |
d2d10e566fcfaae630cefd01c68a5cdb1a4e412cae972afa81eda522ad258206
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / AutorGPT-0.1.1-py3-none-any.whl
| Download URL | AutorGPT-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75171662151c9f1f0933c3a86c457f41fb7233c6cddbc8fdcdf2b89fb9eeac22
|
|
BLAKE2b-256 checksum How to use checksums |
27fbf0b56db549cfb503e2af646ce504fdfcf19ad76bc0cc10474d71af92d88a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|