Skip to main content

This package parses ETTU site for mass transit schedule.

Project description

ETTUParser

DISCLAIMER: Корректная работа модуля не гарантируется, так как возможны изменения сайта ETTU второе пришествие и судный день.

This project parses ETTU(Ekaterinburg Tram and Trolley Administration) site for mass transit schedule.

Этот проект парсит сайт ЕТТУ(Екатеринбургское трамвайно-троллейбусное управление) на предмет времени до прибытия троллейбуса/трамвая на остановку.

The documentation for this repository is written in Russian, cause a problem that this project solves is applicable only to Yekaterinburg.

Установка

pip install ettuparser

Использование

Данный модуль зависит от lxml и pandas.

Единственной функцией данного модуля(на данный момент) является ettuparser.parseStation(stationID). Параметр stationID можно взять из URL остановки, информацию о которой требуется получить. К примеру: https://mobile.ettu.ru/station/3431 (на разных остановках разное количество символов, возможно, зависит от вида транспорта) (неважно). Возвращает данная функция pandas.DataFrame.

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

ettuparser-1.2.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

ettuparser-1.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file ettuparser-1.2.tar.gz.

File metadata

  • Download URL: ettuparser-1.2.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for ettuparser-1.2.tar.gz
Algorithm Hash digest
SHA256 eaca7d5307fd5e0744e7272a0ea464286351b4410a898640eb7c0571640b4f72
MD5 db376ae340dc584f6a7a7f757018bba7
BLAKE2b-256 ea989151c03ee544b21f91953431f2572295c2dafea93b554ad0473001066ad1

See more details on using hashes here.

File details

Details for the file ettuparser-1.2-py3-none-any.whl.

File metadata

  • Download URL: ettuparser-1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for ettuparser-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 07072d52a0ac33d2d8689f1dc59782ebc394dddc60934e554032c2e007f74dae
MD5 8fb1e0662c2dc0effb2cc0988672e9da
BLAKE2b-256 82a434759f191ff7b511d722b8815139fcb00dbdc9e88b217e7869f1d2e867b9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page