ODP Python SDK
Project description
ODP Python SDK
Connect to the Ocean Data Platform with Python through the Python SDK. Download queried ocean data easily and efficiently into data frames, for easy exploring and further processing in your data science project.
Documentation
https://docs.hubocean.earth/sdk/
Installation
Use the package manager pip to install the Ocean Data Platform Python SDK.
pip3 install odp_sdk
Usage
Note: Accessing the Ocean Data Platform requires an authorized account. Contact ODP to require one.
from odp.client import OdpClient
client = OdpClient()
for item in client.catalog.list():
print(item)
Examples can be found in /examples.
Testing in Python Notebook
- Build the Package Locally
cd python_sdk
poetry build
- Create a python notebook and test the package
- Building a python vitual environment locally will help you avoid conflicts with other versions of this package.
- Install the Package Locally from the dist folder
pip install dist/<your-package-name>-<version>-py3-none-any.whl
To install in editable mode:
pip install -e dist/<your-package-name>-<version>-py3-none-any.whl
-
Test the new functionalities pointing to PR, Dev or Prod
-
Uninstall the package
pip uninstall -y dist/<your-package-name>-<version>-py3-none-any.whl
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file odp_sdk-0.28.9.tar.gz.
File metadata
- Download URL: odp_sdk-0.28.9.tar.gz
- Upload date:
- Size: 21.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11dd580a46b79e4ec86a7b71e78cc6faf981dbbbd2c78aaecbcd5cb70e0aae59
|
|
| MD5 |
4b24920a91bc8983f4502cb857e8c892
|
|
| BLAKE2b-256 |
abf0363b05881947bc0b03586a24d5b3177ddd4e99e60c611ffe30373a936acc
|
File details
Details for the file odp_sdk-0.28.9-py3-none-any.whl.
File metadata
- Download URL: odp_sdk-0.28.9-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa0497ff08e01362810d141c67ed48bc29043450e63478de6dbfa3418fc8dcb7
|
|
| MD5 |
9caf77853c95596a40c60d44128ea5ad
|
|
| BLAKE2b-256 |
fde4b82062d5addb4fc5212a8322f329712ba298458509b9f42ce8e3e0252b96
|