Skip to main content

PyRITE

PyRITE

PyRITE is a Python toolkit for Monte Carlo electron transport and X-ray emission in crystalline and amorphous solids. It models parametric X-ray radiation (PXR) and coherent bremsstrahlung (CBS) from crystals, alongside incoherent bremsstrahlung and characteristic X-ray emission.

Use the Python API for individual simulations or the command-line interface for resumable parameter sweeps. PyRITE includes material catalogs, configurable beams and detectors, trajectory export, and interactive analysis apps. CPU execution is included; NVIDIA GPU acceleration is available through the nvidia extra.

Install

Requires Python 3.13 or newer. The installation guide offers uv (recommended) and pip instructions, followed by GPU and extras options.

pip install pyrite-mc
pyrite tables fetch
pyrite run quickstart

Pint is included for physical quantity inputs through pyrite.units; numeric configuration and simulation storage retain their documented units.

Reference physics tables are downloaded separately by pyrite tables fetch. For NVIDIA GPUs, install pyrite-mc[nvidia] with compatible CUDA drivers. For pyrite.plots, install pyrite-mc[plots]; for the interactive marimo apps (pyrite app ...), install pyrite-mc[apps].

Research status and license

PyRITE is unvalidated research software under active development.

Distributed under the UCLA Academic Software License for educational or academic research use by academic or nonprofit researchers. Commercial use requires separate licensing.

Documentation · Source code

Metadata

Release files for pyrite-mc 0.30.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 pyrite-mc 0.30.0
File Size Uploaded Provenance Actions
pyrite_mc-0.30.0.tar.gz 3.4 MB With provenance Details for pyrite_mc-0.30.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyrite-mc 0.30.0
File Interpreter ABI Platform Actions
pyrite_mc-0.30.0-py3-none-any.whl Python 3 none any Details for pyrite_mc-0.30.0-py3-none-any.whl

Total release size: 7.4 MB

Release files / pyrite_mc-0.30.0.tar.gz

Download URL pyrite_mc-0.30.0.tar.gz
Size 3.4 MB
Tags Source
SHA-256 checksum
How to use checksums
852f41061b88dbcc379c2ffc344319fd2e7fe8a6b13b0e8bc00710a9c0684c34
BLAKE2b-256 checksum
How to use checksums
0ac35090411952eec96dc8d3bd0e8a23380c8948dd1b3c1bec5d4a9c4522e73b
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 Nov 8, 2026.

Transparency log

Release files / pyrite_mc-0.30.0-py3-none-any.whl

Download URL pyrite_mc-0.30.0-py3-none-any.whl
Size 4.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
e598bdc8d7f4f010c069e5579457423642c960dc0ff1faf8fc9133d2c7437a98
BLAKE2b-256 checksum
How to use checksums
96a1172a09b1afc3b6b60933b1faf8f3214949cbe09069b8625147d42c881a14
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 Nov 8, 2026.

Transparency log

Security for pyrite-mc 0.30.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 pyrite_mc-0.30.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 8, 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.

Release history Release notifications | RSS feed

This release

0.30.0 This release

2 release files Full provenance

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