Metadata-Version: 2.1 Name: pysmo Version: 0.8.3 Summary: Python module to read/write/manipulate SAC (Seismic Analysis Code) files License: GPL-3.0-or-later Author: Simon M. Lloyd Author-email: simon@slloyd.net Requires-Python: >=3.8,<3.12 Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Science/Research Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+) Classifier: Operating System :: OS Independent Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 Classifier: Topic :: Scientific/Engineering Requires-Dist: PyYAML (>=5.3.1,<6.0.0) Requires-Dist: matplotlib (>=3.3.3,<4.0.0) Requires-Dist: numpy (>=1.19.4,<2.0.0) Requires-Dist: pyproj (>=3.0.0,<4.0.0) Requires-Dist: requests (>=2.25.1,<3.0.0) Requires-Dist: scipy (>=1.5.4,<2.0.0) Project-URL: Documentation, https://pysmo.readthedocs.io Description-Content-Type: text/markdown ![Test Status](https://github.com/pysmo/pysmo/actions/workflows/run-tests.yml/badge.svg) ![Build Status](https://github.com/pysmo/pysmo/actions/workflows/build.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/master/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 ``master`` branch directly from Github run: ```shell $ pip install git+https://github.com/pysmo/pysmo ``` 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