Skip to main content

Yet Another Meteo Swiss Library

Project description

YAMSL

License

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

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


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 details)

Uploaded Source

Built Distribution

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

yamsl-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file yamsl-0.1.0.tar.gz.

File metadata

  • Download URL: yamsl-0.1.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for yamsl-0.1.0.tar.gz
Algorithm Hash digest
SHA256 65cf8dfa09057475883202248f6b20e3f91868f5aeab9d8045ef2d743839eac0
MD5 9dfb0de6162da98890e84208e6d3344a
BLAKE2b-256 3106df6de61bf5c5ef34a89a3791f29117549b34b94f44ce8de1d7483110fbbb

See more details on using hashes here.

File details

Details for the file yamsl-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: yamsl-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for yamsl-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6922cf7fd6f502c35323767e281e73443f354386a9984b2819b2d05b535d9554
MD5 e1c8873b4c08a1ff3b60e87f85244ed8
BLAKE2b-256 04557f12b617f6fc0d7f21695590fceff43eb0d3cdc63b5a951df4e69c5c51bc

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