Skip to main content

Generate API documentation in MarkDown based in the models and api handlers for given project using ChatGPT.

Project description

License: MIT Python Versions Test workflow

genDocsGPT

Generate Docs using ChatGPT

CLI to generate API documentation in MarkDown based in the models and api handlers for given project using ChatGPT.

ChatGPT API Key

The genDosGPT demand a ChatGPT API Key that you can generate after create your account in OpenAI. Tutorial here. After this, create a .env file in the following format:

API_KEY="chatgpt_api_Key"

Usage

usage: genDocsGPT [-h] [-v, --verbose] -m / --model <model_paths> -a / --api <api_paths> 
[-o / --output <filename>] [-t / --token <token>] [--env <filename>] [--gpt_model <model>]

CLI to generate API documentation in MarkDown based in the models and api handlers for 
given project using ChatGPT.

options:
  -h, --help            show this help message and exit
  -v, --verbose         Show all the messages to debug
  -m / --model <model_paths>
                        Model paths. If more than one, separate with a comma
  -a / --api <api_paths>
                        API paths. If more than one, separate with a comma
  -o / --output <filename>
                        Filename to the documentation generated. Default: ./api.md
  -t / --token <token>  ChatGPT API KEY
  --env <filename>      Env file that MUST and ONLY have API_KEY="chatgpt_api_key". 
                        Default: ./.env
  --gpt_model <model>   Model that will be used by ChatGPT. Default: gpt-3.5-turbo

We do not recommend using it in non-open-source projects.

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

genDocsGPT-1.0b15.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

genDocsGPT-1.0b15-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file genDocsGPT-1.0b15.tar.gz.

File metadata

  • Download URL: genDocsGPT-1.0b15.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for genDocsGPT-1.0b15.tar.gz
Algorithm Hash digest
SHA256 d6245a5f5c9a062b462d5e658787d40852cacab79911f4f4b61d5089303580ab
MD5 1ea2b57b0f25aa32e501755341cbe504
BLAKE2b-256 32725e3476fa843da14aa078e308a2ccab98746773cad2608b71a8f522e4753f

See more details on using hashes here.

File details

Details for the file genDocsGPT-1.0b15-py3-none-any.whl.

File metadata

  • Download URL: genDocsGPT-1.0b15-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for genDocsGPT-1.0b15-py3-none-any.whl
Algorithm Hash digest
SHA256 74bf978c0b432684e78f2483970f850c4c2852b81ec3843f1ea3e3c21c17e3af
MD5 ea9313513418fce1a51d570647479b99
BLAKE2b-256 de4c23d337e89bdc03b9c2bf343c19345b3301e134ca018fd6859cf3c862a95a

See more details on using hashes here.

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