Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

SeismoStats

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

[!IMPORTANT]
We are actively working on a first stable version of SeismoStats. The API is not final yet and will still change until the first release coming in the next months. We are happy to receive feedback and suggestions for improvement.

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., Han, M., Rohnacher, A., Mizrahi, L., 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 Marta Han and Alicia Rohnacher and Leila Mizrahi 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}
}
# use it locally, being able to switch back and forth doing changes
# enter this in your other environment
pip install -e ../path/to/SeismoStats

# if you don't need to do live changes in catalog-tools you can install it "from source"
pip install git+https://github.com/swiss-seismological-service/SeismoStats.git

# if you want to install a specific branch:
pip install git+https://github.com/swiss-seismological-service/SeismoStats.git@feature/branch

# update it once the repo has changed:
pip install --force-reinstall git+https://github.com/swiss-seismological-service/SeismoStats.git

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., Han, M., Rohnacher, A., Mizrahi, L., 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 Marta Han and Alicia Rohnacher and Leila Mizrahi 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.0rc0

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.0rc0
File Size Uploaded Provenance Actions
seismostats-1.0.0rc0.tar.gz 5.1 MB With provenance Details for seismostats-1.0.0rc0.tar.gz

Built distribution (wheel)

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

Total release size: 5.7 MB

Release files / seismostats-1.0.0rc0.tar.gz

Download URL seismostats-1.0.0rc0.tar.gz
Size 5.1 MB
Tags Source
SHA-256 checksum
How to use checksums
5f59b9d26181fbe62bdf4db5502a04db175e6e676275af37e42d61a458fae48b
BLAKE2b-256 checksum
How to use checksums
605f20ecf1007764885e1e5c33f0e0097dfc2a9c95cd2d1cffb0159b88636840
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 18, 2025.

Transparency log

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

Download URL seismostats-1.0.0rc0-py3-none-any.whl
Size 614.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dee772e552625a2ebc0554193535e67f5b531eadc8d1170de2b5a9cad2a87e25
BLAKE2b-256 checksum
How to use checksums
29bca6ff9733bdf0396fcdfdba17956bb236c12c524e48593a4517e987846be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Mar 18, 2025.

Transparency log

Security for SeismoStats 1.0.0rc0

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.0rc0.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 Mar 18, 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