Skip to main content

The Python equivalent of create-vite: an interactive, modular, plugin-driven CLI that scaffolds production-ready Python backend projects.

Project description

Python 3.10+ MIT License Django FastAPI Flask

okepy

Scaffolds production-ready Python backend projects with an interactive wizard. Think create-vite for Python — no more copy-pasting boilerplate.

uvx okepy create

1. Install

pip install okepy

No install needed:

uvx okepy create
pipx run okepy create

2. Create a project

Run the wizard:

okepy create

Pick your framework, database, auth methods, and features from the prompts. The CLI generates a complete project with a virtual environment, dependencies installed, and everything wired together.

Skip the prompts for scripting or CI:

okepy create --name myapi --framework django --type api --defaults

Available flags:

  • --frameworkdjango, fastapi, flask
  • --typeapi, ssr, hybrid
  • --databasesqlite, postgres
  • --deploynone, docker
  • --with — feature flags like auth, jwt, postgres, celery, docker, s3, social, and more
  • --defaults — skip all prompts with sensible defaults
  • --force — overwrite existing directory

3. Run it

cd myapi
source .venv/bin/activate
cp .env.example .env
python manage.py migrate
python manage.py runserver

Your API is live at http://localhost:8000.


Features

Category Features
Auth Email/password, JWT, refresh tokens, Google OAuth, GitHub OAuth, magic link, OTP
Database PostgreSQL, SQLite
Infrastructure Redis, Celery, Docker
Storage AWS S3, Cloudinary
Docs Swagger, ReDoc
Quality Pytest, logging, GitHub Actions

Pass any combination: okepy create --with auth --with jwt --with docker --with s3

Contributing

See CONTRIBUTING.md.

License

MIT

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

okepy-0.2.0.tar.gz (86.7 kB view details)

Uploaded Source

Built Distribution

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

okepy-0.2.0-py3-none-any.whl (64.3 kB view details)

Uploaded Python 3

File details

Details for the file okepy-0.2.0.tar.gz.

File metadata

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

File hashes

Hashes for okepy-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5606b7ba4e7a415c9e3db7fe85ad076ecd440c2e96d3689f5cd13a63d4a813d2
MD5 1c9546d44d9d65f14ac7c3e970c45531
BLAKE2b-256 a1ec53db30ec3e0ea1a50ea15104d6e39d149069590fcbd5aeb2eb296d620868

See more details on using hashes here.

Provenance

The following attestation bundles were made for okepy-0.2.0.tar.gz:

Publisher: workflow.yml on Okapi-Labs/okepy

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

File details

Details for the file okepy-0.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for okepy-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e9f13061855c4e1be2a5c1d5e02c53bd1389fe798ae50c655cc4f8f3a35b0da
MD5 f3b4689cd85f81ac0408b3cdeb512bac
BLAKE2b-256 e889e605a0b8fb14621ddc04be2800a05a1c52356260718577146ba055a45b9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for okepy-0.2.0-py3-none-any.whl:

Publisher: workflow.yml on Okapi-Labs/okepy

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