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 jupyter 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.4.tar.gz (7.1 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.4-py2.py3-none-any.whl (3.5 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for bilkom-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b4ece00b075538d3b2ba4bc0f09781e6363ca74a1027d718f7bf58330ac8512c
MD5 bc6277b27c5cca80d4d8d55dc8724236
BLAKE2b-256 b931c30a00fc82c02e7da0cf6beecc6232f7fffcd176f6f5558d4e501bad4a2f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bilkom-0.0.4-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.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9a7afc131ac80a466bdb71f6c0b78f3b41e3263327e5186ac7d064ecc7246b30
MD5 eed0f1312cd3eb791f342968881ecf2a
BLAKE2b-256 ca8d08addf3b0530a00e85430ee95903d8239e5ab0990669fae809803846f470

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