Understand Python work and share what matters
Inspect Python scripts and notebooks, track experiments and compare results. Share selected functions through REST APIs or MCP tools.
Apizr 0.4.6. Python 3.11–3.15 · Open source, GPL-3.0-or-later.
Choose your next step
Start here
Choose a path, install the right environment and inspect code or make a first call.
Examples
Download complete files for six goals, with requests, results and useful failures.
User guide
Work with your script or notebook: inspect, optionally run/compare, then share.
Developer guide
Prepare public functions, compile through Python, call services and validate in CI.
Operations guide
Prepare permissions and runtimes, verify services and hand over delivery evidence.
Architecture guide
Follow the components, compilation, execution and delivery boundaries with diagrams.
Reference
Find exact commands, APIs, formats and compatibility details.
Installation and package availability · What’s new · Release history
From Python code to REST and MCP
Bring existing Python expertise into your applications and AI workflows. See how Apizr turns a route optimizer into callable interfaces.
English narration · English captions
Continue with Apizr Academy: follow the tutorials in order and read the written lessons.
Read the transcript
Put your business logic to work. For an operations team, time on the road matters. Your Python code already plans better routes. Apizr helps make that expertise available to the people and systems that need it.
Keep the expertise you already have. Here, a specialist has prepared a route optimizer in a notebook. The next step is to connect it to the dispatch application, using the same calculation.
Understand what you can expose. First, inspect the notebook with Apizr. It identifies the functions and reports which can generate an interface. Your team chooses the capability to make available.
Connect your operational applications. Select the route optimizer and generate REST. Apizr creates the application and its API contract. The dispatch system now has an interface it can call.
Generated code your team can inspect. These are the generated files. Your developers can inspect and run them. The adapter connects incoming requests to your existing function, keeping the business calculation in one place.
Put the generated API to work. Start the generated application and send a list of stops. The response contains a proposed route and its driving estimate. This is what the dispatch interface will use.
See the operational impact. Now the result becomes visible. On this eight-stop example, the estimated driving time drops from about one hundred and one minutes to forty eight.
Adapt when the workload changes. For a different twelve-stop tour, call the same API again. The route changes, with a fifty four percent improvement over this starting order. These estimates do not include live traffic.
Make the same capability available to AI. Next, use Apizr to generate an MCP server from the same function. An assistant can use the existing calculation as a tool, rather than estimate the route itself.
Turn a business request into an action. Ask Ollama to add the Pantheon while keeping the existing stops. Our local interface passes the generated tool definition to the model, then forwards its chosen call through MCP.
The same logic serves another channel. The tool returns a thirteen-stop tour. The map updates from that result. The application and the assistant now use the same underlying business logic.
Existing expertise. New applications. Inspect your Python. Choose what to expose. Generate REST and MCP interfaces with Apizr. Bring existing expertise into your applications and AI workflows.
Choose what becomes public
Choose the functions clients can call; their helpers stay private. Generate REST endpoints or MCP tools, then continue with your own project.
Decide how calls execute
The Quickstart runs trusted code in the server process. For workers, timeouts or containers, see execution options.
Tools using Apizr
- Trunx — a private registry for software packages and container images. Trunx uses Apizr to publish REST and MCP services within its deployment approval workflow.
Explore the MCP ecosystem
Find Apizr's analysis plugin on Glama and the official MCP Registry. It helps an assistant explore your project. To let an assistant call your own functions, follow the MCP guide.
Follow Apizr Academy, watch the tutorials throughout these guides or visit Alien6 Studio on YouTube.
Want to improve Apizr? The contributor guide covers development setup, tests and pull requests.