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!
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.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
Built Distribution
File details
Details for the file cmdbikes-0.1.9.tar.gz
.
File metadata
- Download URL: cmdbikes-0.1.9.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83ae4f670ec70b1ff71cb1a087741541dea717baf5babd1dff209f7e643ce4ab |
|
MD5 | e229b51ac0404cdfd696283c662d00e8 |
|
BLAKE2b-256 | b897b47ce46d35ea53ebe06b377ac8e573153dd837c947ee547634a25bf33377 |
File details
Details for the file cmdbikes-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: cmdbikes-0.1.9-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05d1594e6b11f6a2c64d2ca215ca35c1a5e15a97917d0ceec17ffa489b9503fb |
|
MD5 | 9444622c8493cddcb7ef7ced4cd8e871 |
|
BLAKE2b-256 | ce90abc0d73c02170b4e09e48dbe89d5586c7fc1eb8adee92de777fc02899346 |