Extend your apps with Python

Databases
Python programming language
Overview

The Python integration lets you connect a Python-based backend or script as a data source in Jet Admin, so you can build an interface on top of custom Python logic without rewriting it as a REST API from scratch. It's a fit when your business logic already lives in Python and you want a UI in front of it.

Once connected, Python-backed data behaves like any other source in Jet Admin: you can join it to records from your own database, scope access by role, and route changes through an approval step before they take effect. Every action is tracked in the audit log alongside the rest of your app's activity.

What you can do
Connect a Python backend
Use a Python app as a data source so Jet Admin can read and write through it.
Run custom Python logic
Execute Python scripts as part of a Jet Admin action or workflow.
Transform data before display
Process or reshape data with Python before it reaches a Jet Admin view.
Use Cases
Scenario
What it looks like
Wrap a legacy system
Put a Jet Admin interface in front of an existing Python service without rebuilding it.
Custom calculations
Run business logic that's easier to express in Python than in no-code tools.
Data pipelines
Use Python to clean or transform data as part of an internal workflow.

Key benefits

  • Reuse existing Python code. Put an interface in front of logic you've already written, instead of rebuilding it.
  • Joins with your other data. Combine Python-backed data with records from your own database in one view.
  • Role-based access. Control who can view or trigger Python-backed actions.
  • Full audit trail. Every action is logged alongside your other data changes.

How to connect Jet Admin with Python

  1. In Jet Admin, go to Data Sources and select Python.
  2. Follow the setup steps to install and expose your Python app so Jet Admin can connect to it.
  3. Provide the connection details Jet Admin needs to reach your Python backend.
  4. Test the connection to confirm Jet Admin can read (and write, if applicable) through it.
  5. Build a table, form, or action in Jet Admin using your Python-backed data source.