Smart project cleanup and share-preparation tool for developers
Project description
SharePrep 📦✨
Internal Developer Utility
Make any development project "share-ready" in one command.
Whenever we work on software projects, many unnecessary files are automatically generated (__pycache__, .pyc, .log, .pytest_cache, etc.). These files bloat the project and are not needed when preparing a ZIP for submission, handoffs, or archiving.
SharePrep automatically scans the project directory, safely removes junk files, and optionally creates a clean .zip archive.
Core Features
- 🔍 Smart Scanning: Detects junk files specific to Python, data science, and web development.
- 🛡️ Safe Cleanup: Interactive confirmation and dry-run modes ensure no accidental deletions.
- 📦 Auto-Zipping: Packages the clean project into a
.zipfile, automatically ignoring.githistory. - 🐍 Library API: Import directly into automation scripts.
CLI Usage
The fastest way to clean and package your project:
# Scan, confirm, clean, and zip in one step
shareprep full
Individual Commands
Check what would be deleted without actually deleting anything:
shareprep scan
Perform a safe cleanup:
shareprep clean
Do a dry run to preview deletions:
shareprep clean --dry-run
Just create a clean ZIP file:
shareprep zip
(By default, this names the zip file after the current folder, e.g., my_project.zip)
Python Library Usage
from shareprep import scan_project, clean_project, zip_project
# Scan the current directory
summary, paths_to_delete = scan_project(".")
print(summary)
# Clean the files
clean_project(paths_to_delete)
# Create a zip
zip_project(".", "clean_archive.zip")
Development Roadmap
- Basic scanner (
__pycache__,.pyc,.log) - Safe deletion engine
- Auto-zipping feature
- Dynamic ZIP naming
- Add
pytesttest suite - Add
.shareprep.jsonconfig support for custom rules - PyPI packaging & deployment workflow
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters