Yet Another Meteo Swiss Library
Project description
YAMSL
Yet Another Meteo Swiss Library
General Info
This python library provides an easy way to get forecasts from MeteoSwiss.
Installation
Install with pip:
$ pip install yamsl
Usage
from yamsl import MeteoSwiss
meteo = MeteoSwiss() # instanciate MeteoSwiss
await meteo.setup(8001) # setup with zip-code
forecast = await meteo.updateForecast() # update forecast (also returns forecast)
Licence
Disclaimer
The code is provided as is. This is an unofficial client.
Thanks
- This repo helped a lot: https://github.com/caco3/MeteoSwiss-Forecast
Development
After cloning repo:
// Create the virtual environment
$ python3 -m venv venv
$ python -m venv venv
// Activate the virtual environment (Linux/macOS)
$ source venv/bin/activate
// Install requirements
$ pip install -r requirements.txt
Before checking in again:
// Freeze requirements
$ pip freeze > requirements.txt
Deploy
Compile and test
python setup.py sdist bdist_wheel
twine check dist/*
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
twine upload dist/*
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
yamsl-0.1.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
yamsl-0.1.0-py3-none-any.whl
(4.0 kB
view hashes)