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.1.0.tar.gz (72.9 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.1.0-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: okepy-0.1.0.tar.gz
  • Upload date:
  • Size: 72.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for okepy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b39f1d280e8703abdb364615131011b511303305dd4f2386701796e22ccdd09a
MD5 5547cdb03c0904e6cfacb102304d3554
BLAKE2b-256 3c70acfe0c6f58c3bf450105c1ab33e1c7ed34a4e9b88258aa4c280be9bd0238

See more details on using hashes here.

File details

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

File metadata

  • Download URL: okepy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for okepy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 703c61d0fc6cb95afed67031b6055f2cbf2b26368d5b50e612b147bf255f9b03
MD5 690c025b65f1fd7f0f059120885a3fcc
BLAKE2b-256 f356cd3faba8ef0ddecbd8e0ca427dc44ca4b01f85dfe318a8ebc0a7137ec295

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