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.dev1.tar.gz (12.8 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.dev1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file autorgpt-0.1.dev1.tar.gz.

File metadata

  • Download URL: autorgpt-0.1.dev1.tar.gz
  • Upload date:
  • Size: 12.8 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.dev1.tar.gz
Algorithm Hash digest
SHA256 a7ef2f8dcdea53f18482e48beeb0f5755e1dded5ee7f3a6aa45ffe8470a96c26
MD5 8b81b83b269a1fa8d19820dedbcab4ba
BLAKE2b-256 44f6aae6ada2ba97d65a631981da3d833e678da7aa901a467c4d3524fe1ff2b1

See more details on using hashes here.

File details

Details for the file AutorGPT-0.1.dev1-py3-none-any.whl.

File metadata

  • Download URL: AutorGPT-0.1.dev1-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 89a16628c831dcb53e5cb3400978046004657e8ecd4fe6ef6f7bc937b29f563b
MD5 8ffa232f7676fc2e15f727aa85e6dc87
BLAKE2b-256 41fdd9bc88dbb0df2a2114c646f53e01c5467e66670b33114337350d2d044d7a

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