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-2026 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.6.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.6-py3-none-win_arm64.whl (45.3 kB view details)

Uploaded Python 3Windows ARM64

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

Uploaded Python 3Windows x86-64

mcpl_extra-2.2.6-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.6-py3-none-musllinux_1_2_aarch64.whl (60.7 kB view details)

Uploaded Python 3musllinux: musl 1.2+ ARM64

mcpl_extra-2.2.6-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.6-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.6-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.6-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.6-py3-none-macosx_11_0_arm64.whl (56.1 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

mcpl_extra-2.2.6-py3-none-macosx_10_9_x86_64.whl (55.0 kB view details)

Uploaded Python 3macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mcpl_extra-2.2.6.tar.gz
Algorithm Hash digest
SHA256 ab44958ce8c1a433ed8635e379c0d707a574332cdcb526b0c9c768aa9d10068e
MD5 2ff647211ebcad2e2463dd285b63d077
BLAKE2b-256 797e4af4a66b02f04edd6346d48dc1a77e712bbaa81c5dd404c86745aea2907f

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6.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.6-py3-none-win_arm64.whl.

File metadata

  • Download URL: mcpl_extra-2.2.6-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.13.7

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-win_arm64.whl
Algorithm Hash digest
SHA256 5c27f46f16a1056d29183525080b54431f5a7f5af2e5fedcac5f94160f1bca9d
MD5 3469c53c49adaa4aa25e8aedb14f70a1
BLAKE2b-256 9451480c64b6227d84d1f277ca81460cdbbecbae77c3e5c9a134e5dd8062ae46

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-win_amd64.whl.

File metadata

  • Download URL: mcpl_extra-2.2.6-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.13.7

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 ea501444c5a74700e2e262f3b338deca3965591628843a98a2fe9ed5d4ac47e7
MD5 55ff31463c63695bb6a65265096ed981
BLAKE2b-256 62395d4f3c109e6dfb44e22db4cd68c03427f239269f24fa3863fd38324067c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 c54fc5ab95da939cd5e5edbec8e6f9a93415267d7484628e795724bac1eb2cd3
MD5 444d8f18400a2b41f0614c198d45dc19
BLAKE2b-256 d32e0049bf5c832b8fae7caeb9f71415701fbabbc687933ced212a68e27100c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 efc925e0b4d7b0efd590656cafc8ec4d2d5fa49088275bacc77621ee96619f04
MD5 373e0c9bdec8cb010a26940fe4fe98d3
BLAKE2b-256 e8fc2148110130076c3a711303e7c546c818139ac7b6acc6182a8ee71037dff7

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Algorithm Hash digest
SHA256 d84595e0ceabd544341c191f6167b1800d6f1dad38d505e03c2565611294084d
MD5 09de27b8a98fe35793bf913c18c7b014
BLAKE2b-256 5e3d30a8dd0f935300ede7012eae4e5c327856efc183c9a2951b11fd7121cb10

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-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.6-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fd9ad66f437f271cc3f8e726b91f777135509193d165b16caf87f1276acc7b2a
MD5 d77c9f6ee4e1ae52549f76d1e676d538
BLAKE2b-256 60134b060bc8ac6e0545af37f7800007156b107a28ddc36063edef946cb9e68e

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 8bcfaabf565ffd5b4c3d00b760be8ec938e6eb9ddd3fe32f4923848e10ae39ee
MD5 d9c0a725ed322fb3147b7420cc008385
BLAKE2b-256 a94e5d523f7b0eb46457a958e0ba02c5a8f8b39cf25ffed6488db1ced62a0337

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c1114e4316a791fc6e82e55556ff2d6cc086391402ed3525a94110751e96ce35
MD5 3bfab30c92a1cdcb4fe40e3348fe3e37
BLAKE2b-256 1e3a5410d60f5de38a8fada34cae9558a049c5696e6545804fc26aa47ebde419

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e8882d48105bcbc713a91b11a9744d226416c542bdeab5d29e8d7919a679bd8
MD5 8611f7e0211fd6b5bd497704ac5e36df
BLAKE2b-256 4e629efccf353a61fb47e83f0923f53f943305f707ca53e7caf1d0135bb8aa28

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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.6-py3-none-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mcpl_extra-2.2.6-py3-none-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3ccd1175db763146be7a60a7be3671eeb777807ef6512a10ca7e6ddfe4ef81f4
MD5 a2ce0bd3fbb6e42b5ee1fc35fb820cb5
BLAKE2b-256 9d670b00e3c2140ae15591406d61fc6b18bebda006b11466b198b4873b899009

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpl_extra-2.2.6-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