StreamSnatcher — rip and capture streams with style
Project description
Sprouter
⚡ Sprouter is a simple project setup utility. It creates a Python virtual environment, installs dependencies, and prepares a working directory for development — all from a single CLI entrypoint.
Think of it as a one-shot “project scaffolder” that asks where you want your project to live and does the boring setup for you.
✨ Features
- Prompts for a target directory (or take it as a CLI argument).
- Builds a
.venvvirtual environment inside that directory. - Installs all dependencies listed in
requirements.txt. - Ensures idempotency: if
.venvalready exists, it won’t overwrite it. - Can be wired up with
pyproject.tomlto install as a global command.
🚀 Usage
Clone or download this repo, then run:
cd sprouter
python3 -m sprouter.cli ~/Projects/myapp
You’ll see:
⚡ Creating virtualenv at /home/you/Projects/myapp/.venv
⚡ Installing dependencies from requirements.txt
Activate your environment:
source ~/Projects/myapp/.venv/bin/activate
Windows (PowerShell):
.\Projects\myapp\.venv\Scripts\Activate.ps1
🛠 Development
The code is split into two modules:
core.py→ core logic for environment creation & pip installs.cli.py→ command-line interface, argument parsing, user prompts.
This separation makes it easy to import sprouter.core in other Python scripts without invoking the CLI.
📦 Packaging (optional)
To install sprouter as a system-wide command:
-
Add this to your
pyproject.toml:[project] name = "sprouter" version = "0.1.0" dependencies = [] [project.scripts] bootstrapper = "sprouter.cli:main"
-
Install in editable mode:
pip install -e .
-
Now you can run:
sprouter ~/Projects/myapp
📄 License
This project is distributed under a custom license.
Use freely, hack ruthlessly, share improvements — but ownership remains with the author.
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
File details
Details for the file streamsnatcher-0.1.0.tar.gz.
File metadata
- Download URL: streamsnatcher-0.1.0.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6e232bb337a5257e031b1b81f689b588e6d08c895d1c509e0e54fa84982c4d59
|
|
| MD5 |
a310f553068de5e86e8ddd22e3b34058
|
|
| BLAKE2b-256 |
2e7ef95279cbfbee6a4452ee025514d68097496db46f93b4abfd1a9d5ac15e80
|
File details
Details for the file streamsnatcher-0.1.0-py3-none-any.whl.
File metadata
- Download URL: streamsnatcher-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
553b6793db4baba11e7a9d28747a62b62cc8d3afce0d73d3989711aa4de1c556
|
|
| MD5 |
db8d56765caf855ba47b19e851402ede
|
|
| BLAKE2b-256 |
fc3d13b9ee6705facc706145598181acd85c58f882e9afbe99c47aba1281df32
|