Skip to main content

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.

Metadata

Release files for write-the 0.13.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for write-the 0.13.0
File Size Uploaded
write_the-0.13.0.tar.gz 4.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for write-the 0.13.0
File Interpreter ABI Platform
write_the-0.13.0-py3-none-any.whl Python 3 none any Details

Total release size: 4.4 MB

Release files / write_the-0.13.0.tar.gz

Download URL write_the-0.13.0.tar.gz
Size 4.3 MB
Tags Source
SHA-256 checksum
How to use checksums
efbb3ec22b0bea20772bb48787781755826ea28bcfc53903009a66041f6625c2
BLAKE2b-256 checksum
How to use checksums
7bd0051c441dc3cc351751e6f93435f28f91accbda9768c892103b3b4b1045d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / write_the-0.13.0-py3-none-any.whl

Download URL write_the-0.13.0-py3-none-any.whl
Size 29.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
410e5a40a16ec2b8101e6c4d3d37254df6b19e978dc0442c7d4d9a56b7fc0830
BLAKE2b-256 checksum
How to use checksums
4393618276f47d3c4838df09104712253d8cea197e63af6e6dc0f3cfeb3e3bf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release history Release notifications | RSS feed

This release

0.13.0 This release

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.1

2 release files

0.10.0

2 release files

0.9.2

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.7

2 release files

0.7.6

2 release files

0.7.5

2 release files

0.7.4

2 release files

0.7.2

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page