Skip to main content

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 .zip file, automatically ignoring .git history.
  • 🐍 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 pytest test suite
  • Add .shareprep.json config support for custom rules
  • PyPI packaging & deployment workflow

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.1.0.tar.gz (7.4 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.1.0-py3-none-any.whl (8.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shareprep-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d9996ba413fdc3f5893dbbdf63915401ea4b660f2677e982c841dc8e7a060a4f
MD5 471ff302bbfca2c0bb0efcb47dcc9634
BLAKE2b-256 3f8c3096efe76163204f04c4aba214ed208861a526213798a5f6e0290b3979e5

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shareprep-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 736ce67b9c717f255b9bc1a336473f49c70fed9b0cd48196b6f1ead8470acf1f
MD5 7333fec72f45c3c8c10e3a09d1f8b2ee
BLAKE2b-256 7d61e7ed5533e07de0fb3f58bf1a4930201da0661c9acf653040f80e36df1508

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