Skip to main content

stk

stk

Async Python framework with batteries you actually need.
Auth, 2FA, WebAuthn, OAuth, WebSockets, admin dashboard, Vue 3 frontend. No build step, no third-party auth services. One codebase, you own everything. STK makes SaaS apps legible, changeable, testable, and operable by agents.

License: MIT Python 3.11+ uv

Docs · llms.txt · Tutorials


uvx --from stkit stk init myapp && cd myapp
uv run stk db upgrade       # database via Alembic
uv run stk install          # admin user
uv run stk run              # localhost:5000

Your app is its own package that composes stk, not a fork of it. Upgrading stk is a version bump.

Why stk

Most frameworks give you routing and leave the rest as homework. Auth alone eats weeks. Then you bolt on Clerk or Auth0, hand your users' credentials to a third party, and pay per-MAU for the privilege.

stk ships what actually matters:

You own your auth. Login, session management, TOTP 2FA (Google Authenticator, Authy, 1Password), WebAuthn passkeys (Touch ID, YubiKey), recovery codes, OAuth (Google, GitHub). Production code, not a tutorial. Your users' data stays on your server.

Async all the way down. Quart + async SQLAlchemy + aiosmtplib + native WebSockets. Not async bolted onto a sync framework. Real concurrency without threads, workers, or callback hell.

No JS build step. Vue 3 + Vuetify 4 loaded directly in the browser. No webpack, no vite, no node_modules, no npm. Delete your frontend toolchain. Still get a polished admin dashboard with data tables, dark mode, collapsible sidebar, 5000+ icons.

SQLite by default. Deploy anywhere. No managed database required. PostgreSQL when you need it, not when the framework demands it.

No Celery, no Redis (unless you want them). Background tasks run on asyncio. Session store works with cookies or Redis. Complexity is opt-in.

Built to be operated by agents. stk inspect reports routes, auth guards, models, and commands as JSON. stk verify and stk smoke are a real gate: lint, migration drift, and a real browser that fails on console errors and invisible text. The docs ship in the repo and the gate fails when they drift from the code.

Want payments? ReadyKit adds Stripe, multi-tenancy, and teams on top of stk.

What's included

  • Auth and security: Argon2id passwords (12 char minimum), TOTP 2FA, passkeys as first or second factor, recovery codes, Google and GitHub OAuth with PKCE and verified emails, session tracking by IP and device, account lockout, per-IP rate limits shared across workers, CSRF on every mutation. Public sign-up is off by default.
  • Admin dashboard: users, roles, and an activity audit log, with server-paginated tables and JSON APIs.
  • Real-time: authenticated, origin-checked WebSockets that push to a named user and close when the session ends.
  • Frontend: Vue 3 and Vuetify 4 with no build step, dark mode, collapsible sidebar, notifications, Tabler Icons.
  • Tooling: one CLI, stk: run, shell, new, db, doctor, verify, smoke, inspect, report, and user management.
  • Deploy: a one-command VPS script (Caddy, systemd, hardened OS) or Docker Compose with PostgreSQL, Redis, and Nginx.

Stack

Layer Tech
Runtime Python 3.11+, uv
Web Quart (async Flask)
ORM SQLAlchemy 2.0+ async
Database SQLite (default), PostgreSQL (optional)
Migrations Alembic
Auth quart-security (2FA, WebAuthn, OAuth)
Frontend Vue 3, Vuetify 4, Axios
Server Uvicorn (ASGI) behind Caddy or Nginx

Documentation

Everything else lives at docs.stk.dev, and in this repo at docs/src/content/docs/: quick start, build loop, models, frontend, authentication, configuration, CLI reference, deployment, and working with agents. Upgrade notes are in CHANGELOG.md; the production security contract is SECURITY.md.

License

MIT

Metadata

Release files for stkit 17.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stkit 17.0.2
File Size Uploaded Provenance
stkit-17.0.2.tar.gz 1.6 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for stkit 17.0.2
File Interpreter ABI Platform
stkit-17.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 3.1 MB

Release files / stkit-17.0.2.tar.gz

Download URL stkit-17.0.2.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
bde639bf7067eff126137e8252a5e72acaef4e34dff03d7cc2ec93f2403cf180
BLAKE2b-256 checksum
How to use checksums
2b90dbf2af2b01f0c6e25a759ba1f0330ea5299545ea39075970a00a00fc1e37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / stkit-17.0.2-py3-none-any.whl

Download URL stkit-17.0.2-py3-none-any.whl
Size 1.5 MB
Tags Python 3
SHA-256 checksum
How to use checksums
0bbcdd87624bcf646019fd4f7f55841aa64f0912a1bb2e1d38c57c238128b1b6
BLAKE2b-256 checksum
How to use checksums
1e368d7594b7ab4ce8b7ec29610e47396a91a51bff99eee6b9841153368216a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for stkit 17.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page