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!

https://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)
...

History

0.1.10 (2025-02-21)

  • Use geopy for geocoding

  • Add user agent for accesssing Nominatim and Citybikes

0.1.9 (2020-05-19)

  • Fix wrong colors on full stations

  • Add MIT License

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

Uploaded Source

Built Distribution

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

cmdbikes-0.1.10-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cmdbikes-0.1.10.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cmdbikes-0.1.10.tar.gz
Algorithm Hash digest
SHA256 985d33f86fe2ad41874dd40c6b6cc56d64474226eb837355bf52396de56a09bc
MD5 dfdfddc1d6a74d5406b5ef78387bf3ee
BLAKE2b-256 2d1a34c02100196b4d600bea69f87e2f31cf3006dab5f796415a77a740b4ad65

See more details on using hashes here.

File details

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

File metadata

  • Download URL: cmdbikes-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for cmdbikes-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 9d8ba6f019764b24abfd2cb52cd877cdbd1f2a47725f0fec189edddb9e6c9bb6
MD5 662c6940bbee5d3f60d6322a5d369953
BLAKE2b-256 2081dbd97817602df7fb0e26436c4365f2a3b62a6033f4621bb839feece64a9c

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