Alert Management API for wildfire prevention, detection & monitoring
APACHE-2.0 License
Published by frgfm over 2 years ago
This patch release stabilizes the package environment & the tables for production.
Note: the backend mainly requires FastAPI 0.78.0, while the client only requires requests
.
For development purposes, it is normal to have loose version specifiers. However for production, each version update needs to be inspected carefully. For this reason, we transitioned from loose requirements.txt
version specifiers to Poetry (#198).
Poetry is a package management tool that will "lock" our dependencies to a fixed environment by resolving all parent packages. This produces a poetry.lock
file that has fixed versions, which can be inspected by the Dependabot for security alerts.
For clarity, the previous documentation of the API client was changed from Read the Docs to Furo (#193).
This also comes with new features: dark mode, edit button, etc.
Significant improvements to the codebase have been made in this release (#189, #193):
isort
, mypy
and black
unittests
to pytest
Makefile
Routes
get_my_device
, update_device_hash
(#151)fetch_past_events
(#116)create_noalert_site
(#130)Tables
azimuth
(#129)angle_of_view
(#134) software_hash
(#137)is_acknowledged
(#170)is_trustworth
(#127)type
(#130)The following routes were deprecated:
update_alert
, link_media
(#208)update_media
(#208)The following tables were modified:
type
(#142), is_acknowledged
(#170), made device_id
& media_id
mandatory and non-nullable (#208)group_id
mandatory (#153)yaw
(#185)lat
, lon
, elevation
, yaw
, pitch
(#143)Full Changelog: https://github.com/pyronear/pyro-api/compare/v0.1.1...v0.1.2
Published by frgfm almost 4 years ago
This release extends considerably the support of the API by the client, and introduces media upload and download efficiently from cloud storage.
Note: pyroapi 0.1.1 mainly requires fastapi, uvicorn and sqlalchemy, while the client only requires requests.
Core API server implementation
New
Improvements
Fixes
SQL server running to get persistence over API data
New
Improvements
Unittests for the core API
New
Improvements
Third-party services enabled in the API
New
The documentation of the API server
Improvements
The python client package for easier usage of the API
New
Improvements
Fixes
Published by frgfm almost 4 years ago
This first release introduces basic operations on the background database, as well as a python API client for easier usage.
Note: pyroclient 0.1.0 mainly requires fastapi, uvicorn and sqlalchemy, while the client only requires requests.
Core API server implementation
New
SQL server running to get persistence over API data
New
Unittests for the core API
New
Third-party services enabled in the API
New
The documentation of the API server
New
The python client package for easier usage of the API
New
New