Skip to main content

Various tools and conversion utilities related to MCPL files.

Project description

MCPL - Monte Carlo Particle Lists

MCPL files, with extensions .mcpl and .mcpl.gz is a binary format for usage in physics particle simulations. It contains lists of particle state information, and can be used to interchange or reuse particles between various Monte Carlo simulation applications. The format itself is formally described in:

T. Kittelmann, et al., Monte Carlo Particle Lists: MCPL, Computer Physics Communications 218, 17-42 (2017), https://doi.org/10.1016/j.cpc.2017.04.012

All MCPL code is provided under the highly liberal open source Apache 2.0 license (http://www.apache.org/licenses/LICENSE-2.0), and further instructions and documentation can be found at https://mctools.github.io/mcpl/.

The mcpl-extra package

The mcpl-extra package is intended to provide tools and conversion utilities related to MCPL files, beyond what is available in the mcpl-core package. This currently includes converters to and from file formats related to PHITS and MCNP(5/X/6).

For more details about how to use these converters, refer to the https://mctools.github.io/mcpl/hooks_mcnp and https://mctools.github.io/mcpl/hooks_phits pages.

Scientific reference

Copyright 2015-2025 MCPL developers.

This software was mainly developed at the European Spallation Source ERIC (ESS) and the Technical University of Denmark (DTU). This work was supported in part by the European Union's Horizon 2020 research and innovation programme under grant agreement No 676548 (the BrightnESS project).

All MCPL files are distributed under the Apache 2.0 license, available at http://www.apache.org/licenses/LICENSE-2.0, as well as in the LICENSE file found in the source distribution.

A substantial effort went into developing MCPL. If you use it for your work, we would appreciate it if you would use the following reference in your work:

T. Kittelmann, et al., Monte Carlo Particle Lists: MCPL, Computer Physics Communications 218, 17-42 (2017), https://doi.org/10.1016/j.cpc.2017.04.012

Support for specific third party applications

Note that some users might also wish to additionally install the mcpl-extra package, which contains cmdline tools for converting between the binary data files native to some third-party Monte Carlo applications (currently PHITS and MCNP[X/5/6]). Users of Geant4 might wish to install the mcpl-geant4 package, which provides C++ classes (and CMake configuration code) for integrating MCPL I/O into Geant4 simulations. Finally, many Monte Carlo applications have directly integrated support for MCPL I/O into their codes. At the time of writing, the list of applications with known support from MCPL I/O includes:

  • McStas (built in)
  • McXtrace (built in)
  • OpenMC (built in)
  • Cinema/Prompt (built in)
  • VITESS (built in)
  • RESTRAX/SIMRES (built in)
  • McVine (built in)
  • MCNPX, MCNP5, MCNP6 (based on ssw2mcpl/mcpl2ssw from the mcpl-extra package)
  • PHITS (based on phits2mcpl/mcpl2phits from the mcpl-extra package)
  • Geant4 (based on C++/CMake code from the mcpl-geant4 package)

Note that instructions for installation and setup of third-party products like those listed above are beyond the scope of the MCPL project. Please refer to the products own instructions for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcpl_extra-2.2.2.tar.gz (38.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

mcpl_extra-2.2.2-py3-none-win_arm64.whl (45.3 kB view details)

Uploaded Python 3Windows ARM64

mcpl_extra-2.2.2-py3-none-win_amd64.whl (50.4 kB view details)

Uploaded Python 3Windows x86-64

mcpl_extra-2.2.2-py3-none-musllinux_1_2_x86_64.whl (58.0 kB view details)

Uploaded Python 3musllinux: musl 1.2+ x86-64

mcpl_extra-2.2.2-py3-none-musllinux_1_2_aarch64.whl (60.7 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (57.7 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (58.9 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (57.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (62.6 kB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

mcpl_extra-2.2.2-py3-none-macosx_11_0_arm64.whl (54.6 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mcpl_extra-2.2.2-py3-none-macosx_10_9_x86_64.whl (53.4 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

Details for the file mcpl_extra-2.2.2.tar.gz.

File metadata

  • Download URL: mcpl_extra-2.2.2.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcpl_extra-2.2.2.tar.gz
Algorithm Hash digest
SHA256 f0b19fdd1a6166385fc40c8d5f858d24772c16c75d80133365012af61b49850f
MD5 6b4ab7c2b342dc1014f119e12c5f2f02
BLAKE2b-256 d0afe773520b7768ce509a72da0447d5d38af55df4c8c1de01977c856088662b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2.tar.gz:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-win_arm64.whl.

File metadata

  • Download URL: mcpl_extra-2.2.2-py3-none-win_arm64.whl
  • Upload date:
  • Size: 45.3 kB
  • Tags: Python 3, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 20a622fdbb53af8a707a25b004111157bde3e880ba901818d48a293f63097255
MD5 3f4599b5f6c1128058d4bdfb59309faf
BLAKE2b-256 9f7915fe3ce92da8d62d6f158ddee2683a1ac1859946b448ed3cd683ab691fa2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-win_arm64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-win_amd64.whl.

File metadata

  • Download URL: mcpl_extra-2.2.2-py3-none-win_amd64.whl
  • Upload date:
  • Size: 50.4 kB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 5add5110ff80f0cd778c814517523c0759e21ba3b9d7d18a05b89cb0febda4c9
MD5 91bdc35ce200da4195a79902f79650ce
BLAKE2b-256 0189df7208483c33cd110e7c0810c4ed10bd57988eef1e9dbf61ff32ca74cc2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-win_amd64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 95d4bb090318ab76effffab4948c93f772ff3d736a081cb7f526a00284837835
MD5 2adaa7dda6da3c0e18fb3b4b676729c6
BLAKE2b-256 0e05062ccb7baa2c4fb820d9a0dfa524d59d086aba28aa6637aa7bdf41b0c05b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-musllinux_1_2_x86_64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 bfb3cf26bedf93c2f8d6272607e4d1fe067060eed982e2e094d19f0d19948794
MD5 115a46d91bd9b7ac478cc57cba412bd8
BLAKE2b-256 97456434a90df6a257bbf7d0e0b6d0fb9aa44b126a2335d5d368c033bc634b0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-musllinux_1_2_aarch64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 4390aa4547dd5c068962e607bfe8afb0b7bf899298e6c6e91a3e17c4c2c3da19
MD5 c3900a9dc0cc8e5ce43606e5367cfcc3
BLAKE2b-256 3eb3ba8121ba25066f2d389281e097b6bdffd5bb52951c5e6e5f474424d72f6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c527d65f3dc54fb01a82e74bba0b1112405beab073f3bb976e3828b1738ce2f0
MD5 c3c454083a7eed3fb59da8f2c3928df2
BLAKE2b-256 5ed748d191e0a045ab7490e86e14bc631400025a09a4cfc1d511d77cb135a104

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 fb657624231474afe6f6d88a6fd21a2083854fa02e96c934a17ec76a3d2512ae
MD5 473347324b81b8c56605711a6bca19a1
BLAKE2b-256 61d4b97a43a044b1e854bd14be60cd5742ced4903c11ddd0e9fed8630b0cd732

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 139e9afd1409f36356140cb8603fd045078b867b888cde1f462c3d3b1128eeb3
MD5 bc575a7c55a2d0b212ca87979d8fffdd
BLAKE2b-256 a38587fd4aed7dafb3650c63bf7009fc38da99867af172ccf5c2cc124b7d3692

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4e61cb1700e5c945aa8b28d29e5f1a69b8cd5671dba0e6a80993f877fca40c91
MD5 7e9e55f4096d89dc6c5ae2d6cd124661
BLAKE2b-256 b483e0bcd62465499a1531f4cf1b8315ce0997ada779e132e667db79852a9b07

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-macosx_11_0_arm64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpl_extra-2.2.2-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.2-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9cf206bc10b4da5946b9f9ff7d75af72c28030429b2de405784f22877c062f64
MD5 b4fb5685e4b10fac0bde66f16725026b
BLAKE2b-256 e48bd636efe38bae3ba89ab4f74ed95cfbb8523dc60ba6d5c958b6d75a275d5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.2-py3-none-macosx_10_9_x86_64.whl:

Publisher: pypi.yml on mctools/mcpl

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page