skillfed

pyodata

Enterprise ready Python OData client

pyodata v1.12.0 176.9K downloads/30d#10,231 on PyPI268
Permissive license Apache License Version 2.0 Active released

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 pyodata

uv

uv add pyodata

poetry

poetry add pyodata

Installing 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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Software DevelopmentTopic :: Software Development :: Libraries :: Python Modules

Tags

odata client pythonodata v2 pythonsap odata integrationenterprise data access pythonodata service clientpython odata queryodata protocol wrapper
odataenterprise-integrationsap

More Software Development packages