Metadata-Version: 2.5
Name: mitti
Version: 0.1.0
Summary: A Python ASGI framework unifying concurrent and parallel execution behind a synchronous application model.
Project-URL: Homepage, https://github.com/wayofpy/mitti
Project-URL: Source, https://github.com/wayofpy/mitti
Project-URL: Issues, https://github.com/wayofpy/mitti/issues
Author-email: Fauzan <13032255+grandimam@users.noreply.github.com>
License: MIT
License-File: LICENSE
Keywords: asgi,async,concurrency,framework,parallel,web
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP :: HTTP Servers
Classifier: Typing :: Typed
Requires-Python: >=3.13
Description-Content-Type: text/markdown

# mitti

mitti is a Python ASGI framework designed to unify concurrent and parallel
execution behind a synchronous application model.

Application code stays ordinary, synchronous Python. mitti owns the execution
machinery and decides *how* to run it — concurrently on GIL builds, and in
true parallel on free-threaded Python.

```python
from mitti import App

app = App()


@app.get("/users/{user_id}")
def get_user(user_id: int):
    return users.get(user_id)
```

## Status

Early alpha. The design is documented in [`docs/design.md`](docs/design.md);
the MVP covers ASGI, routing, path/query parameters, JSON responses, the
request object, dependency injection, basic validation, middleware,
lifespan, and a thread-based executor.

## Requirements

* Python 3.13+
* ASGI 3
* Free-threaded Python where available (GIL-enabled Python supported as a
  compatibility mode)

## Development

```bash
uv sync
uv run pytest
```
