Skip to main content

Smart project cleanup and share-preparation tool for developers and students

Project description

SharePrep 📦✨

SharePrep is a Python CLI tool and library that makes projects share-ready by detecting and removing unnecessary generated files, then optionally packaging the cleaned project into a ZIP archive.

Features

  • Scan project folders and show cleanup summary
  • Clean common junk files and folders safely
  • Create ready-to-share ZIP archives
  • Support Python library usage in addition to CLI usage
  • Cross-platform tested on Windows, macOS, and Linux

Installation

Install directly from PyPI:

pip install shareprep

CLI Usage

Full workflow

Scan, clean, and zip in one command:

shareprep full

Individual commands

Scan a project and show cleanup summary:

shareprep scan

Clean removable files safely:

shareprep clean

Preview cleanup without deleting anything:

shareprep clean --dry-run

Create a clean ZIP archive:

shareprep zip

By default, the ZIP file is named after the current project folder.

Python Library Usage

from shareprep import scan_project, clean_project, zip_project

summary, paths_to_delete = scan_project(".")
print(summary)

clean_project(paths_to_delete)

zip_project(".", "clean_archive.zip")

Supported junk patterns

  • __pycache__
  • *.pyc, *.pyo, *.pyd
  • *.log, *.tmp, *.bak
  • .pytest_cache, .mypy_cache, .ruff_cache
  • .ipynb_checkpoints
  • build, dist
  • node_modules, .next, .nuxt
  • .DS_Store, Thumbs.db

Status

Current version: 0.2.0

Author

Akash Shinde
Python developer utility by Akash Shinde.

License

MIT License

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

shareprep-0.2.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

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

shareprep-0.2.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shareprep-0.2.0.tar.gz
Algorithm Hash digest
SHA256 e48c0f30a7df14273dd3c430e9ab12bb65f54f66502785329c7c41118a58c59d
MD5 0a19fc6652fbf6086fd93c7523ec98ac
BLAKE2b-256 3a38f152efa589acc842a930f9441bd3d98c6a1960dc31c559eed2d2c700247c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shareprep-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0a2669c0388fc556d6016880c8961f5e2ec0d0e18186f4d365e3706be61963c2
MD5 52da0cc12c81f4eee405af4973badf1f
BLAKE2b-256 acca9329d70276f257caec86ed85db439bd4e184aeb688c222fe70f9eb243f1b

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