Skip to main content

Package to get weather information about Mauritius from the official meteo website.

Project description

meteomoris

get info about the weather in mauritius!

examples

>>> from meteomoris import meteo

>>> print(meteo.get_weekforecast())
{0: {'condition': 'Few showers highgrounds',
     'date': 'Apr 22',
     'day': 'Mon',
     'max': '32�',
     'min': '21�',
     'probability': 'High',
     'sea condition': 'rough',
     'wind': 'E25G50'},
 1: {...
}

>>> print(meteo.get_weekforecast(day=3))
{'condition': 'Few passing showers',
 'date': 'Apr 25',
 'day': 'Thu',
 'max': '31�',
 'min': '20�',
 'probability': 'Medium',
 'sea condition': 'moderate',
 'wind': 'SE20'}

>>> print(meteo.get_weekforecast(day=3)['condition'])
'Few passing showers'

>>> print(get_cityforecast())
{0: {'condition': 'Partly cloudy',
     'date': 'Apr 22',
     'day': 'Mon',
     'max': '31�',
     'min': '26�',
     'wind': 'E25G50'},
 1: {'condition': ...
}

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

meteomoris-0.5.0.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file meteomoris-0.5.0.tar.gz.

File metadata

  • Download URL: meteomoris-0.5.0.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for meteomoris-0.5.0.tar.gz
Algorithm Hash digest
SHA256 90f3724098138f70d3ac2bbeb61c543e2feb3a21cee9b419f558193fd8bc470b
MD5 799cc71623bdf6d429fe2956381676e5
BLAKE2b-256 01ec44c913e2726e62f496213a28885d64828d5dc35027a115ca595d393654b6

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