python-opendata-transport 0.1.0__tar.gz → 0.1.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/PKG-INFO +1 -1
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/README.rst +8 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/python_opendata_transport.egg-info/PKG-INFO +1 -1
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/setup.py +9 -6
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/LICENSE +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/MANIFEST.in +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/opendata_transport/__init__.py +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/opendata_transport/exceptions.py +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/python_opendata_transport.egg-info/SOURCES.txt +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/python_opendata_transport.egg-info/dependency_links.txt +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/python_opendata_transport.egg-info/requires.txt +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/python_opendata_transport.egg-info/top_level.txt +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/python_opendata_transport.egg-info/zip-safe +0 -0
- {python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/setup.cfg +0 -0
|
@@ -3,8 +3,14 @@ python-opendata-transport
|
|
|
3
3
|
|
|
4
4
|
Python API for interacting with `transport.opendata.ch <http://transport.opendata.ch/>`_.
|
|
5
5
|
|
|
6
|
+
Th module which is the base for the integration into `Home Assistant <https://home-assistant.io>`_
|
|
7
|
+
is simply retrieving the details about a given connection between to stations.
|
|
8
|
+
|
|
9
|
+
This module is not official, developed, supported or endorsed by opendata.ch.
|
|
10
|
+
|
|
6
11
|
Installation
|
|
7
12
|
------------
|
|
13
|
+
|
|
8
14
|
The module is available from the `Python Package Index <https://pypi.python.org/pypi>`_.
|
|
9
15
|
|
|
10
16
|
.. code:: bash
|
|
@@ -18,6 +24,7 @@ The file ``example.py`` contains an example about how to use this module.
|
|
|
18
24
|
|
|
19
25
|
Development
|
|
20
26
|
-----------
|
|
27
|
+
|
|
21
28
|
For development is recommended to use a ``venv``.
|
|
22
29
|
|
|
23
30
|
.. code:: bash
|
|
@@ -28,4 +35,5 @@ For development is recommended to use a ``venv``.
|
|
|
28
35
|
|
|
29
36
|
License
|
|
30
37
|
-------
|
|
38
|
+
|
|
31
39
|
``python-opendata-transport`` is licensed under MIT, for more details check LICENSE.
|
|
@@ -7,10 +7,13 @@ Licensed under MIT. All rights reserved.
|
|
|
7
7
|
import os
|
|
8
8
|
import sys
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
from setuptools import setup, find_packages
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
here = os.path.abspath(os.path.dirname(__file__))
|
|
14
|
+
|
|
15
|
+
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
|
|
16
|
+
long_description = f.read()
|
|
14
17
|
|
|
15
18
|
if sys.argv[-1] == 'publish':
|
|
16
19
|
os.system('python3 setup.py sdist upload')
|
|
@@ -18,7 +21,7 @@ if sys.argv[-1] == 'publish':
|
|
|
18
21
|
|
|
19
22
|
setup(
|
|
20
23
|
name='python_opendata_transport',
|
|
21
|
-
version='0.1.
|
|
24
|
+
version='0.1.2',
|
|
22
25
|
description='Python API for interacting with transport.opendata.ch.',
|
|
23
26
|
url='https://github.com/fabaff/python-opendata-transport',
|
|
24
27
|
download_url='https://github.com/fabaff/python-opendata-transport/releases',
|
|
@@ -26,7 +29,7 @@ setup(
|
|
|
26
29
|
author_email='fabian@affolter-engineering.ch',
|
|
27
30
|
license='MIT',
|
|
28
31
|
install_requires=['aiohttp', 'async_timeout'],
|
|
29
|
-
packages=
|
|
32
|
+
packages=find_packages(),
|
|
30
33
|
zip_safe=True,
|
|
31
34
|
classifiers=[
|
|
32
35
|
'Development Status :: 3 - Alpha',
|
|
File without changes
|
|
File without changes
|
{python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/opendata_transport/__init__.py
RENAMED
|
File without changes
|
{python_opendata_transport-0.1.0 → python_opendata_transport-0.1.2}/opendata_transport/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|