Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cleanscript-1.0.1.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cleanscript-1.0.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

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

Hashes for cleanscript-1.0.1.tar.gz
Algorithm Hash digest
SHA256 994c468b5fc9de8f308ee3d544a7a228685928a7b7cea3f56aeb79c0f07816a3
MD5 0ff194de5a72d24893ad37210a643d84
BLAKE2b-256 b8e6628f9483b0b2d3a5c7268d03e0cb4c17ca2bc84cdec316de65aa3370fc10

See more details on using hashes here.

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

Hashes for cleanscript-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c6a1c8822e40f74fa4753aa6aa97b24c890dbc78cffd2c87d468bf01f8d196f
MD5 aefcadc1289c279476179821b645e61b
BLAKE2b-256 442b72a5934d5cb89dd1ff8688510db7018084911ec89919ef9bf4be02b34b9f

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