Skip to main content

Python module to read/write/manipulate SAC (Seismic Analysis Code) files

Project description

Test Status Build Status Documentation Status codecov PyPI PyPI - Python Version


Python package to read/write/manipulate SAC (Seismic Analysis Code) files.


To install the stable version of pysmo run the following command in a terminal:

$ pip install pysmo

Pre-release versions of pysmo can be installed by running:

$ pip install pysmo --pre

Finally, to install the current master branch directly from Github run:

$ pip install git+

Pysmo can then be used in a python script or the python shell directly:

>>> from pysmo import SacIO
>>> seismogram = SacIO.from_file('file.sac')
>>> print(
>>> print(
[-2.987490077543953e-08, -2.983458813332618e-08, ...
>>> help(seismogram)
Help on SacIO in module pysmo.core.sac.sacio object:



The complete pysmo documentation is available at


  • Helio Tejedor

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

pysmo-0.8.1.tar.gz (29.9 kB view hashes)

Uploaded source

Built Distribution

pysmo-0.8.1-py3-none-any.whl (32.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page