CleanScript: An intelligent Python code optimizer and documentation tool that enhances code quality through automated refactoring, PEP-8 compliance checks, and AI-powered comment generation. Supports both online API and local AI models for all your code cleaning needs.
Project description
CleanScript
CleanScript is a Python package that optimizes your Python scripts by:
- Removing unused imports,
- Adding basic or GPT-generated docstrings to functions and classes,
- Formatting your code with black,
- Optionally generating smarter comments using Hugging Face GPT-2 inference API.
Installation
pip install cleanscript
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cleanscript-1.0.1.tar.gz.
File metadata
- Download URL: cleanscript-1.0.1.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
994c468b5fc9de8f308ee3d544a7a228685928a7b7cea3f56aeb79c0f07816a3
|
|
| MD5 |
0ff194de5a72d24893ad37210a643d84
|
|
| BLAKE2b-256 |
b8e6628f9483b0b2d3a5c7268d03e0cb4c17ca2bc84cdec316de65aa3370fc10
|
File details
Details for the file cleanscript-1.0.1-py3-none-any.whl.
File metadata
- Download URL: cleanscript-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c6a1c8822e40f74fa4753aa6aa97b24c890dbc78cffd2c87d468bf01f8d196f
|
|
| MD5 |
aefcadc1289c279476179821b645e61b
|
|
| BLAKE2b-256 |
442b72a5934d5cb89dd1ff8688510db7018084911ec89919ef9bf4be02b34b9f
|