Skip to main content

A clean toolkit for bootstrapping and running Python backend services.

Project description

RightTeKit

RightTeKit is a clean Python toolkit for bootstrapping and running backend services with a simple CLI:

right init billing-api
cd services/billing-api
right launch --reload

What it includes

  • right init for scaffolding a FastAPI service
  • right launch for running a local app with Uvicorn
  • right test for consistent pytest execution
  • right version for package and CLI version info

Why this repo exists

This project takes the useful parts of a larger internal-style toolkit and starts from a smaller, cleaner base:

  • no import-time side effects
  • no unfinished CLI options shipped as if they work
  • standard pyproject.toml metadata instead of tool-specific packaging lock-in
  • straightforward templates instead of a heavy scaffolding stack

Installation

python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'

Using With Poetry

You do not push a package "to Poetry". You push this code to a git repository, and then Poetry can install it from that repository because this project already uses standard pyproject.toml metadata.

Push the code to your remote:

git add .
git commit -m "Initial RightTeKit package"
git remote add origin <your-repo-url>
git push -u origin main

Install it in another project with Poetry:

poetry add git+https://github.com/<org>/<repo>.git

Pin to a tag or branch when you want a stable install target:

poetry add git+https://github.com/<org>/<repo>.git#v0.1.0
poetry add git+https://github.com/<org>/<repo>.git#main

CLI

right init

Creates a FastAPI service in services/<name> by default.

right init billing-api
right init billing-api --directory .

right launch

Runs a local ASGI app. By default it looks for main:app in the current directory.

right launch
right launch --app main:app --reload --port 8080

right test

Wraps pytest with a few ergonomic flags.

right test
right test --coverage --html-cov
right test --file tests/cli

Project layout

righttekit/
├── righttekit/               # Python package
│   └── cli/                  # CLI commands and helpers
├── tests/                    # Unit tests
└── docs/                     # Lightweight project docs

License

Apache 2.0. See LICENSE.

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

righttekit-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

righttekit-0.1.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file righttekit-0.1.0.tar.gz.

File metadata

  • Download URL: righttekit-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for righttekit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6c57037294fbe310dabe98c51891fe706b5b8951678a2cb1698b619ba476844c
MD5 42599a4d7790cdfdca25667845c682ae
BLAKE2b-256 94005469fed7307c2b5480466e5caf01fde4b26f172c4e82c2aae219cf26b49c

See more details on using hashes here.

Provenance

The following attestation bundles were made for righttekit-0.1.0.tar.gz:

Publisher: publish.yml on 202rightechgh/rightechkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file righttekit-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: righttekit-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for righttekit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17e3c7dbc931cf4ae87cd838191f2b5a5f3494a3b3c102a3b524cc4895e8d4b0
MD5 c2c182e7d94713e1d2bfeeb6d9fda75b
BLAKE2b-256 d37bfc455b3d64725a39eca4645600a45003c7255614720042c9924889c27d2d

See more details on using hashes here.

Provenance

The following attestation bundles were made for righttekit-0.1.0-py3-none-any.whl:

Publisher: publish.yml on 202rightechgh/rightechkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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