Skip to main content

Portable project bootstrapper (venv, gitignore, license, vscode, etc.)

Project description

⚡ RepoSmith

PyPI version Python License CI Success Security Advisories Sponsor

RepoSmith is a portable Python project bootstrapper — a zero-dependency CLI & library that helps you spin up new projects instantly.
With one command, you get a ready-to-code environment: virtualenv, config files, VS Code setup, .gitignore, LICENSE, and optional CI.


✨ Features

  • 🚀 Zero dependencies — built only with Python stdlib
  • ⚙️ Virtual environment auto-created (.venv)
  • 📦 requirements.txt scaffolded (empty but ready)
  • 📝 Entry file (main.py or run.py) with a welcome message
  • 🛡 LICENSE (MIT by default, more soon)
  • 🙈 .gitignore presets (Python, Node, Django…)
  • 💻 VS Code config (settings.json, launch.json, workspace)
  • 🔄 GitHub Actions workflow (.github/workflows/ci.yml)
  • 🔧 Idempotent: runs safely again without overwriting unless --force

⚡ Quick Start

Option 1 — run via Python module (always works)

cd MyProject
py -m reposmith.main init --entry run.py --with-vscode --with-ci

Option 2 — run via CLI (if Scripts folder is on PATH)

reposmith init --entry run.py --with-vscode --with-ci

Both commands will:

  • create .venv/
  • add requirements.txt, run.py, .gitignore, LICENSE, .vscode/
  • configure everything automatically with defaults

🚀 Usage

Basic:

reposmith init --entry main.py

With extras:

reposmith init --entry run.py --with-ci --with-gitignore --with-license --with-vscode --author "YourName"

Flags:

  • --force → overwrite existing files (with .bak backup)
  • --no-venv → skip creating .venv
  • --with-license → add LICENSE (MIT)
  • --with-gitignore → add .gitignore (Python preset by default)
  • --with-vscode → add VS Code config
  • --with-ci → add GitHub Actions workflow
  • --author / --year → customize LICENSE metadata
  • --ci-python → set Python version for CI (default: 3.12)

📦 Installation

py -m pip install --upgrade reposmith-tol

If PATH not configured, use:

py -m reposmith.main init --entry run.py

🧪 Development

Run tests:

python -m unittest discover -s tests -v

🗺️ Roadmap

  • Support additional templates (Django, FastAPI, React)
  • Interactive wizard (reposmith init --interactive)
  • More license options (Apache-2.0, GPL-3.0)
  • Release workflow via GitHub Releases

🔗 Follow the project progress on GitHub Projects


🛡 License

This project is licensed under the MIT License.
© 2025 TamerOnLine


💬 Support


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

reposmith_tol-0.2.8.tar.gz (17.7 kB view details)

Uploaded Source

Built Distribution

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

reposmith_tol-0.2.8-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

Details for the file reposmith_tol-0.2.8.tar.gz.

File metadata

  • Download URL: reposmith_tol-0.2.8.tar.gz
  • Upload date:
  • Size: 17.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reposmith_tol-0.2.8.tar.gz
Algorithm Hash digest
SHA256 ad02216821a52dac99aeb448e7d1a63255934a4d194f9764374dc6e4c25a66ee
MD5 1d3d6062009267b0cb82afbe105713b3
BLAKE2b-256 d8b173e46e0442bd9c0a91813e0b88e7d2d82b3d437d1047eed928500b9994a1

See more details on using hashes here.

File details

Details for the file reposmith_tol-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: reposmith_tol-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 15.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for reposmith_tol-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 81c7a54a172f8edd4f33beff3206a1ebef26c5d2a2f81f5c3aa67e74ce3e24b6
MD5 ca86376339b6a03ecd9061bbb9fad17e
BLAKE2b-256 ecf81cb1a64bb5abcb297a5f6013224dd158ec0f4f2052722a9c02fe8e3579aa

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