Socket
Socket
Sign inDemoInstall

pybuoy

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pybuoy

Python wrapper for NOAA and NDBC REST web services.


Maintainers
1

Readme

===================================== pybuoy - Python NOAA/NDBC API Wrapper

.. image:: https://img.shields.io/pypi/v/pybuoy?color=blue :alt: Latest Version :target: https://pypi.python.org/pypi/pybuoy

.. image:: https://img.shields.io/pypi/pyversions/pybuoy :alt: Supported Python Versions :target: https://pypi.python.org/pypi/pybuoy

.. image:: https://img.shields.io/pypi/dm/pybuoy :alt: PyPI - Monthly Downloads :target: https://pypi.python.org/pypi/pybuoy

pybuoy is a Python wrapper for NOAA <https://www.noaa.gov>_ and NDBC <https://www.ndbc.noaa.gov>_ REST web services.

Installation

pybuoy is supported on Python 3.11+ and can be installed with either pip or a package manager like poetry <https://python-poetry.org>_:

  • with pip: pip install pybuoy

    • recommended to install any third party library in python's virtualenv <https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments>_.
  • with poetry: poetry add pybuoy

    • automatically creates and manages python's virtualenvs <https://realpython.com/dependency-management-python-poetry>_.

Quickstart

.. code-block:: python

from pybuoy import Buoy

buoy = Buoy()

With a instance of Buoy, you can request data from NOAA and NDBC like so:

  • Get all active stations <https://pybuoy.readthedocs.io/en/latest/tutorials/active_buoys.html>_.

  • Get realtime meteorological data <https://pybuoy.readthedocs.io/en/latest/tutorials/realtime_data.html#get-meteorological-data>_ for buoy by station_id.

  • Get realtime wave summary data <https://pybuoy.readthedocs.io/en/latest/tutorials/realtime_data.html#get-wave-summary-data>_ for buoy by station_id.

  • Get forecast data <https://pybuoy.readthedocs.io/en/latest/tutorials/forecast_data.html>_ for buoy by lat/lon.

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc