Skip to main content

No project description provided

Project description

Turbo Docs ๐Ÿš€

PyPI version GitHub stars

Turbo Docs is a powerful Python tool that helps developers automatically generate high-quality README.md files for their repositories. It leverages the power of OpenAI's GPT-3.5 Turbo and GPT-4 models to create well-structured, informative, and engaging documentation.

Why Turbo Docs? ๐Ÿค”

Writing good documentation is essential for any software project, but it can be time-consuming and tedious. Turbo Docs simplifies this process by generating a README.md file that meets all your requirements, allowing you to focus on writing great code.

Table of Contents ๐Ÿ“š

Installation ๐Ÿ’ป

To install Turbo Docs, simply run:

pip install turbo_docs

Usage ๐Ÿ› ๏ธ

To use Turbo Docs, navigate to your project's root directory and run:

turbo_docs --readme

This will generate a README.md file for your project. You can also use the --gpt3 flag to use the GPT-3.5 Turbo model:

turbo_docs --readme --gpt3

Additionally, you can copy the directory text to the clipboard by using the --copy flag:

turbo_docs --copy

Repo Structure ๐Ÿ—๏ธ

turbo_docs/
โ”‚
โ”œโ”€โ”€ commands/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ””โ”€โ”€ readme.py
โ”‚
โ”œโ”€โ”€ utils/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ cli_options.py
โ”‚   โ”œโ”€โ”€ directory.py
โ”‚   โ””โ”€โ”€ openai_api.py
โ”‚
โ”œโ”€โ”€ __init__.py
โ”œโ”€โ”€ generate.py
โ”œโ”€โ”€ setup.py
โ””โ”€โ”€ turbo_docs.toml

Example Usage ๐Ÿ“–

Here's an example of how to use Turbo Docs to generate a README.md file:

from turbo_docs.commands import readme

# Define your repo structure as a string
repo = """
{'repo': 'example_repo',
 'files': {
     'main.py': 'print("Hello, World!")',
     'README.md': ''
 }
}
"""

# Generate the README.md file
readme(repo)

License ๐Ÿ“„

Turbo Docs is released under the MIT License.

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

turbo_docs-1.0.0.tar.gz (6.5 kB view hashes)

Uploaded Source

Built Distribution

turbo_docs-1.0.0-py3-none-any.whl (12.9 kB view hashes)

Uploaded Python 3

Supported by

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