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.0

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.0
File Size Uploaded Provenance Actions
pybuoy-0.6.0.tar.gz 34.5 kB Without provenance Details for pybuoy-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 58.0 kB

Release files / pybuoy-0.6.0.tar.gz

Download URL pybuoy-0.6.0.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
2f060c7708e14feb5b9daf064b184d4eb49a112f19d68272aa3c16714c72dff1
BLAKE2b-256 checksum
How to use checksums
a34f09043848ee1cb218425e8a1b8db9bf483b3515decb3db3ea42297de935a3
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.0-py3-none-any.whl

Download URL pybuoy-0.6.0-py3-none-any.whl
Size 23.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98b0566dd2ca4b69ceb5158b433ada06d85dbc331049db37634486bb6e3fc633
BLAKE2b-256 checksum
How to use checksums
8b99b23973da62daa690d0ae8ea7fbcc90c3463503a24573f62402b78401c0e7
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.0

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