Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This library provides convenient async access to GeoJSON Feeds.
pip install aio-geojson-client
Library | Source | Topic |
---|---|---|
aio_geojson_generic_client | Generic GeoJSON feeds | Any |
aio_geojson_geonetnz_quakes | GeoNet New Zealand Quakes | Earthquakes |
aio_geojson_geonetnz_volcano | GeoNet New Zealand Volcano | Volcanoes |
aio_geojson_nsw_rfs_incidents | NSW Rural Fire Service | Fires |
aio_geojson_usgs_earthquakes | U.S. Geological Survey Earthquake Hazards Program | Earthquakes |
Each implementation extracts relevant information from the GeoJSON feed. Not all feeds contain the same level of information, or present their information in different ways.
After instantiating a particular class and supply the required parameters, you
can call update
to retrieve the feed data. The return value will be a tuple
of a status code and the actual data in the form of a list of feed entries
specific to the selected feed.
Alternatively, calling method update_override
allows passing in ad-hoc filters
that override the globally defined filters.
Status Codes
The Feed Manager helps managing feed updates over time, by notifying the consumer of the feed about new feed entries, updates and removed entries compared to the last feed update.
After a successful update from the feed, the feed manager provides two different dates:
last_update
will be the timestamp of the last update from the feed
irrespective of whether it was successful or not.last_update_successful
will be the timestamp of the last successful update
from the feed. This date may be useful if the consumer of this library wants
to treat intermittent errors from feed updates differently.last_timestamp
(optional, depends on the feed data) will be the latest
timestamp extracted from the feed data.
This requires that the underlying feed data actually contains a suitable
date. This date may be useful if the consumer of this library wants to
process feed entries differently if they haven't actually been updated.FAQs
An async GeoJSON client library.
We found that aio-geojson-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.