No project description provided
Project description
# Turbo_Docs A library for creating formatted & user-friendly readmes from existing files.
## Features - Generates README.md for the current directory from files - Copies directory text to clipboard using Pyperclip, useful for working with chatGPT - Generates docstrings for all functions in your codebase
## Usage To generate a README or docs.md, use the following command:
turbo_docs –{command}
For more options, use the following flags: - –copy - –readme - –docstring
## Requirements
### Development Requirements - setuptools - wheel - twine
### Package Requirements - requests - openai - click - pyperclip - redbaron - gitpython
## Installation To install the required packages, execute the following commands:
For development requirements: ` pip install -r requirements.dev.txt `
For package requirements: ` pip install -r requirements.txt `
## Directory Structure - turbo_docs/generate.py: Main script for running the command-line tool, includes the driving function and option handling - turbo_docs/commands/docstring.py: Handles the generation of docstring for functions using GPT-3 completion - turbo_docs/commands/readme.py: Generates README.md and docs.md using openAI API - turbo_docs/utils/cli_options.py: Contains decorators for CLI options - turbo_docs/utils/directory.py: Manages directory and file manipulation, including ignoring files - turbo_docs/utils/openai_api.py: Includes methods for calling the OpenAI API and handling errors
## License Turbo_Docs is licensed 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.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ffacc8b9400c28df31d0fe979e8df5b78f0a3e017f6093aed50abd98ba0ae38 |
|
MD5 | eb77bd077a0815623ae53fa414aa9e48 |
|
BLAKE2b-256 | 1f85a4dc3df78272b3ef3fd488c162f32043910f3ebca7e0fe401aecac217185 |