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.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.6.tar.gz (4.2 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.6-py3.6.egg (7.2 kB view details)

Uploaded Egg

cmdbikes-0.1.6-py2.py3-none-any.whl (6.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: cmdbikes-0.1.6.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cmdbikes-0.1.6.tar.gz
Algorithm Hash digest
SHA256 f6f08e78c6c1b8843d2fe97bc5fed946d18ca60336259fec41b0e8a90b1250a0
MD5 7b0b3ad7919c76f0f41bd90b2c09146e
BLAKE2b-256 6a5c2044cae7dd09644e5e972c9709f1763137604ee05076a72dda71c4cb3357

See more details on using hashes here.

File details

Details for the file cmdbikes-0.1.6-py3.6.egg.

File metadata

  • Download URL: cmdbikes-0.1.6-py3.6.egg
  • Upload date:
  • Size: 7.2 kB
  • Tags: Egg
  • 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.6-py3.6.egg
Algorithm Hash digest
SHA256 75b1ebd0506a0cdaf45952fb754e2c917704a3be292a8dbdec9442b13144e718
MD5 4ddb23bfa06b8bbecf59a08ce68f9b59
BLAKE2b-256 a3d125930991033dc5b46ee902874c1ef5ac055b64fd5e75f4c0ef669258b9d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cmdbikes-0.1.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e61abd267dcb23eb93efaacd4e1acb4df5884d5f18338e84071376f887fdf7b8
MD5 94e227c00325ce4b50e62d17dbc4b7f0
BLAKE2b-256 ecc0881ea6a7912933f4dadf63d5e8ce63013f554eba5ee5f20f7ffed4981ce6

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