Pisces#

A practical seismological database library in Python.


Pisces connects your Python analysis environment to a seismological database.

Manage and analyze data in the same language
Don’t use separate data-management language, like SQL or shell scripts. Just use Python, and connect to SciPy, ObsPy, AIMBAT, pyTDMT, StreamPick, and the rest of the scientific Python ecosystem.

Use common open-source technologies and standards
SQL relational databases, Python, SQLAlchemy, and the SciPy stack are widely-used, free, and open-source technologies. Because of this, you can leverage knowledge from sites, like StackOverflow, and other disciplines, like web development, for database examples, troubleshooting, or tricks.

Write portable, extensible, and scalable code
Python is multi-platform, SQLAlchemy is database-agnostic, and the whole stack is free and open-source. Write code that will not eventually have to be abandoned due to project size, system architecture, or budgetary or licensing concerns.

Features#

  • Import/export waveforms directly to/from your database.

  • Easy importing/exporting of text “flat-file” data tables.

  • Build database queries using Python objects and methods (SQLAlchemy), not by concatenating SQL strings.

  • Integration with ObsPy.

  • Geographic filtering of results.