Skip to main content

BILKOM train info

Project description

BILKOM

Python package for checking train timetables from Bilkom.pl

Source code

Check out source code in github repo: bilkom-python

You can also try it out in jupiter notebook: bilkom.ipynb

How to use

Install

pip install bilkom

Use as standalone script

python -m bilkom --station_name Otwock

Use as package

from bilkom import Bilkom
from datetime import datetime

bilkom = Bilkom()
bilkom.set_station_info(station_name="Otwock")
table = bilkom.get_station_table(date=datetime(2024,3,12)) # date is optional - defaults to datetime.now()

Search for stations

from bilkom import Bilkom

bilkom = Bilkom()
stations = bilkom.search_for_stations(station_name="Otwock")

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

bilkom-0.0.3.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

bilkom-0.0.3-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2Python 3

File details

Details for the file bilkom-0.0.3.tar.gz.

File metadata

  • Download URL: bilkom-0.0.3.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for bilkom-0.0.3.tar.gz
Algorithm Hash digest
SHA256 dc159f03384648aabfb1858508caab4286f12067d6ed19916e990672e065e428
MD5 657d92b4b04056c3af0ec300b76f6ec1
BLAKE2b-256 31a25151f03e604dc85364cab663f06fc2c80ee3a21fa2e25341e41a0a76e5f4

See more details on using hashes here.

File details

Details for the file bilkom-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: bilkom-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for bilkom-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4ffd80fe56510379e623f4f70ed3809937de17828f4013e5beabd1b5b79a2e89
MD5 cd8f82bf9cacba5114fe2335d9899a86
BLAKE2b-256 46478802aa86475e1c1a9ce6e1f7520ca0eb9ce885baf7e3a1668d062229b712

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