Skip to main content

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

Project description

⚡ RepoSmith

PyPI version Python License Sponsor

RepoSmith is a lightweight & portable CLI tool that helps you bootstrap new Python projects instantly 🚀.
With one command, you get a ready-to-code environment including virtualenv, config files, VS Code setup, .gitignore, and license.


✨ Features

  • 🚀 Quick project setup with a single command
  • 🐍 Python ≥ 3.12 support
  • 📦 Automatic virtual environment creation (.venv)
  • 📂 Generates essential files:
    • setup-config.json, requirements.txt, app.py
    • .vscode/ (settings + launch config)
    • .gitignore, LICENSE
  • ⚙️ Preconfigured GitHub Actions workflow
  • 🛡️ Built-in MIT license template

⚡ Quick Start

cd MyProject
py -m reposmith.main

This will:

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

👉 Optional flags:

  • --ci create → add GitHub Actions workflow
  • --author "YourName" → set your name in LICENSE

📦 Installation

From PyPI

pip install reposmith-tol

From Source

git clone https://github.com/liebemama/RepoSmith.git
cd RepoSmith
pip install -e .

🚀 Usage

CLI

# Create new project structure in current folder
reposmith --ci create --gitignore python --author "Tamer"

Example

cd MyNewProject
reposmith --ci create --gitignore django --license MIT --author "Tamer"

🧩 Library API

from reposmith.venv_utils import create_virtualenv, upgrade_pip, install_requirements

venv_dir = "./.venv"
req_file = "./requirements.txt"

create_virtualenv(venv_dir)
upgrade_pip(venv_dir)
install_requirements(venv_dir, req_file)

🛡️ License

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


💖 Support this project

If you find RepoSmith useful, consider supporting its development:
👉 Sponsor us on GitHub

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.0.tar.gz (13.6 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.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reposmith_tol-0.2.0.tar.gz
  • Upload date:
  • Size: 13.6 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.0.tar.gz
Algorithm Hash digest
SHA256 edc2f9c24a5523abb91b7d5dbd50632909bece7d81baa3b5f5652cc3649a8192
MD5 86d85f5e987e92aa835d5d26c04ae5ad
BLAKE2b-256 8ee17267f2c61c77a21a7bf748e8dbc5dfc41d070d7efefc08789cebc7fe1b70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reposmith_tol-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8494429782a09c848ba39198f7d730e2914d6f3af4c52af64413bf18bf6b6d42
MD5 96e42e59343169a2a21614989c1f7a0d
BLAKE2b-256 7ef44cf10b8882825c2a4b3f63fb631b6c9c05ddb4fdf233c62948333bdb537f

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