This release is a pre-release and may not be stable for production use.
omle-server
Inference server for OMLE models, speaking the Open Inference Protocol over both REST and gRPC.
pip install omle-server
omle-server # configs/server.json, or built-in defaults
omle-server /etc/omle/server.json # an explicit config
This package is a delivery vehicle for a compiled binary, not a Python library.
Installing it puts omle-server on PATH; that console script execs the native
executable, so no Python remains in the process once the server is running.
Requirements
OpenSSL 3 must be present on the system. Everything else the server needs — gRPC, Abseil, protobuf, Drogon, jsoncpp, simdjson and the OMLE runtime itself — is linked statically into the binary, so there is nothing else to install.
OpenSSL is the deliberate exception. Bundling it would freeze a cryptographic library at build time, cut off from the security updates the operating system provides, and it could then only be patched by releasing a new wheel. It ships with every current Linux distribution and is in the Homebrew baseline on macOS:
# only if it is somehow missing
apt install libssl3 # Debian / Ubuntu
dnf install openssl-libs # Fedora / RHEL
brew install openssl@3 # macOS
Wheels are published for linux-x86_64, linux-aarch64 and macos-arm64. Other platforms build from source — see the repository README.
Configuring
The binary reads a JSON config file, and these environment variables override whatever it contains:
| Variable | Default | Meaning |
|---|---|---|
OMLE_MODEL_DIR |
/models |
directory scanned for .omle files |
OMLE_REST_PORT |
8080 |
REST listen port |
OMLE_GRPC_PORT |
8081 |
gRPC listen port |
OMLE_MODEL_DIR=./models OMLE_REST_PORT=9000 omle-server
There is deliberately no Python wrapper translating arguments into these. It could only restate what the binary already does, and would drift from it. To launch the server from Python, run it as a subprocess like any other program:
import os, subprocess
import omle_server
proc = subprocess.Popen(
[omle_server.binary_path()],
env={**os.environ, "OMLE_MODEL_DIR": "/models"},
)
omle_server.binary_path() returns the absolute path to the bundled
executable, and is the only function this package exposes.
Checking it works
curl localhost:8080/v2/health/ready # 200 once the registry has loaded
curl localhost:8080/v2/models/<name> # input/output metadata
Related packages
omle— the model IR and convertersomle-runtime— the local runtimeomle-spark— PySpark transformer
License
Apache-2.0
Release files for omle-server 0.1.0rc5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omle_server-0.1.0rc5-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| omle_server-0.1.0rc5-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details |
| omle_server-0.1.0rc5-py3-none-macosx_26_0_arm64.whl | Python 3 | none | macOS 26.0+ ARM64 | Details |
Total release size: 24.3 MB
Release files / omle_server-0.1.0rc5-py3-none-win_amd64.whl
| Download URL | omle_server-0.1.0rc5-py3-none-win_amd64.whl |
|---|---|
| Size | 7.2 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
a0797b7e8b6bac29eb5e51544ddd1b92047ad866ffd5b4424165db7a779e1168
|
|
BLAKE2b-256 checksum How to use checksums |
2834357ef9865b5c578dde47a28501cd1c6ddd42bf6846969465075ebe4b89af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / omle_server-0.1.0rc5-py3-none-manylinux_2_28_x86_64.whl
| Download URL | omle_server-0.1.0rc5-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.1 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
0a03d4c4cf0d7f6318cd750e89359662123d1eb0a31d2f12552d15d94cfca546
|
|
BLAKE2b-256 checksum How to use checksums |
148c065883193a73ad9c8ad973d5e48beacd3e061ce9dbd42bf4b85810cb51a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / omle_server-0.1.0rc5-py3-none-macosx_26_0_arm64.whl
| Download URL | omle_server-0.1.0rc5-py3-none-macosx_26_0_arm64.whl |
|---|---|
| Size | 7.0 MB |
| Tags | Python 3 macOS 26.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b6578a74e8a046bf5289dd74d24090cdb2d87f1a4af9d61c95fa93b3d3c6b6b5
|
|
BLAKE2b-256 checksum How to use checksums |
1a168f87fdc85cf6b7901627c76ef8700b414cde0422ed29d8933db682e2bb2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log