Skip to main content

Clean up heavy dev artifacts (node_modules, __pycache__, R cache) under a root folder.

Project description

devsweep (dc)

Clean up heavy dev artifacts under a root directory: node_modules, Python caches, and R caches.

Install / run with uv

uv sync
uv run dc node /path/to/root --format table

Publish to PyPI (local)

cp .env.example .env
# add PYPI_API_TOKEN to .env
uv sync
./scripts/publish.sh

Examples

# Node.js node_modules size report
uv run dc node ~/Documents --format table
uv run dc node ~/Documents --format json
uv run dc node ~/Documents --format txt --limit 50

# Delete node_modules (moves to trash, requires confirmation code)
uv run dc node ~/Documents --delete

# Python cleanup (removes __pycache__, .pytest_cache, *.pyc, etc.)
uv run dc python ~/Documents --delete

# R cleanup (removes .Rhistory, .RData, .Rproj.user, renv library caches)
uv run dc r ~/Documents --delete

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

devsweep-0.2.0.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

devsweep-0.2.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for devsweep-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b40a9dc0521068862e0a8833a763613f97227b1a5e2b33d85b8e0d4bf867749e
MD5 269f42d202a429dd36e3fd235dfd9c99
BLAKE2b-256 0923159b926ad3b34d674fcbd568693edfee6ac174d0ce00970164b0f0356e70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: devsweep-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for devsweep-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9dda85572c760de386182eae17e301262082e48deafc88b74ffb65b7d26ffe09
MD5 a8492a30ac4fe3ac297a94987a62f247
BLAKE2b-256 47b431b16bd469df5b9a8c70dbd0f5415d1acf40da8e56bb74b988aa8180c733

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