Skip to main content

pybuoy - Python NOAA/NDBC API Wrapper

Latest Version Supported Python Versions PyPI - Monthly Downloads

pybuoy is a Python wrapper for NOAA and NDBC REST web services.

Installation

pybuoy is supported on Python 3.12+ and can be installed with pip or a package manager like uv:

pip install pybuoy
uv add pybuoy

Quickstart

from datetime import UTC, datetime, timedelta

from pybuoy import Buoy

buoy = Buoy()

# Realtime observations from a station, newest first.
latest = buoy.realtime.get("44065")[0]
print(latest.time, latest.wind_speed, latest.wave_height)

# Every active station.
stations = buoy.stations.get_active()

# Wind and wave forecast for a point.
now = datetime.now(UTC)
forecasts = buoy.forecasts.get(40.368, -73.701, now, now + timedelta(days=3))

Results are plain dataclasses. Times are timezone-aware UTC and a value is None when the source did not report it. Observations keep the units NDBC publishes and forecasts are in metres and metres per second; pybuoy.units gives the unit of every numeric field.

Metadata

Release files for pybuoy 0.6.1

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

Source distribution (sdist)

Source distribution for pybuoy 0.6.1
File Size Uploaded Provenance Actions
pybuoy-0.6.1.tar.gz 34.9 kB Without provenance Details for pybuoy-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pybuoy 0.6.1
File Interpreter ABI Platform Actions
pybuoy-0.6.1-py3-none-any.whl Python 3 none any Details for pybuoy-0.6.1-py3-none-any.whl

Total release size: 58.5 kB

Release files / pybuoy-0.6.1.tar.gz

Download URL pybuoy-0.6.1.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
996e9848f488585284fccd640eeeca31ffa27cce88ed19e5f3a3090c60aa3535
BLAKE2b-256 checksum
How to use checksums
01230d65710bffbfa8bc57dc8bf7990c1ccd99a352f36f13ecbbf7995df9bf1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pybuoy-0.6.1-py3-none-any.whl

Download URL pybuoy-0.6.1-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e7b607ec7d5067174983ed8f03656e74f6d3cc2d3cfa2f53abf6a7dc815f6d0
BLAKE2b-256 checksum
How to use checksums
4a9ae71aee2fae89177146f687abc4e4592da68c9b15a92e600f462619c0e0ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for pybuoy 0.6.1

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.

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