pyodata
Enterprise ready Python OData client
What it is and what it does
pyodata is a Python OData client that wraps the complexity of the OData V2 protocol, letting you work with remote data services through simple Python method calls instead of hand-crafted HTTP requests. It takes a Session Object and a service URL, then provides a Pythonic interface to query and manipulate data exposed by OData endpoints—commonly used with SAP and other enterprise systems that publish OData interfaces.
The library handles protocol marshalling, request construction, and response parsing internally. You supply the session and endpoint; pyodata manages query building and result deserialization. It requires Python >= 3.10 and depends only on lxml for XML parsing, making it lightweight and straightforward to integrate into existing Python applications.
Use it for:
- Query SAP systems or other enterprise OData services without writing raw HTTP requests or XML parsing code.
- Build data pipelines that fetch records from OData endpoints and transform them in Python.
- Integrate legacy enterprise APIs using OData V2 into modern Python applications with minimal boilerplate.
- Automate data synchronization between OData-based systems and Python-driven workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
pyodata is a Python client library that abstracts away OData protocol details, allowing you to query and interact with OData V2 services through a straightforward Python interface.
Yes. pyodata is actively maintained, has no known vulnerabilities, installs with minimal friction, and is licensed permissively. Install it if you need to interact with OData V2 services from Python. Skip it only if you're working exclusively with REST APIs that don't use OData, or if your target service uses a different OData version.
Install
pyodata on PyPI
pip
pip install pyodatauv
uv add pyodatapoetry
poetry add pyodataInstalling pyodata
Before you install
Low friction: pure Python wheel with a single runtime dependency (lxml). Actively maintained with a recent release and no known vulnerabilities. Supports Python 3.10 through 3.14.
License in practice
Licensed under Apache License Version 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.
Quickstart
import pyodata
SERVICE_URL = 'http://services.odata.org/V2/Northwind/Northwind.svc/'
# Create instance of OData client
client = pyodata.Client(SERVICE_URL, session_object)
Requires Python >= 3.10 and a Session Object compatible with the requests library interface to communicate with an OData service endpoint.
Verify before relying
- Specific OData V2 protocol features supported (filtering, expansion, pagination details)
- Performance characteristics with large result sets or complex queries
- Authentication mechanisms supported beyond what a Session Object provides
Package facts
| License | Apache License Version 2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — lxml |
| Maintenance | actively maintained — 24 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,868/month — #10,231 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: pyodata-1.12.0-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
odata-queryParses OData v4 filter strings and transpiles…
permissive · top 15,000 on PyPI
pyhdbA pure Python client library for connecting to…
permissive · top 15,000 on PyPI
sharepyHandles authentication to SharePoint Online and…
copyleft · top 15,000 on PyPI
sap-cloud-sdkProvides a unified Python SDK for interacting…
permissive · top 15,000 on PyPI
ai-api-client-sdkProvides Python methods and data structures to…
unclear · top 15,000 on PyPI
hana-mlConnects Python to SAP HANA to build machine…
unclear · top 15,000 on PyPI
sap-ai-sdk-baseA Python client library for accessing SAP's AI…
unclear · top 15,000 on PyPI
PowerPlatform-Dataverse-ClientA Python client library for Microsoft Dataverse…
unclear · top 15,000 on PyPI
hdbcliA PEP 249-compliant Python database driver for…
unclear · top 5,000 on PyPI
rapidataA Python client library for interacting with…
permissive · top 15,000 on PyPI