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.3.tar.gz (7.7 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.3-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyrtk_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 7.7 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.3.tar.gz
Algorithm Hash digest
SHA256 c3f17eba0605c2346cd2ab750ca1e1cf750e52066bdbdd32b73c32a787305e4f
MD5 55e9079136b601ecb048aa900e77d5bc
BLAKE2b-256 f15efbf0bd02b3a11e1fd7109b11f8bd7ce4eae9cc78842125f6408c801627ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyrtk_cli-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4d47331fcf45015e013f5e5e312c40376e8d4822616620aad8f0a3880d0d2acd
MD5 435b682e5ff8a611683ac1078dcce98f
BLAKE2b-256 48a250280259038112ed30bfd99dc8a48565997b32081d98fbfc9d781de84fba

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