Skip to main content

AI-powered Code Generation and Refactoring Tool

Project description

🤖 write-the

AI-powered Documentation and Test Generation Tool

PyPI - Version PyPI - Python Version write-the - docs write-the - test codecov

Write-the is an AI-powered documentation and test generation tool that leverages GPTs to automatically write tests, generate documentation, and refactor code. It is designed to streamline the development process, improve code quality, and increase productivity.

Real-world examples

Installation

pip install write-the

Features

Write-the offers the following AI-driven features:

  • Write-the Docs: Automatically generate documentation for your codebase, including class and function descriptions, parameter explanations, and examples.
  • Write-the Tests: Create test cases for your code, ensuring thorough test coverage and better code quality.
  • Write-the Refactor: Receive refactoring suggestions, reduce code complexity, optimize performance, and fix bugs (TBD).

Requirements

  • Python 3.9 or higher
  • OpenAI API key

Usage

To use write-the, run the following commands:

Docs:

write-the docs [OPTIONS] [PATH_TO_SOURCE_CODE]

Mkdocs:

write-the mkdocs [OPTIONS] [PATH_TO_SOURCE_CODE]

Tests:

write-the tests [OPTIONS] [PATH_TO_SOURCE_CODE]

For detailed information on available options and parameters, refer to the official (write-the generated) documentation.

Roadmap

For a detailed project roadmap, including planned features, improvements, and milestones, please see our Project Timeline.

Contributing

We welcome contributions from the community. If you would like to contribute to Write-The, please follow these steps:

  • Fork the repository and create a new branch for your feature or bugfix.
  • Develop your changes and ensure that your code follows the project's coding standards.
  • Create a pull request with a clear description of your changes and any relevant documentation.
  • For more information on contributing, please see our Contributing Guide.

License

write-the is distributed under the terms of the MIT license.

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

write_the-0.7.2.tar.gz (2.4 MB view details)

Uploaded Source

Built Distribution

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

write_the-0.7.2-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file write_the-0.7.2.tar.gz.

File metadata

  • Download URL: write_the-0.7.2.tar.gz
  • Upload date:
  • Size: 2.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for write_the-0.7.2.tar.gz
Algorithm Hash digest
SHA256 805e52cb6b3cd0798e2c42df00f09f916b008e4b7ac6d3c5b01fe87bd5a78d38
MD5 bdfdc0bb34acf3c23be62de9827880c0
BLAKE2b-256 d3d658314b8b049c51981ab953f04a355e9be261efeb844b1cca35194b6adfaf

See more details on using hashes here.

File details

Details for the file write_the-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: write_the-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.0

File hashes

Hashes for write_the-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a09f03b9614d5b40619eb89af06bd23545efa5f2836942f93aae64df1c8bf2c
MD5 244ad6cc1d1f3b9c24ecfdb5ea20fa77
BLAKE2b-256 c5431ce8bcc83de2792e569a6922a322198e620422a2d8205b972ec07088bec3

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 Pingdom Monitoring Sentry Error logging StatusPage Status page