Bike sharing at your terminal
Project description
cmdbikes
========
Have you ever thought
Damn, I wish I could check the status of my local bike
sharing network on a terminal
Well, now with ``cmdbikes`` you can!
.. image:: http://i.imgur.com/3LJqFjp.gif
About
-----
This is a silly client to showcase `python-citybikes`_, a python wrapper for
the `Citybikes API`_. You can learn more about the project at
https://citybik.es.
If your network is not supported, add an issue or a PR on `pybikes`_.
.. _`python-citybikes`: http://github.com/eskerda/python-citybikes
.. _`Citybikes API`: https://api.citybik.es
.. _`pybikes`: http://github.com/eskerda/pybikes
Installation
------------
.. code-block::
$ pip install cmdbikes
Usage
-------------
.. code-block::
$ cmdbikes show --help
Usage: cmdbikes show [OPTIONS] ADDRESS
Display status of station on a given address.
Options:
--geocode / --no-geocode Geocode station positions into a readable address
-n INTEGER Number of stations to show.
--color / --no-color Use colors on output
--json Return JSON representation
--help Show this message and exit.
Check the list of supported networks
.. code-block::
$ cmdbikes ls
Argentina [2]
├ Buenos Aires (Ecobici)
└ Rosario (Mi bici tu bici)
Australia [4]
├ Melbourne (Melbourne Bike Share)
├ Brisbane (CityCycle)
├ Curtin University, Perth, WA (Curtin Bike Share)
└ Melbourne, AU (Monash BikeShare)
Austria [23]
├ Wien (Citybike Wien)
├ Wachau (LEIHRADL)
...
History
=======
0.1.8 (2018-10-15)
------------------
* Fix bikes / slots bar not showing up on python 2
0.1.7 (2018-10-15)
------------------
* Fix issues with google geocoder. Now uses OSM Nominatim: since some stations
are on OSM, they do not return a house number, which makes addresses
pointless.
0.1.6 (2017-02-13)
------------------
* Fix bug with -n flag and stations
0.1.5 (2017-02-13)
------------------
* Add --json flag for valid JSON output
0.1.3 (2016-11-22)
------------------
* Disable distance checking for network, as it gives out false positives
0.1.0 (2016-11-22)
------------------
* First release
========
Have you ever thought
Damn, I wish I could check the status of my local bike
sharing network on a terminal
Well, now with ``cmdbikes`` you can!
.. image:: http://i.imgur.com/3LJqFjp.gif
About
-----
This is a silly client to showcase `python-citybikes`_, a python wrapper for
the `Citybikes API`_. You can learn more about the project at
https://citybik.es.
If your network is not supported, add an issue or a PR on `pybikes`_.
.. _`python-citybikes`: http://github.com/eskerda/python-citybikes
.. _`Citybikes API`: https://api.citybik.es
.. _`pybikes`: http://github.com/eskerda/pybikes
Installation
------------
.. code-block::
$ pip install cmdbikes
Usage
-------------
.. code-block::
$ cmdbikes show --help
Usage: cmdbikes show [OPTIONS] ADDRESS
Display status of station on a given address.
Options:
--geocode / --no-geocode Geocode station positions into a readable address
-n INTEGER Number of stations to show.
--color / --no-color Use colors on output
--json Return JSON representation
--help Show this message and exit.
Check the list of supported networks
.. code-block::
$ cmdbikes ls
Argentina [2]
├ Buenos Aires (Ecobici)
└ Rosario (Mi bici tu bici)
Australia [4]
├ Melbourne (Melbourne Bike Share)
├ Brisbane (CityCycle)
├ Curtin University, Perth, WA (Curtin Bike Share)
└ Melbourne, AU (Monash BikeShare)
Austria [23]
├ Wien (Citybike Wien)
├ Wachau (LEIHRADL)
...
History
=======
0.1.8 (2018-10-15)
------------------
* Fix bikes / slots bar not showing up on python 2
0.1.7 (2018-10-15)
------------------
* Fix issues with google geocoder. Now uses OSM Nominatim: since some stations
are on OSM, they do not return a house number, which makes addresses
pointless.
0.1.6 (2017-02-13)
------------------
* Fix bug with -n flag and stations
0.1.5 (2017-02-13)
------------------
* Add --json flag for valid JSON output
0.1.3 (2016-11-22)
------------------
* Disable distance checking for network, as it gives out false positives
0.1.0 (2016-11-22)
------------------
* First release
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
cmdbikes-0.1.8.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for cmdbikes-0.1.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a0e7838a120943ddea737c0b80f08da8e076a0bed9e6e9ba72779e317d574f |
|
MD5 | bc47645a1d21671be481ffe22b03c547 |
|
BLAKE2b-256 | f153881e0d139691378f757792e6589a5837199aba466319299c24087cf8a0a8 |