Skip to main content

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.

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.5.tar.gz (195.3 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.5-py3-none-any.whl (20.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wxdat-1.5.5.tar.gz
  • Upload date:
  • Size: 195.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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.5.tar.gz
Algorithm Hash digest
SHA256 93648642a75915d4527d812b0fbd5b47f4afc68222d25d985451b9549d549942
MD5 e158cbf137933a6c7b98b784ee40c8d5
BLAKE2b-256 7cace5cc949acaacfbef918b6c075200e3a6411c7ad1d92215cd059a1ac815c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wxdat-1.5.5-py3-none-any.whl
  • Upload date:
  • Size: 20.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.9 {"installer":{"name":"uv","version":"0.12.9","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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a5cbc6f5744f33821b74b847962171f42d94471db9aa58206fc9b573ad1f5550
MD5 b04e12f5c538c57a102d490daf878107
BLAKE2b-256 f70c48a4ca1ad709f35dd43837dd4ca7c12d2f7e788a6e6d7e965f8d93a76fad

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.5.5 This release

2 files

1.5.4

2 files

1.5.3

2 files

1.5.1

2 files

1.5.0

2 files

1.4.1

2 files

1.4.0

2 files

1.3.8

2 files

1.3.4

2 files

1.3.3

2 files

1.3.2

2 files

1.3.1

2 files

1.2.0

2 files

1.1.2

2 files

1.1.0

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0

2 files

0.7.1

2 files

0.2.0

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.0

2 files

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