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

Uploaded Python 3

File details

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

File metadata

  • Download URL: okepy-0.1.1.tar.gz
  • Upload date:
  • Size: 73.0 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.1.tar.gz
Algorithm Hash digest
SHA256 87c512fba91566fa166a586b8c9dc5ac0c6ddce1f557ae51879ad28723b70fae
MD5 fbc10649ddcd5019d782b5c8dbc7a7f3
BLAKE2b-256 b37bb8db5ee216449962c87c944fa73eeae28b495056b97e48f9d963846260f9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: okepy-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 15c0ce8a3ac3804e329a6877c8f4440a2ec3f3fb84798a98b521f24a3e8b3843
MD5 26773eba091d131aeac12188a40de02f
BLAKE2b-256 4ecf0201358c7047f149791a96410abdff16442da49c602e1db4b477a4a129a6

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