Closed jhanley634 closed 2 months ago
This pull request implements several new features and refactors existing code to improve the structure and functionality of the bboard application. The changes include adding transit vehicle querying capabilities, implementing caching for API requests, reorganizing the project structure, and improving the web interface.
Change | Details | Files |
---|---|---|
Implemented transit vehicle querying functionality |
|
src/bboard/main.py src/bboard/transit/vehicles.py tests/vehicles_test.py |
Refactored and improved the web interface |
|
src/bboard/main.py src/bboard/util/web.py |
Implemented request caching mechanism |
|
src/bboard/util/requests.py tests/requests_test.py |
Added credential management utilities |
|
src/bboard/util/credentials.py src/bboard/util/credential_env_vars.py tests/credentials_test.py |
Reorganized project structure |
|
src/bboard/main.py tests/greeting_test.py src/bboard/util/fs.py |
Updated Makefile |
|
Makefile |
Added placeholder for future vehicle mapping functionality |
|
src/bboard/sources/vehicle_map.py |
Summary by Sourcery
Add a new '/transit/vehicles' endpoint to query vehicle locations from the transit API, implement caching for requests, and refactor the root endpoint to dynamically generate a table of contents. Enhance the project structure by reorganizing modules and add new tests to cover the introduced functionalities.
New Features:
Enhancements:
Build:
Tests: