Skip to main content

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.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.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.7.tar.gz (4.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cmdbikes-0.1.7-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

cmdbikes-0.1.7-py2.py3-none-any.whl (4.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file cmdbikes-0.1.7.tar.gz.

File metadata

  • Download URL: cmdbikes-0.1.7.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for cmdbikes-0.1.7.tar.gz
Algorithm Hash digest
SHA256 6bd2198a1f357e4494e3580afd8fe0c0d7783cc6e7e7bcf08470b0f290460d1a
MD5 24f672993495e291b9d54b6fe23a8b96
BLAKE2b-256 06f68a2d76be7e2fb34b104e215b35898d6fe068b00bfb2c453f0675d2d9aac7

See more details on using hashes here.

File details

Details for the file cmdbikes-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: cmdbikes-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for cmdbikes-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 42cdbcfb80e5ac733d0862d49747a5b37113f137775620719abe0e76b087b849
MD5 e9bc10b154d86bfa252c209e217e8197
BLAKE2b-256 ab390b15c0408d4998811175f641ae99b6ed9edc389959b800723d8997411b76

See more details on using hashes here.

File details

Details for the file cmdbikes-0.1.7-py2.py3-none-any.whl.

File metadata

  • Download URL: cmdbikes-0.1.7-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.0

File hashes

Hashes for cmdbikes-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f77d7df11dab62961015a8bb7a6bf173724f71bf20342b8e6f5d3d00f974c6fd
MD5 f85399cf9d6ab1a1f4d9008e583c6718
BLAKE2b-256 19d6cf6fc56705bcfd570f766b105231afcac43578ae2aedca3860ebf02ebaec

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