Skip to main content

Clean Python project junk

Project description

swiffer 🧹

Clean Python project junk instantly.

swiffer is a lightweight CLI tool that removes common Python build and cache files from a project directory.

Install

pip install swiffer

Usage

Clean the current directory:

swiffer

Clean a specific directory:

swiffer path/to/project

Preview what would be removed:

swiffer --dry

What it removes

  • __pycache__/
  • .pytest_cache/
  • .mypy_cache/
  • .ruff_cache/
  • dist/
  • build/
  • *.egg-info/
  • *.pyc
  • .coverage

Example

$ swiffer

./build
./dist
./swiffer.egg-info
./tests/__pycache__

🧹 Removed 4 items.

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

swiffer-0.1.0.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

swiffer-0.1.0-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file swiffer-0.1.0.tar.gz.

File metadata

  • Download URL: swiffer-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for swiffer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6d97ce45d6975691da63757ac23def970bd5875fbba2cd034a55800d64f7f661
MD5 be02187cc7008fbb8b035c9afa1aca72
BLAKE2b-256 4577437fb839c9589e74a21695a3ec0de9e50aa5359bcbbf1d1a6ba3416b6228

See more details on using hashes here.

File details

Details for the file swiffer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: swiffer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.0

File hashes

Hashes for swiffer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b613f0fc68f3671062ea054121c574a8a2b304482d27e3c7c3bd26d3e99cf93a
MD5 a082166953f625dbd5986475f135f377
BLAKE2b-256 3cd3e361c41b10bb33586bb19c5e46f5e1f2b42c42357329c3111682288da527

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