forked from Perseudonymous/datapoint-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
69 lines (55 loc) · 1.84 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/usr/bin/env python
from distutils.core import setup
setup(name='datapoint',
version='0.2.2',
install_requires=[
"requests >= 2.3.0",
"appdirs",
"pytz",
],
description='Python interface to the Met Office\'s Datapoint API',
long_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.**
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 longitude and latitiude
- 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)
Contributing changes
--------------------
Please feel free to submit issues and pull requests.
License
-------
Currently under decision.
''',
author='Jacob Tomlinson',
author_email='[email protected]',
maintainer='Jacob Tomlinson',
maintainer_email='[email protected]',
url='https://github.com/jacobtomlinson/datapoint-python',
license='TBC',
packages=['datapoint'],
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
]
)