Latest Release loading...

Build Without Boundaries

The async Python framework with a Rust-powered HTTP core that delivers 10x faster responses. Elegant architecture, maximum productivity, zero compromise.

$ pip install orionis
Scroll
Features

Everything you need,
nothing you don't

A complete toolkit for building extraordinary applications. Every feature is designed to maximize your productivity.

Rust-Powered HTTP Core

Revolutionary HTTP engine built on Granian ASGI/RSGI. Responses 10x faster than traditional Python frameworks.

Async-First Architecture

Built from scratch for async/await patterns. Handle millions of concurrent connections with sub-millisecond response times.

Reactor CLI

Smart command line with distributed task management, custom commands, task scheduling, and enterprise-level job processing.

Security by Design

Enterprise-grade security with built-in authentication, middleware protection, and OWASP compliance from day one.

Elegant Architecture

Service providers, middleware, dependency injection, and facades. Clean patterns that scale from startups to enterprises.

Native Testing Suite

Testing framework designed for async applications. Expressive syntax, parallel execution, and complete coverage.

Developer Experience

Code that feels
like home

Intuitive patterns, expressive syntax, and a familiar architecture. If you've used modern frameworks before, you'll feel right at home.

bootstrap/app.py
from pathlib import Path
from app.console.scheduler import Scheduler
from app.exceptions.handler import ExceptionHandler
from orionis.foundation.application import Application

app = Application(base_path=Path(__file__).resolve().parent.parent)

app.withRouting(
  console="routes/console.py",
  web="routes/web.py",
  api="routes/api.py",
  health="/up"
)

app.withScheduler(Scheduler)
app.withExceptionHandler(ExceptionHandler)
app.withProviders(
  AppServiceProvider,
  # Add additional providers below...
)

# Boot the application and prepare the runtime environment
app.create()
          
Application Bootstrap

Clean, declarative setup

Configure your entire application in a single file. Routes, middleware, schedulers, exception handlers — all declared explicitly. No magic, no hidden configuration.

Service Providers

Powerful dependency injection

Register services with elegant contracts. Singleton, transient, or scoped lifecycles — the IoC container resolves dependencies automatically through type annotations.

app/providers/app_service_provider.py
from orionis.container.providers.service_provider import ServiceProvider
from app.contracts.email import IEmailService
from app.services.email import EmailService

class AppServiceProvider(ServiceProvider):

    def register(self):
        self.app.singleton(
            IEmailService,
            EmailService
        )

    async def boot(self):
        # Called after all providers are registered
        pass
Terminal
# Start the development server
$ python -B reactor serve

# Generate a new command
$ python -B reactor make:command sync_users

# Run scheduled tasks
$ python -B reactor schedule:work

# Execute tests
$ python -B reactor test

# List all available commands
$ python -B reactor list
Reactor CLI

Your command center

Generate components, run tests, start servers, manage scheduled tasks — everything from a unified, intelligent CLI. Extensible with custom commands.

Architecture

Designed for
real-world scale

A layered architecture inspired by the best frameworks. Every component has a clear responsibility and a well-defined lifecycle.

HTTP / CLI

Routes Controllers Commands Middleware

Service Layer

Providers Facades Services Jobs

Core

IoC Container Request Lifecycle Exception Handler Scheduler

Infrastructure

Granian ASGI/RSGI Async Event Loop Worker Management Security
🎯

Convention over Config

Sensible defaults that just work. Override only what you need.

🔌

Modular by Design

Service providers, deferred loading, and clean separation of concerns.

🧪

Test-First Mindset

Native testing suite with async support, mocking, and parallel execution.

Performance

Numbers that
speak for themselves

Powered by Granian, the fastest HTTP server in the Python ecosystem, built with Rust. Real benchmarks, real performance.

455k+
Requests/sec
Granian RSGI projected
<2ms
Avg Latency
Granian internal benchmarks
2.6x
vs FastAPI
JSON serialization throughput
6.6x
vs Django
JSON serialization throughput

Requests per second — JSON serialization

Based on TechEmpower Framework Benchmarks Round 22 · Granian RSGI baseline for Orionis

Orionis
~455k*
FastAPI
~177k
Django
~69k
Flask
~30k

* Estimated: Granian RSGI scored 652k raw (TechEmpower R22). Orionis adds framework overhead, projected ~455k req/s.

A
ASGI
Async standard
R
RSGI
Rust-powered

Ready to build without limits?

Install Orionis in seconds and start shipping high-performance async Python apps.

$ pip install orionis