No project description provided
Project description
Turbo Docs
Turbo Docs is a Python package that helps you generate a well-formatted, user-friendly README.md file for your repository using GPT-3.5-turbo or GPT-4 (default). It also provides a command to 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, run the following command:
pip install turbo_docs
Requirements
Turbo Docs requires the following packages:
- requests
- openai
- llm-blocks
- click
- pyperclip
- redbaron
- gitpython
- toml
- pathspec
These packages will be installed automatically when you install Turbo Docs.
Usage
To use Turbo Docs, run the following command in your terminal:
turbo_docs [OPTIONS]
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.
Example
To generate a README.md file using GPT-3.5 Turbo, run the following command:
turbo_docs --readme --gpt3
Configuration
You can configure Turbo Docs by creating a turbo_docs.toml
file in your repository. This file allows you to specify files and folders to ignore when generating the README.md file or copying the directory text to the clipboard.
Example turbo_docs.toml
:
ignore = [
"__pycache__",
"venv",
"build",
"dist",
"*.egg-info",
".git",
"README.md", # This is recommended so that --readme doesn't include the readme file itself
]
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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4bfac00e3c78b9452c43d3ee02b883ddaf5d6ee0e928bcc34c4f5d34f57a3e0 |
|
MD5 | 5f84a10b664381271604146a734799ac |
|
BLAKE2b-256 | 2e6ec104589740868dfc385f7ed8efb131e81ffc16f3c31038556a0138e50af5 |