Registry / logistics / odg-client

odg-client

JSON →
library0.10.0pypypiunverified

Client library for the Open Delivery Gear (ODG) platform, enabling interaction with delivery and logistics APIs. Current version 0.10.0, pre-1.0 with active development.

pip install odg-client
INSTALL
IMPORT
SIG · ODG-CLIENT
O
odg-client
logisticspythonv0.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ODGClient
from odg_client import ODGClient
from odg import ODGClient
Package name uses hyphen, but import uses underscore.

Initialize client and fetch deliveries. Uses environment variables for sensitive data.

from odg_client import ODGClient import os client = ODGClient( api_key=os.environ.get('ODG_API_KEY', 'your-api-key'), base_url=os.environ.get('ODG_BASE_URL', 'https://api.opendeliverygear.com') ) # List deliveries deliveries = client.get_deliveries() print(deliveries)
Debug
Known issues
breakingIn version 0.10.0, the method `fetch_orders` was renamed to `get_orders`. Old code will break.
fix
Replace `client.fetch_orders()` with `client.get_orders()`.
affects: >=0.10.0
deprecatedThe `timeout` parameter in the constructor is deprecated and will be removed in 0.12.0. Use `request_timeout` instead.
fix
Use `ODGClient(..., request_timeout=30)` instead of `timeout=30`.
affects: 0.10.0 - 0.11.x
gotchaThe API key must be passed as a keyword argument, not positional. Passing it as a positional argument will raise a TypeError.
fix
Always use `ODGClient(api_key='your-key')`.
affects: all
Upgrade
Version history
0.10.0latest on PyPI · released May 29, 2026
Audit
Dependencies
requestsrequiredHTTP client for API calls
pydanticrequiredData validation and settings management
Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources

No resource links recorded.

odg-client — pip install odg-client · libregistry