Skip to main content

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)

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 process
  • file_parser.py: Handles parsing of project files
  • readme_parser.py: Parses the project's README file
  • llm_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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autorgpt-0.1.1.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

AutorGPT-0.1.1-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file autorgpt-0.1.1.tar.gz.

File metadata

  • Download URL: autorgpt-0.1.1.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for autorgpt-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9711d804c3f3eac32db6eaf8baaf7861707922dee52eeee0c44c4cc5bad3f1af
MD5 f2bcfc09f1fbf6f81be39935614fe81c
BLAKE2b-256 d2d10e566fcfaae630cefd01c68a5cdb1a4e412cae972afa81eda522ad258206

See more details on using hashes here.

File details

Details for the file AutorGPT-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: AutorGPT-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for AutorGPT-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75171662151c9f1f0933c3a86c457f41fb7233c6cddbc8fdcdf2b89fb9eeac22
MD5 255950ea1d1a9cffd2714b45856f9921
BLAKE2b-256 27fbf0b56db549cfb503e2af646ce504fdfcf19ad76bc0cc10474d71af92d88a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page