Skip to main content

m0serve

A WSGI/ASGI server for Python applications, written in Mojo. Point it at a Django, Flask, FastHTML or Starlette app and it serves it — no Mojo toolchain required, no compilation step, nothing to configure.

pip install m0serve
m0serve myproject.wsgi:application

The protocol is detected from the object, so the same command serves WSGI and ASGI. m0serve --help lists the flags; --workers N, --threads N (on free-threaded CPython) and --blocking-threads N are the topology ones.

What is in the wheel

One compiled binary and the Mojo runtime it loads. No CPython — m0serve resolves libpython at run time from the interpreter it is installed beside, which is why there is no ABI tag and one wheel per platform covers CPython 3.10 through 3.14, free-threaded builds included. It has no Python dependencies and fetches nothing at install time.

Install it into the same virtual environment as your application, the way you would gunicorn or uvicorn; the console script points the embedded interpreter at that environment.

Platforms

platform status
macOS arm64 (Apple Silicon) supported
Linux x86_64 (glibc) supported
Linux aarch64 buildable, not yet shipped
macOS x86_64 (Intel) not possible — Modular ships no Intel Mac toolchain
musl / Alpine, Windows not supported

The wheel's filename carries the exact macOS and glibc floors it was built against. On an older system pip declines to install it rather than installing something that crashes.

Status

Pre-1.0 and deliberately small: HTTP/1.1 only, no TLS, no HTTP/2 — terminate at a proxy, which is gunicorn's answer too. The API will change before 1.0.

Source, documentation and issues: https://github.com/codetalcott/mojo-http

Licence

MIT, and the wheel redistributes third-party components under their own terms — the Mojo runtime (Apache-2.0 with LLVM Exceptions) and a fork of lightbug_http (MIT). Full text and attribution ship inside the wheel; see NOTICE.txt beside the installed package.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

m0serve-0.11.0-py3-none-manylinux_2_35_x86_64.whl (1.4 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ x86-64

m0serve-0.11.0-py3-none-manylinux_2_35_aarch64.whl (1.3 MB view details)

Uploaded Python 3manylinux: glibc 2.35+ ARM64

m0serve-0.11.0-py3-none-macosx_13_0_arm64.whl (1.2 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file m0serve-0.11.0-py3-none-manylinux_2_35_x86_64.whl.

File metadata

File hashes

Hashes for m0serve-0.11.0-py3-none-manylinux_2_35_x86_64.whl
Algorithm Hash digest
SHA256 2f2f0c4f13f475d3b183fb64608677bb7c40a7282a7c2fdf07c076ee69da88f3
MD5 207dccb54a0e8e45badce0951e6047c7
BLAKE2b-256 69db236d6f9d9e239880a0bb6939532bf870d1ec5643d143fc16cb876daf89d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for m0serve-0.11.0-py3-none-manylinux_2_35_x86_64.whl:

Publisher: release.yml on codetalcott/mojo-http

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file m0serve-0.11.0-py3-none-manylinux_2_35_aarch64.whl.

File metadata

File hashes

Hashes for m0serve-0.11.0-py3-none-manylinux_2_35_aarch64.whl
Algorithm Hash digest
SHA256 a119edcb565b98b087abc4d8ae5150ce1ae1c37b60f8759fd875b739b5cfdbd2
MD5 5b8c2ddbb3f3b11da1c2c9aa437f279e
BLAKE2b-256 16621f7fca602ce7e60e888a271b2e6c6a27366d49590dcf2ca861d78e0cdaf8

See more details on using hashes here.

Provenance

The following attestation bundles were made for m0serve-0.11.0-py3-none-manylinux_2_35_aarch64.whl:

Publisher: release.yml on codetalcott/mojo-http

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file m0serve-0.11.0-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for m0serve-0.11.0-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 d3222ff89a37d7917f22d6759163217aaaadb16b411ff56da25a1181666361d9
MD5 4836ff4f194fb7a20647d8b82c7a292a
BLAKE2b-256 b3c5bdffb8388729fffb2c857731ebce1115b9fefe98ff39d715c0c55238c5b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for m0serve-0.11.0-py3-none-macosx_13_0_arm64.whl:

Publisher: release.yml on codetalcott/mojo-http

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.17.0

3 files

0.16.0

3 files

0.15.1

3 files

0.15.0

3 files

0.14.1

3 files

0.14.0

3 files

0.13.0

3 files

0.12.0

3 files

This release

0.11.0 This release

3 files

0.10.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page