Opyrator

github.com/ml-tooling/opyrator Developer Tools Open-source projectOpen source

Opyrator turns machine learning code into microservices with a web API and interactive interface.

github.com/ml-tooling/opyrator
Opyrator homepage screenshot

About Opyrator

Opyrator is an open-source tool that turns Python functions into microservices. From a single compatible function it generates an HTTP API based on FastAPI and an interactive web interface based on Streamlit, relying on open standards such as OpenAPI, JSON Schema, Python type hints and Pydantic models. Services can be kept local as running servers or exported as self-contained executable files or Docker images. The repository labels the project an alpha version and states it is suggested only for experimental usage.

Key features

  • Auto-generates an HTTP API based on FastAPI from a Python function
  • Auto-generates an interactive web UI based on Streamlit
  • Exports services as self-contained executable files or Docker images
  • Reuses pre-defined components and combines them with existing Opyrators
  • Compatible functions use Pydantic input and output models via type hints
Best for: Python and machine learning developers who want to expose a single function as an API or interactive interface for sharing and experimentation.
Good for
  • Open source with source code, documentation and runnable examples in the repository
  • Builds on open standards including OpenAPI, JSON Schema and Python type hints
  • One compatible function can be served as both an API and a web UI
Watch out for
  • Marked as an alpha version and suggested only for experimental usage
  • Functions must take an input parameter and return a value based on Pydantic models
  • Requires Python 3.6 or newer

Opyrator at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 6, 2026 · Online when checked
Listed
Oct 5, 2026

Opyrator alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Developer Tools

Well-known listings from the same topic.

All 423

Opyrator FAQ

What do I need to run Opyrator?
Python 3.6 or newer, with the package installed via pip install opyrator.
What makes a Python function Opyrator-compatible?
It must have an input parameter and a return value based on Pydantic models, specified through type hints.
How are the API and UI started?
From the command line, use opyrator launch-ui module:function for the web UI or opyrator launch-api module:function for the HTTP API; the output shows the local address where the service is served.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing