Bike sharing at your terminal 🚲
Python
Permalink
Failed to load latest commit information.
.gitignore
HISTORY.rst
MANIFEST.in
README.rst
cli.py
setup.py

README.rst

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!

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.

Installation

$ pip install cmdbikes

Usage

$ 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

$ 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)
...