Skip to main content

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


  • 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.


Run migrations to create database tables.

$ python migrate

Run the archive command to save all earthquakes in the latest hour greater than 1.0 magnitude.

$ python getlatestanssfeed

Start your test server and visit the admin to see the results.

$ python runserver

It includes a list of all the earthquakes.

And lots of data about each one.


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.

Files for django-anss-archive, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size django_anss_archive-0.0.4-py2.py3-none-any.whl (16.1 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-anss-archive-0.0.4.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page