septa-api 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- septa_api/__init__.py +24 -0
- septa_api/catalog.json +1 -0
- septa_api/catalog.py +71 -0
- septa_api/client.py +319 -0
- septa_api/exceptions.py +13 -0
- septa_api/models.py +132 -0
- septa_api/py.typed +0 -0
- septa_api-0.1.0.dist-info/METADATA +117 -0
- septa_api-0.1.0.dist-info/RECORD +12 -0
- septa_api-0.1.0.dist-info/WHEEL +5 -0
- septa_api-0.1.0.dist-info/licenses/LICENSE +21 -0
- septa_api-0.1.0.dist-info/top_level.txt +1 -0
septa_api/__init__.py
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Python API client for SEPTA (Southeastern Pennsylvania Transportation Authority)."""
|
|
2
|
+
|
|
3
|
+
from .catalog import Catalog, Route, RouteDirection, load_catalog
|
|
4
|
+
from .client import TIMEZONE, SeptaClient
|
|
5
|
+
from .exceptions import SeptaConnectionError, SeptaError, SeptaRequestError
|
|
6
|
+
from .models import Alert, StopDeparture, TrainDeparture, Trip, TripLeg, Vehicle
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"TIMEZONE",
|
|
10
|
+
"Alert",
|
|
11
|
+
"Catalog",
|
|
12
|
+
"Route",
|
|
13
|
+
"RouteDirection",
|
|
14
|
+
"SeptaClient",
|
|
15
|
+
"SeptaConnectionError",
|
|
16
|
+
"SeptaError",
|
|
17
|
+
"SeptaRequestError",
|
|
18
|
+
"StopDeparture",
|
|
19
|
+
"TrainDeparture",
|
|
20
|
+
"Trip",
|
|
21
|
+
"TripLeg",
|
|
22
|
+
"Vehicle",
|
|
23
|
+
"load_catalog",
|
|
24
|
+
]
|