Bike sharing at your terminal 🚲
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
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)
...