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

Show how much space would be freed without deleting anything:

swiffer --size

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
💾 Freed 42.3 MB

Size preview example

$ swiffer --size

./build
./dist
./tests/__pycache__

💾 42.3 MB would be freed.

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.2.0.tar.gz (2.4 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.2.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for swiffer-0.2.0.tar.gz
Algorithm Hash digest
SHA256 55d11da1038c801a9a30636dc4c5df38439656ecf237b8c29ef29f51b6fc4943
MD5 d2d514575faed6bb21047273565fd208
BLAKE2b-256 d3383106ddaf7bb9305b16c53cc0ed69d67bd7e10ac2a549052a3462fa60ba2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swiffer-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 59d8918026ae0cb4e5206d38e0a380dedb15ae7de92d0f1a7f2748c79cedf9e7
MD5 9760229c87ad6fba0382f382ebcfb9ba
BLAKE2b-256 973b580f2a648fd3a8a8f046cb5b0d92d0efead661f340063eeef6056a7b78b4

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