Version 0.0.9 — Freakishly Good

Just Encapsulated
Controllers

The class-based system for building Application Program Interfaces. Clean, intuitive, and powerful routing for modern Python APIs.

routes/users.py
from jec import Route
from jec.decorators import log, speed, version

class UsersRoute(Route):
    @log
    @speed
    @version(">=1.0.0")
    async def get(self):
        # Automatically maps to GET /users
        return {"users": [...]}

Built for Modern APIs

Everything you need to build production-ready APIs, out of the box.

Class-Based Routes

Organize your endpoints with clean, intuitive class structures. Each HTTP method maps automatically.

Powerful Decorators

Add logging, performance monitoring, and version checks with simple decorators.

Version Control

Built-in API versioning with semantic version constraints for safe evolution.

Dev Console

Real-time debugging console to monitor requests, logs, and performance metrics.

FastAPI Powered

Built on top of FastAPI for async support, automatic OpenAPI docs, and validation.

Zero Boilerplate

Convention over configuration. Get started in seconds with sensible defaults.

Get started in seconds

Install JEC and create your first API endpoint with just a few lines of code.

1
Install via pip
2
Create your route class
3
Run your server
Terminal
$ pip install jec-api

$ python app.py
INFO:     Uvicorn running on http://127.0.0.1:8000
INFO:     Dev console at /__dev__