Skip to main content

Weather data explorer.

Project description

wxdat

PyPI LICENSE Style

A general purpose weather data recorder & explorer.

dashboard

While the primary purpose of this library is to record weather data, it can also be used as a framework for collecting weather information in other apps.

Installation

Install the published package using pip:

pip3 install wxdat

This project uses uv to manage dependencies and a local virtual environment. To get started, clone the repository and install the dependencies with the following:

uv sync

Usage

Run the module and tell it which config file to use.

python3 -m wxdat --config wxdat.yaml

If you are using uv to manage the virtual environment, use the following:

uv run python -m wxdat --config wxdat.yaml

Configuration

The configuration file is a YAML document with a list of stations to export. See the included default file for more details.

All stations have the following configuration values:

  • name - must be unique
  • type - the support station type

Supported Stations

Eventually, I'd like to add local stations, not just online sources. Please see the example configuration file for details on each provider.

  • AccuWeather
  • Ambient Weather Network
  • OpenWeatherMap
  • National Weather Service (NOAA)
  • Weather Underground

Unit Conversion

wxdat also includes a limited set of conversion helpers for working with units. In general, the pattern for using them is:

from wxdat import units

# convert 100.0 from celsius to fahrenheit
temp = units.degC(100).degf

Contributing

To submit a new issue, please visit the Issues page.

If you are unsure where to start, create a post in the Discussions area.

Additionally, Pull Requests are welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wxdat-1.5.4.tar.gz (182.0 kB view details)

Uploaded Source

Built Distribution

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

wxdat-1.5.4-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file wxdat-1.5.4.tar.gz.

File metadata

  • Download URL: wxdat-1.5.4.tar.gz
  • Upload date:
  • Size: 182.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wxdat-1.5.4.tar.gz
Algorithm Hash digest
SHA256 b6de9d634d7a48fddd805cafdc64aaf4067ac931b758c532796da54112c37d3d
MD5 6e02f91cf62aaa5d8a76ca9e48215627
BLAKE2b-256 31d4067fc388130ff311a7037facace580d6e779796cdef171e1e957cbeef9df

See more details on using hashes here.

File details

Details for the file wxdat-1.5.4-py3-none-any.whl.

File metadata

  • Download URL: wxdat-1.5.4-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for wxdat-1.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8358f8036d03f1896f5ef51cb11bc1ba8cc5624e08d3c11897566a97a5dc432b
MD5 531bf6a2afbf1cb618d268ecffd5994b
BLAKE2b-256 6d81d180598f00a06e8f65afcfa0d302ca42efd5877fefa95d9db14b8c401091

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