A Python library for the WindBorne API. Import it in
Python, or run it from the command line as windborne.
The API documentation covers every endpoint's parameters and responses, with Python and CLI examples.
Installation
pip install windborne
Authentication
Set your WindBorne API key as an environment variable:
export WB_API_KEY="your_api_key"
See Authentication for how to get a key.
Quick Start
Each API key's access is scoped to specific data, such as forecasts or observations, so some of these examples may not work with your key. See Getting Started for details.
from windborne import get_point_forecasts_interpolated, get_observations, get_events
# WeatherMesh-6 forecast for New York from the latest run
forecast = get_point_forecasts_interpolated(coordinates="40.7,-74.0", model="wm-6")
# Six hours of balloon observations, saved as a CSV
get_observations(
start_time="2026-01-01T00:00:00Z",
end_time="2026-01-01T06:00:00Z",
output_file="observations.csv",
)
# Retrieve detected atmospheric rivers from the latest WeatherMesh-6 run
events = get_events("atmospheric_river")
The same requests from the command line:
windborne points_interpolated "40.7,-74.0" -m wm-6
windborne observations 2026-01-01T00:00:00Z 2026-01-01T06:00:00Z observations.csv
windborne events list atmospheric_river
API Overview
| API Documentation | Functions |
|---|---|
| Observations | get_observations, get_super_observations, poll_observations, get_soundings, get_sounding |
| Atlas | get_flying_missions, get_flight_path, get_predicted_path, get_current_location, get_constellation_status, get_mission_launch_site |
| Point Forecasts | get_point_forecasts_interpolated, get_point_forecasts, get_point_forecast_conditions, get_interpolated_sounding |
| Gridded Forecasts | get_gridded_forecast, get_full_gridded_forecast |
| Forecast Availability | get_initialization_times, get_archived_initialization_times, get_run_information, get_variables, get_available_stations |
| Weather Context | get_weather_context, get_climatology, get_climatology_summary, get_recent_asos_observations |
| Tropical Cyclones | get_tropical_cyclones, get_tropical_cyclone, get_tropical_cyclone_index, get_tropical_cyclone_init_times |
| Weather Events | get_events, get_event, get_event_index, get_event_init_times, get_event_context |
| Custom Calculations | validate_calculation, calculate_gridded, calculate_points, calculate_threshold |
| Degree Days | get_population_weighted_hdds, get_population_weighted_cdds |
| Webhooks | create_webhook, list_webhooks, get_webhook, update_webhook, delete_webhook, add_webhook_subscription, update_webhook_subscription, delete_webhook_subscription, ping_webhook_subscription |
To view a function's arguments, run help(function) in Python. To view a command's
options, run windborne <command> --help.
Help
See the release notes for changes between versions, and README_dev.md for development of this package.
For further assistance, ask your WindBorne contact or email data@windbornesystems.com.
Metadata
Release files for windborne 2.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| windborne-2.1.0.tar.gz | 110.2 kB | Without provenance | Details for windborne-2.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| windborne-2.1.0-py3-none-any.whl | Python 3 | none | any | Details for windborne-2.1.0-py3-none-any.whl |
Total release size: 174.2 kB
Release files / windborne-2.1.0.tar.gz
| Download URL | windborne-2.1.0.tar.gz |
|---|---|
| Size | 110.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
375698471e8aa12f7c76f4a72b8a724b1ea87b50c33d28bf61791248cde44e48
|
|
BLAKE2b-256 checksum How to use checksums |
33e256bcdc6939a837c72b8044fddcb1995095500fb4d0ef83a229b0133f78a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / windborne-2.1.0-py3-none-any.whl
| Download URL | windborne-2.1.0-py3-none-any.whl |
|---|---|
| Size | 63.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
84c019b7e60207e094f72bd2b0863cab4107810b2ac1d97c1da0ce192d479817
|
|
BLAKE2b-256 checksum How to use checksums |
620e08a1adffd1e80c70c72821c4a590b8ae2a91859b92dd21e7f5ca45578147
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for windborne 2.1.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.