Skip to main content

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.py
  • ms: 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

pyrtk_cli-0.1.2.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

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

pyrtk_cli-0.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file pyrtk_cli-0.1.2.tar.gz.

File metadata

  • Download URL: pyrtk_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyrtk_cli-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cf921bd000d75047b80198e0bbbbe5763392080b3e313e0f11c063c3136da1e6
MD5 171b6f65428230994352cd7b96da76e3
BLAKE2b-256 abe4c01d52fdd835c36bc33bf36d1397c8620d792ad65593621efe86cae81fd7

See more details on using hashes here.

File details

Details for the file pyrtk_cli-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyrtk_cli-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for pyrtk_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dd7cb6eed2f2f2eec246c9ef0df7768dfc276f584e41f310976059935394a903
MD5 8f0bd3f55f7472fb7a5c7398b83dfde0
BLAKE2b-256 15d46401a603355312b36036086f440acfe213f3129baf03db96767cfd590925

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