No project description provided
Project description
Turbo Docs
Turbo Docs is a Python package that helps you generate a professional README.md file for your repository using GPT-3.5 Turbo or GPT-4. It can also copy the text from all files in the current directory to the clipboard, which is useful when working with ChatGPT.
Installation
To install Turbo Docs, you need to have Python 3.6 or higher. You can install the package using pip:
pip install turbo_docs
Setup
Before using Turbo Docs, you need to set up your OpenAI API key. If you don't have an API key, create an OpenAI account at https://platform.openai.com/overview. Then, set the API key as an environment variable:
export OPENAI_API_KEY=<your_api_key>
Usage
To use Turbo Docs, navigate to your project directory and run the following command:
turbo_docs
Options
--copy
: Copy the directory text to the clipboard. Useful for working with ChatGPT.--readme
: Generate a README.md file. Useful for keeping documentation up to date.--gpt3
: Use the GPT-3.5 Turbo model instead of GPT-4.
Configuration
You can configure Turbo Docs to ignore specific files and folders by creating a turbo_docs.toml
file in your project directory. Add the files and folders you want to ignore in the ignore
list:
ignore = [
"__pycache__",
"venv",
"build",
"dist",
"*.egg-info",
".git",
"README.md", # This is recommended so that --readme doesn't include the readme file itself
]
Dependencies
Turbo Docs requires the following packages:
- requests
- openai
- llm-blocks
- click
- pyperclip
- redbaron
- gitpython
- toml
- pathspec
These dependencies will be installed automatically when you install Turbo Docs using pip.
License
Turbo Docs is released under the MIT License.
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
Hashes for turbo_docs-0.9.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99121c17ae6aa7bd20826f4b56bd50e5ada8983efdf17d8e5f1fae7a8992aa3d |
|
MD5 | fbcb2a967a2ec2a47d655c5a29301801 |
|
BLAKE2b-256 | 8cdf295d32bbac18e10f8b427818cfaf5c2525997226ebc7039ef12689d1599b |