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.

✨ Возможности

  • 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.34.tar.gz (6.0 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.34-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: devclean-1.0.34.tar.gz
  • Upload date:
  • Size: 6.0 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.34.tar.gz
Algorithm Hash digest
SHA256 08d35a9ac3af39260c76f19d8204d764512cd164ae6d3c879107a307b7122232
MD5 00540e70816f4db6ab26bba73b0fb428
BLAKE2b-256 98b9a4300e026c78bc87d0c0ebb1a0b635c6847dfdacc75d94184853c5ec27ff

See more details on using hashes here.

File details

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

File metadata

  • Download URL: devclean-1.0.34-py3-none-any.whl
  • Upload date:
  • Size: 6.6 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.34-py3-none-any.whl
Algorithm Hash digest
SHA256 4d3a2312c23915b5dd66b1b2d753079f3bb0c966d89140de1153809efff4b77a
MD5 ae87e65a446c8be34cc740403fda7c6f
BLAKE2b-256 bb2201c226757d4067d6f7f897e35673416d7d38e94e8404aa6bb24a5e1742c2

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