Skip to main content

A Python package to get data from the Septa API

Project description

━━━━━━ ❖ ━━━━━━



❖ TheSeptaTimes

TheSeptaTimes is a python package designed to make accessing info about Septa's regional rail network easier. I made this because I commute to college every day via septa, and checking the time for the next train via the app or the website simply takes too much time. I wanted something I could access from my terminal, and thus, TheSeptaTimes was born.

septa gif

❖ Installation

Install from pip

pip3 install TheSeptaTimes

Install from source

git clone https://github.com/dotzenith/TheSeptaTimes.git
cd TheSeptaTimes
poetry build
pip3 install ./dist/theseptatimes-0.2.4.tar.gz

❖ Usage

Usage: tst [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  arrivals  Find the next arrivals at a given train station
  next      Search for the next train going from an origin to a destination
  search    Search for a given station
  train     Track a given train using it's number

Fuzzy search for a train station

tst search admr

Get times for the next two trains that go from a given train station to another

tst next '30th Street Station' 'North Philadelphia'

List the next 6 arrivals at a given train station

tst arrivals '30th Street Station' 6

Take a look at any given train's schedule using the train number

tst train 9374

❖ What's New?

0.2.4 - Naming changes


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

theseptatimes-0.2.4.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

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

theseptatimes-0.2.4-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file theseptatimes-0.2.4.tar.gz.

File metadata

  • Download URL: theseptatimes-0.2.4.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Darwin/21.6.0

File hashes

Hashes for theseptatimes-0.2.4.tar.gz
Algorithm Hash digest
SHA256 b0dc983b5841a12ed5389bc1f12f02f781de55d2d3237a37ef32862e0cba119a
MD5 7e2751f688a1531ae41a64277a71b0a1
BLAKE2b-256 96fb7ab298fb5bc05bfb5f160df583ea811dc6131f3998ae705fc959ba8378dc

See more details on using hashes here.

File details

Details for the file theseptatimes-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: theseptatimes-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.9 Darwin/21.6.0

File hashes

Hashes for theseptatimes-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6382436d077b300089f142a35fd79595785f6394e9142ebc30f1466f3131f1e9
MD5 13e8eb645368e42eba54f56fc65c5e2c
BLAKE2b-256 08bbae4449a6fcf3dee677c98df1d70066de10173f78b03881e355371d569b03

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