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.0b14.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: genDocsGPT-1.0b14.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.0b14.tar.gz
Algorithm Hash digest
SHA256 76c1533cb4ea4e564cd74fb8d5b5affdac634d5c5ea1a3a5d5d5174ac042bd40
MD5 51afc1ca609365dd47b6552bbfefdc33
BLAKE2b-256 76a0e518b52285635b9c5f8c0dc05d7df94c7849ba0579ef69af46fabd6a56dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: genDocsGPT-1.0b14-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.0b14-py3-none-any.whl
Algorithm Hash digest
SHA256 cead2e05ea0d0db9bb2e95b494e473f93912c72be5841a27a3771c9a80d55a5e
MD5 6831ef8baa5bf69d839c128c011c7afb
BLAKE2b-256 b6855c955ed105cd30d49560725c7ac3cc792be4003224947b8c81764f0e2159

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