Skip to main content

AI-powered Code Generation and Refactoring Tool

Project description

AI-powered python code 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 Convert: Convert code and data from any format into another.

In addition write-the can also manage OpenAI models and scaffold MkDocs websites.

Requirements

  • Python 3.9 or higher
  • OpenAI API key

To use write-the you must set an OPENAI_API_KEY environment variable (e.g. export OPENAI_API_KEY=...).

Documentation

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

Roadmap

The main goal for write-the is to develop a generic module system to document, test, and optimise code in any language in a reliable and repatable way.

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

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.13.0.tar.gz (4.3 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.13.0-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for write_the-0.13.0.tar.gz
Algorithm Hash digest
SHA256 efbb3ec22b0bea20772bb48787781755826ea28bcfc53903009a66041f6625c2
MD5 88b3cbfb85132e879d1ffdae633cb49b
BLAKE2b-256 7bd0051c441dc3cc351751e6f93435f28f91accbda9768c892103b3b4b1045d6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for write_the-0.13.0-py3-none-any.whl
Algorithm Hash digest
SHA256 410e5a40a16ec2b8101e6c4d3d37254df6b19e978dc0442c7d4d9a56b7fc0830
MD5 b4ac5b981920e0e43bc762088e246e39
BLAKE2b-256 4393618276f47d3c4838df09104712253d8cea197e63af6e6dc0f3cfeb3e3bf6

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