Skip to main content


pypi PyPI - License PyPI - Python Version test codecov Documentation Status

Measure your seismicity with SeismoStats, a Python package for seismicity analysis.

[!IMPORTANT]
We are happy to receive feedback and suggestions for improvement. Just open an issue here: https://github.com/swiss-seismological-service/SeismoStats/issues, and we will work on this as soon as possible.

Start using SeismoStats:

This is intended for people interested in using existing functionalities and functions in SeismoStats, for example if you want to calculate an Mc, a-value and b-value for your catalogue and plot the frequency magnitude distribution.

pip install seismostats

That's all, you can now use SeismoStats!

Installation from source

To get the very latest version of SeismoStats, you can install it directly from the source code. This is especially useful if you want to contribute to the development of SeismoStats.

After cloning, you can install SeismoStats by running the following command in the root directory of the repository:

pip install .

Or in development mode, including the development dependencies.

pip install -e '.[dev]'

To run the tests.

tox

Citing

We are actively working on a publication to submit with the first stable version of SeismoStats. If you use the code for scientific work, and until a pre-print is available, please cite SeismoStats as:

Mirwald, A., Schmid, N., Mizrahi L., Han, M., Rohnacher, A., Ritz, V. A., & Wiemer, S. (2025). SeismoStats: A Python Package for Statistical Seismology. https://github.com/swiss-seismological-service/SeismoStats

@misc{Mirwald2025,
   author = {Aron Mirwald and Nicolas Schmid and Leila Mizrahi and Marta Han and Alicia Rohnacher and Vanille A. Ritz and Stefan Wiemer},
   title = {SeismoStats: A Python Package for Statistical Seismology},
   url = {https://github.com/swiss-seismological-service/SeismoStats},
   year = {2025}
}

Metadata

Release files for SeismoStats 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for SeismoStats 1.0.0
File Size Uploaded Provenance Actions
seismostats-1.0.0.tar.gz 6.0 MB With provenance Details for seismostats-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for SeismoStats 1.0.0
File Interpreter ABI Platform Actions
seismostats-1.0.0-py3-none-any.whl Python 3 none any Details for seismostats-1.0.0-py3-none-any.whl

Total release size: 6.7 MB

Release files / seismostats-1.0.0.tar.gz

Download URL seismostats-1.0.0.tar.gz
Size 6.0 MB
Tags Source
SHA-256 checksum
How to use checksums
9b7db774cec68b83f974b9e284a48ec065cee1d2498dc364f89be5d117e7f823
BLAKE2b-256 checksum
How to use checksums
ac5040e51de73554f5a6fe0fa93043fac61d97939327236dce6aa59ef5d5c0a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 24, 2025.

Transparency log

Release files / seismostats-1.0.0-py3-none-any.whl

Download URL seismostats-1.0.0-py3-none-any.whl
Size 712.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
786fb6fe3be195fa7d1f25b9fe25cb2cb349cddb9d968190edc789dcc0c07efc
BLAKE2b-256 checksum
How to use checksums
fbe333aea0503f2e9177b3f7c8b7dae8aa36fb2ab27fd43df9c695d07a56fadb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Nov 24, 2025.

Transparency log

Security for SeismoStats 1.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for seismostats-1.0.0.tar.gz

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 Nov 24, 2025.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page