Skip to main content

CLI tool to strip comments and file formatting safely.

Project description

DevClean

DevClean — simple CLI tool for cleaning your project from comments and extra spaces. Can be used for preparing code for deployment, minification, or sharing with a client.

Features

  • Multi-Language Support: Supports Python, JS/TS, HTML, CSS, C++, Java, Go, Rust, SQL, Shell, YAML and more.
  • Smart Cleaning: Uses advanced RegEx to not delete links in strings (e.g., http://...) or hashtags in strings.
  • Git-Aware: Automatically reads .gitignore and skips ignored files (node_modules, venv, etc.).
  • Work Modes: Full clean, only comment removal, or only formatting.
  • Safe: DevClean will automatically backup modified files before cleaning.

Installation

pip install devclean

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

devclean-1.0.36.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

devclean-1.0.36-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file devclean-1.0.36.tar.gz.

File metadata

  • Download URL: devclean-1.0.36.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for devclean-1.0.36.tar.gz
Algorithm Hash digest
SHA256 3df246f5395d7a00f0f85eba680477c6bd4a0fde672ecfb48d2c09237e180ec1
MD5 42ef05124e37eb867d1e2cf27a0e44bb
BLAKE2b-256 c71342ab9e466418eb66ead916e04bcd1b8421112fdbf71bb06210ca59f911ab

See more details on using hashes here.

File details

Details for the file devclean-1.0.36-py3-none-any.whl.

File metadata

  • Download URL: devclean-1.0.36-py3-none-any.whl
  • Upload date:
  • Size: 6.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.4

File hashes

Hashes for devclean-1.0.36-py3-none-any.whl
Algorithm Hash digest
SHA256 1fd2d779a9b79535eee8365d73bb1e2f2c5fec4f0fa4995cb2867c9b2bb9fd6d
MD5 8fe7d011eeec6d60296c3e0701008fa9
BLAKE2b-256 4b5ce979c58174a76c2258329bc25284d9039ed8b495d3b0ca7338fde7a49b64

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