Skip to main content

Israel Bus CLI 🚌🚍

CLI & Python API for searching Israeli bus stops and realtime line arrival info (unofficial, uses public Web endpoints).

Install

pip install israel-bus-cli

Quick usage (CLI)

Search address and list nearby stops (JSON):

israel-bus --address "דיזינגוף 220 תל אביב" --list-stops --json

Get lines for the first (nearest) stop, filter line 12:

israel-bus --address "דיזינגוף 220 תל אביב" --first-stop --line 12

Direct by stop id:

israel-bus --stop-id 26629 --line 12 --json

Interactive mode (no flags):

israel-bus

Python API

from israel_bus_cli import search_address, get_stops_near_location, get_lines_by_stop

addr = search_address("דיזינגוף 220 תל אביב")[0]
lat, lon = float(addr['lat']), float(addr['lon'])
stops = get_stops_near_location(lat, lon)
lines = get_lines_by_stop('26629')

Disclaimer

Not affiliated with official transit authorities. API structure may change.

License

MIT

Development

Metadata

Release files for israel-bus-cli 0.1.1

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

Source distribution (sdist)

Source distribution for israel-bus-cli 0.1.1
File Size Uploaded
israel_bus_cli-0.1.1.tar.gz 7.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for israel-bus-cli 0.1.1
File Interpreter ABI Platform
israel_bus_cli-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 16.0 kB

Release files / israel_bus_cli-0.1.1.tar.gz

Download URL israel_bus_cli-0.1.1.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dd168b84661325e604e2ca15707f4a458e1852c0e53a5983a3b8d4f237c20258
BLAKE2b-256 checksum
How to use checksums
b8a3f055785012a912c689801c1e0cd01a84033f84e5168d4741cc858571c00d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / israel_bus_cli-0.1.1-py3-none-any.whl

Download URL israel_bus_cli-0.1.1-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd20b20c252b7cc6fdaa7398c675656a68af0c8e3d448cae81ea782fdc5a1544
BLAKE2b-256 checksum
How to use checksums
80b12c9dade8fbdd145f2e7ed7ea4de2ada4d6cf7285d8f2cdd6787b3e04cf3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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