A modern CLI for scaffolding and managing FastAPI projects with clean architecture.
Project description
🛠️ PyRTK - Python REST Toolkit CLI
PyRTK is a modern CLI tool to scaffold and manage clean, modular FastAPI projects and microservices — with style 😎
🚀 Installation (Recommended via pipx)
Make sure you have pipx installed:
brew install pipx && pipx ensurepath
# or
python3 -m pip install --user pipx && python3 -m pipx ensurepath
Then install PyRTK globally via pipx:
pipx install pyrtk-cli
Or install it via pip:
pip install pyrtk-cli
Now you can use the pyrtk command from anywhere 🎉
📦 Commands
pyrtk create <project-name> --type api|ms
Scaffolds a complete API or Microservice:
api: simple FastAPI project with routers, schemas, middleware, and main.pyms: full microservice architecture (core, models, services, routers, etc.)
Example:
pyrtk create panaderia --type ms
✅ This will also:
- Create a virtual environment inside the project
- Install dependencies
- Show you how to activate the environment manually
pyrtk run
Runs your FastAPI project automatically using the environment created.
cd panaderia
pyrtk run
This will launch the Uvicorn server using the right Python environment automatically 🚀
🔜 Coming Soon
pyrtk generate <type> <name>→ Auto-generate routers, schemas, models, etc.- Plugin system
- Custom project templates
- Docker & deployment helpers
🧡 Made with love by Andrés Mardones
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
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 pyrtk_cli-0.1.1.tar.gz.
File metadata
- Download URL: pyrtk_cli-0.1.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b13a908a1690bf7b22635e0ac9c90475331b6e2569f0496357249daebba8a500
|
|
| MD5 |
bc29ed249b0ae171e632f565be9d1e83
|
|
| BLAKE2b-256 |
7dbe43c6b7027cbabee366870bee12a42a4452666c8eb6e53798573a00a5c651
|
File details
Details for the file pyrtk_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: pyrtk_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43888ad888b48fa494e08d80adafc52d32e9aaa8af670e5f9c62aa670f5ac3f9
|
|
| MD5 |
161706f100bf7669a93c9c98819446b5
|
|
| BLAKE2b-256 |
33b90b51fbf5ae1e224cdb7389473903ac66b75a441a870db2de47bdc7a398af
|