Metadata-Version: 2.5
Name: pysmo
Version: 0.8.4
Summary: Python module to read/write/manipulate SAC (Seismic Analysis Code) files
Project-URL: Documentation, https://pysmo.readthedocs.io
Project-URL: Repository, https://github.com/pysmo/pysmo
Author-email: "Simon M. Lloyd" <simon@slloyd.net>
License-Expression: GPL-3.0-or-later
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Topic :: Scientific/Engineering
Requires-Python: <3.15,>=3.11
Requires-Dist: matplotlib>=3.9
Requires-Dist: numpy>=2.1
Requires-Dist: pyproj>=3.7
Requires-Dist: pyyaml>=6.0.1
Requires-Dist: requests>=2.32.4
Requires-Dist: scipy>=1.14
Provides-Extra: dev
Requires-Dist: pytest-cov>=5.0; extra == 'dev'
Requires-Dist: pytest-depends>=1.0.1; extra == 'dev'
Requires-Dist: pytest-mpl>=0.17; extra == 'dev'
Requires-Dist: pytest>=8.3; extra == 'dev'
Requires-Dist: ruff>=0.11; extra == 'dev'
Requires-Dist: sphinx-rtd-theme>=3.0; extra == 'dev'
Requires-Dist: sphinx>=7.4; extra == 'dev'
Provides-Extra: docs
Requires-Dist: sphinx-rtd-theme>=3.0; extra == 'docs'
Requires-Dist: sphinx>=7.4; extra == 'docs'
Provides-Extra: lint
Requires-Dist: ruff>=0.11; extra == 'lint'
Provides-Extra: test
Requires-Dist: pytest-cov>=5.0; extra == 'test'
Requires-Dist: pytest-depends>=1.0.1; extra == 'test'
Requires-Dist: pytest-mpl>=0.17; extra == 'test'
Requires-Dist: pytest>=8.3; extra == 'test'
Description-Content-Type: text/markdown


![Test Status](https://github.com/pysmo/pysmo/actions/workflows/run-tests.yml/badge.svg)
![Release Status](https://github.com/pysmo/pysmo/actions/workflows/release.yml/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/pysmo/badge/?version=latest)](https://pysmo.readthedocs.io/en/latest/?badge=latest)
[![codecov](https://codecov.io/gh/pysmo/pysmo/branch/0.8.x/graph/badge.svg?token=ZsHTBN4rxF)](https://codecov.io/gh/pysmo/pysmo)
[![PyPI](https://img.shields.io/pypi/v/pysmo)](https://pypi.org/project/pysmo/)
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pysmo)

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:

```shell
$ pip install pysmo
```

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

```shell
$ pip install pysmo --pre
```

Finally, to install the current ``0.8.x`` branch directly from Github run:

```shell
$ 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:


```python
>>> 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
