Pysmo
Python package to read/write/manipulate SAC (Seismic Analysis Code) files.
Quickstart
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 0.8.x branch directly from Github run:
$ pip install git+https://github.com/pysmo/pysmo@0.8.x
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(seismogram.delta)
0.02500000037252903
>>> print(seismogram.data)
[-2.987490077543953e-08, -2.983458813332618e-08, ...
>>> help(seismogram)
Help on SacIO in module pysmo.core.sac.sacio object:
...
Documentation
The complete pysmo documentation is available at https://pysmo.readthedocs.io/
Contributors
- Helio Tejedor
Metadata
Release files for pysmo 0.8.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pysmo-0.8.4.tar.gz | 813.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysmo-0.8.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 846.0 kB
Release files / pysmo-0.8.4.tar.gz
| Download URL | pysmo-0.8.4.tar.gz |
|---|---|
| Size | 813.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ffc2e98f9bd51b0de33f9128a24a907e5867066b6336fd1c9f633f936b157c4
|
|
BLAKE2b-256 checksum How to use checksums |
c84241b9326779634b600d58f7ff55fb3ef19eb17f52fdd307494728659eb50d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency logRelease files / pysmo-0.8.4-py3-none-any.whl
| Download URL | pysmo-0.8.4-py3-none-any.whl |
|---|---|
| Size | 33.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c089a517a9e7f3ae6a41a5c305daf2d3d17965fc77991dc28f630669003c884
|
|
BLAKE2b-256 checksum How to use checksums |
d92d1f5d7ada5b6e0e98511f6d3b483de8e340af68b8042154acb8e2650abc96
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 1, 2026.
Transparency log