Skip to main content

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

Metadata

Release files for cmdbikes 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cmdbikes 0.1.11
File Size Uploaded Provenance Actions
cmdbikes-0.1.11.tar.gz 5.7 kB Without provenance Details for cmdbikes-0.1.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cmdbikes 0.1.11
File Interpreter ABI Platform Actions
cmdbikes-0.1.11-py3-none-any.whl Python 3 none any Details for cmdbikes-0.1.11-py3-none-any.whl

Total release size: 11.5 kB

Release files / cmdbikes-0.1.11.tar.gz

Download URL cmdbikes-0.1.11.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
a4d6f82eeb72bd58fafc71abb3bb57cbe1fb81901f7165942f31a71c48699351
BLAKE2b-256 checksum
How to use checksums
80bda125ccdc1c5fd43c99905705b3efd2caa81569957c4161ffdf62741e4c73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / cmdbikes-0.1.11-py3-none-any.whl

Download URL cmdbikes-0.1.11-py3-none-any.whl
Size 5.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4458e78fb31aa02b818cd68404ba137334a7211d39a55d232f92fb3d1ff20c51
BLAKE2b-256 checksum
How to use checksums
c285f1dd94a00363b3af6d3cfa3b6138b68b10f2896742465aaaeb84862da914
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Security for cmdbikes 0.1.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page