Skip to main content

PyRockfall logo

PyRockfall

Tests

PyRockfall is an open-source Python package for stochastic rockfall simulation. It runs vectorised Monte Carlo rockfall simulations on user-defined or 3D-extracted 2D profiles, as well as directly on 3D models, for rockfall hazard assessment and mitigation design.

Rather than simulating Monte Carlo realisations sequentially, PyRockfall represents the ensemble using NumPy arrays and advances all samples simultaneously through vectorised operations. This enables efficient probabilistic analysis of rockfall trajectories and associated engineering design quantities.

Key Features

  • Vectorised Monte Carlo simulation
    Rockfall samples are propagated simultaneously using vectorised numerical operations rather than sample-by-sample Python loops.

  • 2D rockfall simulation
    Run deterministic or stochastic simulations on user-defined slope profiles.

  • 2D simulation from 3D geometry
    Extract representative 2D sections from 3D rock-face models and use them for rockfall simulation.

  • 3D rockfall simulation
    Simulate rockfall trajectories directly on three-dimensional slope geometries.

  • Spatially varying materials
    Represent slopes containing multiple geological or surface materials with different rock-slope interaction properties.

  • Probabilistic material properties
    Sample uncertain interaction parameters for Monte Carlo analysis.

  • Engineering-oriented outputs
    Evaluate quantities relevant to rockfall hazard assessment and mitigation design, including kinetic energy, impact locations, and run-out distances.

  • Result visualisation
    Analyse simulation outputs and map calculated quantities onto the original slope geometry.

  • Open-source Python implementation
    Designed to support reproducible research, extension of the numerical framework, and integration into other rockfall-analysis workflows.

Installation

Install PyRockfall from PyPI:

pip install pyrockfall

See the documentation for full installation instructions, worked examples, and the manual.

Metadata

Release files for pyrockfall 0.1.6

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

Source distribution (sdist)

Source distribution for pyrockfall 0.1.6
File Size Uploaded Provenance Actions
pyrockfall-0.1.6.tar.gz 276.2 kB With provenance Details for pyrockfall-0.1.6.tar.gz

Built distribution (wheel)

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

Total release size: 490.5 kB

Release files / pyrockfall-0.1.6.tar.gz

Download URL pyrockfall-0.1.6.tar.gz
Size 276.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d6eb94ce97bbcf0bf1f9b57b4cd608dad316f42c27f5d134d98a92a33992de95
BLAKE2b-256 checksum
How to use checksums
cae89d9a9d8f573483faf16d0c33fa481b1bd4bdd42f1f79a4e8ab9d493ac7cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Release files / pyrockfall-0.1.6-py3-none-any.whl

Download URL pyrockfall-0.1.6-py3-none-any.whl
Size 214.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cdf53dddfe3c5d22d54af08d09ca7fbc343c512fcfaf464395a8360c8681be70
BLAKE2b-256 checksum
How to use checksums
4d69b6f04b169a35dd31a25f5cb155439b610711c31a03e6d3365a4d77792360
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Dec 1, 2026.

Transparency log

Security for pyrockfall 0.1.6

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 pyrockfall-0.1.6.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 Dec 1, 2026.

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