Weather data explorer.
Project description
wxdat
A general purpose weather data recorder & explorer.
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 poetry
to manage dependencies and a local virtual environment. To
get started, clone the repository and install the dependencies with the following:
poetry install
Usage
Run the module and tell it which config file to use.
python3 -m wxdat --config wxdat.yaml
If you are using poetry
to manage the virtual environment, use the following:
poetry 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file wxdat-1.5.0.tar.gz
.
File metadata
- Download URL: wxdat-1.5.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a56b84183bc5e02977aed035946f04453dceb04702cc157e81e8bc088e03fa48 |
|
MD5 | a56086c6c5c23edfab6dab657e6a37c1 |
|
BLAKE2b-256 | a3ba227b225098322c0bbaa64d9fb703f1fbb3bf1753ba9e4805fb045256b6ba |
File details
Details for the file wxdat-1.5.0-py3-none-any.whl
.
File metadata
- Download URL: wxdat-1.5.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.1 Linux/6.8.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 84694a0d6f469789166de64d47084021605a7daf2e0ffbb09c09872d11a48b61 |
|
MD5 | b336fb5dd958c2cd075080457a3ef79b |
|
BLAKE2b-256 | 9eb6b47e36ae2ad329c871d0a7c8db2576d575d7bae4eafa187fd93c722e2480 |