Skip to main content

AI-powered automatic generation of documentation comments for classes, modules, and packages, including translation of existing comments and lazy customization of docstrings.

Project description

Lazynote 🚀✨

PyPI License Python

Lazynote is an AI-powered tool that can automatically generate documentation comments for classes, modules, and packages. It also supports translation and customization of existing comments. 💡📝

Features 🌟

  • Automatic Generation: Automatically generate documentation comments for classes, modules, and packages. 🛠️
  • Smart Translation: Translate existing comments, supporting multiple languages. 🌐
  • Comment Polishing: Use AI technology to polish comments for improved readability. 📖✨
  • Flexible Customization: Easily customize all comments across the entire repository. 🔧

Installation 📦

You can easily install Lazynote using pip:

pip install lazynote

Quick Start 🚀

Here is a simple example demonstrating how to use Lazynote to automatically generate and manage documentation comments.

import pytest
from lazynote.manager import SimpleManager
manager = SimpleManager(pattern='fill')
manager.traverse(lazyllm_package.components, 
                skip_modules=['lazyllm.components.deploy.relay.server'])

Features Overview 📚

Lazynote provides the following modes to easily customize all comments across the entire repository using AI and source code:

  • TRANSLATE: Translate existing comments. 🌍
  • POLISH: Polish and optimize comments. 💅
  • CLEAR: Clear existing comments. 🗑️
  • FILL: Fill in missing comments. 📝

Contributing 🌟

Contributions are welcome! Please read CONTRIBUTING.md for more information. 💖

License 📄

This project is licensed under the MIT License. For more details, please refer to 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

lazynote-0.1.0.tar.gz (9.7 kB view hashes)

Uploaded Source

Built Distribution

lazynote-0.1.0-py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page