Skip to main content

title: TechdocsAPI emoji: 🚀 colorFrom: green colorTo: green sdk: docker app_file: TechdocsAPI/app.py pinned: false

Techdocs: A code documentation generator

Introduction

Code Documentation Generation is a tool that generates documentation for your code. It is a simple tool that can be used by anyone who wants to generate documentation for their code. It leverages the power of OpenAI GPT-3, Huggingface Transformers, Langchain and Clarifai to generate documentation for your code.

To use the application, you need to provide your code as input. The tool will analyze your code and generate documentation for it. The documentation will include comments, descriptions, parameters, return values, examples, and more.

It is a useful tool for developers who want to document their code without spending too much time and effort. It can help you improve the readability, maintainability, and quality of your code. It can also help you share your code with others more easily.

Installation

Download zip or Clone the repository and run the following command in the terminal to install the required packages.

We recommend using a virtual environment for the installation.

$ git clone https://github.com/HemanthSai7/Techdocs
$ cd Techdocs
$ pip install -r requirements.txt
$ -- Run backend
$ uvicorn app:app --reload # For running the FastAPI server
$ -- Run frontend
$ cd frontend
$ streamlit run app.py # For running the Streamlit App

Streamlit App

  • Head over to the Website and signup/login to use the tool.
  • Once you are logged in, Head over to Code page and generate your API KEY by clicking on the Generate API KEY button. Please note that the API KEY will be visible only once and you need to copy it and save it somewhere safe.
  • Copy the API KEY and paste it in the API KEY field in the Code
  • Now, you can paste your code in the Code field and click on the Generate Documentation button.
  • The generated documentation will be displayed in the Documentation field.

Demo and Screenshots

Demo Screenshot 1

Result 3

Demo Screenshot 2

Result 2

Demo Screenshot 3

Result 1

Tech Stack Used

Python Azure FastAPI Vercel JWT GitHub Actions Streamlit Langchain Clarifai

Team Members

Name Github
Mayuresh Agashe Mayuresh Agashe
Hemanth Sai Garladinne Hemanth Sai Garladinne

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

techdocs-0.1.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

techdocs-0.1.2-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

Details for the file techdocs-0.1.2.tar.gz.

File metadata

  • Download URL: techdocs-0.1.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for techdocs-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8aee8aa4dbb1fa4761a6b41b4373cafb66e44a5e1348941c5431898c5c496cdd
MD5 253b375791e6f219f95dd67a81fbd0f1
BLAKE2b-256 a5c4e6eb07b22afb44f6e0c94ea4f71e73cfeea8749bc152f036fb2da2038ac4

See more details on using hashes here.

File details

Details for the file techdocs-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: techdocs-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for techdocs-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dca7a69bf519a11ffb97d0bd13e277c033486945d7b8f4004424aa89e5280e57
MD5 fba44f1f80b94a920f8a2c9308b5db7f
BLAKE2b-256 78d0605577811d86f6fe0f915b8bd73e9ca77fc9938e7af29d240c9bf84673ee

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page