Skip to main content
ODP SDK logo

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

  1. Build the Package Locally
cd python_sdk
poetry build
  1. 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.
  1. 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
  1. Test the new functionalities pointing to PR, Dev or Prod

  2. Uninstall the package

pip uninstall -y dist/<your-package-name>-<version>-py3-none-any.whl

Metadata

Release files for odp-sdk 0.28.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for odp-sdk 0.28.10
File Size Uploaded Provenance Actions
odp_sdk-0.28.10.tar.gz 21.0 kB Without provenance Details for odp_sdk-0.28.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for odp-sdk 0.28.10
File Interpreter ABI Platform Actions
odp_sdk-0.28.10-py3-none-any.whl Python 3 none any Details for odp_sdk-0.28.10-py3-none-any.whl

Total release size: 48.3 kB

Release files / odp_sdk-0.28.10.tar.gz

Download URL odp_sdk-0.28.10.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
34da4e6f59f8dcdab2d3f36086448fd22b0a94a59e6fc45d0e65e9a29e54d254
BLAKE2b-256 checksum
How to use checksums
4a45cc61539f7265a887851dcdecc0ab74e88c002c7796c5306e4bfb0e956548
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Release files / odp_sdk-0.28.10-py3-none-any.whl

Download URL odp_sdk-0.28.10-py3-none-any.whl
Size 27.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c3442c5876754ddf6b23d652eb2b9df7b3f238d33e7e56474bbbe98790ca20a8
BLAKE2b-256 checksum
How to use checksums
a9a1cf5d9f68b7bdb27695a86bd48900fb11f09cd5d51853755c09ecc64b24b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.7

Security for odp-sdk 0.28.10

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.28.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page