Python interface to the Met Office's Datapoint API
Project description
Datapoint for Python
--------------------
*A Python module for accessing weather data via the Met
Office's open data API known as
`Datapoint.*
**Disclaimer: This module is in no way part of the datapoint
project/service. This module is intended to simplify the use of
Datapoint for small Python projects (e.g school projects). No support
for this module is provided by the Met Office and may break as the
Datapoint service grows/evolves. The author will make reasonable efforts
to keep it up to date and fully featured.**
Changelog
---------
- Deprecation warning: this is the final version to support python 2.x and 3.3.
- Observations from datapoint added. Access using
get_nearest_observation_site() and get_observations_for_site() in the same
manner as forecasts
- Order of latitude and longitude swapped in all functions. They are now
ordered like: function(latitude, longitude). This is a BREAKING CHANGE.
Installation
------------
.. code:: bash
$ pip install datapoint
You will also require a `Datapoint API
key from http://www.metoffice.gov.uk/datapoint/API.
Features
--------
- List forecast sites
- Get nearest forecast site from latitiude and longitude
- Get the following 5 day forecast types for any site
- Daily (Two timesteps, midday and midnight UTC)
- 3 hourly (Eight timesteps, every 3 hours starting at midnight UTC)
- Get observation sites
- Get observations for any site
Contributing changes
--------------------
Please feel free to submit issues and pull requests.
License
-------
GPLv3.
--------------------
*A Python module for accessing weather data via the Met
Office's open data API known as
`Datapoint.*
**Disclaimer: This module is in no way part of the datapoint
project/service. This module is intended to simplify the use of
Datapoint for small Python projects (e.g school projects). No support
for this module is provided by the Met Office and may break as the
Datapoint service grows/evolves. The author will make reasonable efforts
to keep it up to date and fully featured.**
Changelog
---------
- Deprecation warning: this is the final version to support python 2.x and 3.3.
- Observations from datapoint added. Access using
get_nearest_observation_site() and get_observations_for_site() in the same
manner as forecasts
- Order of latitude and longitude swapped in all functions. They are now
ordered like: function(latitude, longitude). This is a BREAKING CHANGE.
Installation
------------
.. code:: bash
$ pip install datapoint
You will also require a `Datapoint API
key from http://www.metoffice.gov.uk/datapoint/API.
Features
--------
- List forecast sites
- Get nearest forecast site from latitiude and longitude
- Get the following 5 day forecast types for any site
- Daily (Two timesteps, midday and midnight UTC)
- 3 hourly (Eight timesteps, every 3 hours starting at midnight UTC)
- Get observation sites
- Get observations for any site
Contributing changes
--------------------
Please feel free to submit issues and pull requests.
License
-------
GPLv3.
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
datapoint-0.5.1.tar.gz
(9.8 kB
view details)
File details
Details for the file datapoint-0.5.1.tar.gz
.
File metadata
- Download URL: datapoint-0.5.1.tar.gz
- Upload date:
- Size: 9.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.5.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5e3766eb032d23a8999b2064652a5fc9f53013ea1635fc06fd982c89b3de764 |
|
MD5 | e50fa96f0875a6407c3ea35e559ab09b |
|
BLAKE2b-256 | b9fe53963b6b2fdb0aff1fae0e406ee7b08767326d6ce83a52257a3afbd22d03 |