Skip to content
This repository has been archived by the owner on Feb 11, 2024. It is now read-only.
/ TheSeptaTimes Public archive

A Python package to get data from the Septa API

License

Notifications You must be signed in to change notification settings

dotzenith/TheSeptaTimes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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



❖ IMPORTANT!

TheSeptaTimes has been superseded by TheSeptaTimes.rs!

TheSeptaTimes.rs will be only version receiving updates going forward.

❖ 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


About

A Python package to get data from the Septa API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages