A Django application to archive real-time earthquake notifications from the USGS's Advanced National Seismic System
Project description
A Django application to archive real-time earthquake notifications from the U.S. Geological Survey’s Advanced National Seismic System
Requirements
The Django web framework
A geospatial database like PostGIS
Getting started
Install the Python package.
$ pipenv install django-anss-archive
Add to Django’s INSTALLED_APPS.
INSTALLED_APPS = ( ... "anss", )
Run migrations to create database tables.
$ python manage.py migrate
Run the archive command to save all earthquakes in the latest hour greater than 1.0 magnitude.
$ python manage.py getlatestanssfeed
Start your test server and visit the admin to see the results.
$ python manage.py runserver
It includes a list of all the earthquakes.
And lots of data about each one.
Contributing
Install dependencies for development.
$ pipenv install --dev
Run tests.
$ make test
Ship new version to PyPI.
$ make ship
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-anss-archive-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a32b524dfcae3f4a581fdfa8b17d5456393836cd1d94e5daed8c4e70c84e27e3 |
|
MD5 | e6deda65266fcffb6ea7d29661d63f45 |
|
BLAKE2b-256 | 46f968361659ce18ee0384799b95fb57e755c8f558932112b0ddf0cf800b52eb |
Hashes for django_anss_archive-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f883cb4cec673d57f9180d484419c44e162d34d892d80c6b7f6e76600e88480f |
|
MD5 | 0dcffdb8caaae4bb5ebc89a15adc7924 |
|
BLAKE2b-256 | 1c0e6df77dbee80dfdc80907a49c10bb884bbcd321c9cb651468242f59275d95 |