Skip to main content

ODP Python SDK

Project description

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

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

odp_sdk-0.28.9.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

odp_sdk-0.28.9-py3-none-any.whl (27.6 kB view details)

Uploaded Python 3

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

Hashes for odp_sdk-0.28.9.tar.gz
Algorithm Hash digest
SHA256 11dd580a46b79e4ec86a7b71e78cc6faf981dbbbd2c78aaecbcd5cb70e0aae59
MD5 4b24920a91bc8983f4502cb857e8c892
BLAKE2b-256 abf0363b05881947bc0b03586a24d5b3177ddd4e99e60c611ffe30373a936acc

See more details on using hashes here.

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

Hashes for odp_sdk-0.28.9-py3-none-any.whl
Algorithm Hash digest
SHA256 aa0497ff08e01362810d141c67ed48bc29043450e63478de6dbfa3418fc8dcb7
MD5 9caf77853c95596a40c60d44128ea5ad
BLAKE2b-256 fde4b82062d5addb4fc5212a8322f329712ba298458509b9f42ce8e3e0252b96

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page