MCPL release 1.2.0
This MCPL version introduces native Python-support!
- Users can now open and access all contents of MCPL files from Python, using a new user-friendly and efficient NumPy-based native Python module:
mcpl.py
. For more information and examples, see https://mctools.github.io/mcpl/usage_python/. - The
mcpltool
gets a new Python-based sibling, thepymcpltool
. Thepymcpltool
can be downloaded and run on any machine with Python and NumPy, without the need for any code compilation, making MCPL-file inspection more portable than ever. In addition to being able to inspect MCPL files just like the regularmcpltool
, it can also be used to extract statistics and create plots of distributions of particle contents in a given file. For examples, see https://mctools.github.io/mcpl/usage_cmdline/. - For compatibility with software expecting data in column-based text files, the
mcpltool
andpymcpltool
both gets a new--text
option, which can be used to extract particle data from MCPL files into such text files.