Home
AI-powered python code documentation and test generation tool
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
write-the docs
to write the docs for thewrite-the docs
command 🤖write-the mkdocs
to build the documentation site forwrite-the
🤖write-the tests
to write tests forwrite-the docs
🤖write-the docs
andwrite-the mkdocs
to build documenation forautoresearcher
🤖write-the docs
andwrite-the mkdocs
to build documenation forhyperspec
🤖write-the docs
andwrite-the mkdocs
to build documenation forCUPCAKEAGI
🤖
Installation
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
Note
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.