Geometry package for high energy physics (Geant4, Fluka)
Project description
pyg4ometry
Python code for rapid creation and conversion of radiation transport Monte Carlo (Geant4 and Fluka) geometries.
Installing from PyPI
> pip install pyg4ometry
[!NOTE] Most dependencies are available from pip but you will need to install OpenCASCADE cgal, mpfr, gmp, ROOT. Find here installers for Ubuntu and MacOS.
Building
> git clone https://github.com/g4edge/pyg4ometry.git
> cd pyg4ometry
> pip install . # add --editable for a version which you can edit
[!NOTE] If you update your Git clone and the pybind11 C++ has changes you will need to reinstall and thus trigger a rebuild.
Manual
Online manual available at https://pyg4ometry.readthedocs.io
Developer commands (for detailed developer notes see readthedocs)
- Building the manual
pip install '.[docs]'
to install docs building dependenciescd pyg4ometry/docs
make
<your browser> build/html/index.html
to view the docs
- Running tests
pip install '.[test]'
to install test running dependenciespytest
- Git commit
- pre-commit
pre-commit install
to setup pre-commit in source dir (only once)pre-commit run --all-files
run pre-commit locallypre-commit run --all-files black
run only black
- messages
- Start commit message with
submodule : (type of change) detailed notes
- e.g
pycgal : (extra functionality) more 2d mesh processing
- Start commit message with
- pre-commit
- Pull requests
- PR messages should just explain the change in a concise way as they will form part of the change log
- e.g
FLUKA region viewer
- e.g
- Update the CHANGELOG.md file for generating the release notes
- PR messages should just explain the change in a concise way as they will form part of the change log
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for pyg4ometry-1.2.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9017fe96a8432c2d1aba511726eabb76892328e159dd9a6dd79f6acf9ea58d46 |
|
MD5 | 889cbb6ee1a794a518f999821dfd26f3 |
|
BLAKE2b-256 | 7aa8b370eebb80584f06bc5df7afa5677477a020491f492a3510c6d0f6151d1e |
Close
Hashes for pyg4ometry-1.2.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 760f651199ae0b4db1e2ced23a1a35ae6fa9760e8fc7b84d1edc8200e8fddf0b |
|
MD5 | bf19661183882cbdd8952aeee5ab05f5 |
|
BLAKE2b-256 | 6a6a1776a1e3a59036992284f1ca466c68ac5cb5032907e9edb279cae1175521 |
Close
Hashes for pyg4ometry-1.2.1-pp38-pypy38_pp73-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b52e5ad71f9ec9991534449bf0b5988b0aa0f2d947c6ad6bc3af2a2e71ec19f |
|
MD5 | 21d59e0e9ef250e11250cade4366f594 |
|
BLAKE2b-256 | 25a2c676daa23377ee93ffe5154534b796285af5bbbf052a8286cc2f1a5520ab |
Close
Hashes for pyg4ometry-1.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2dd5775c4da25ea55dcfee5d414e833cac8f358f0b49829fa91afde7706b38ee |
|
MD5 | 13a64f02900d7c3f81693bd8e8b8e68a |
|
BLAKE2b-256 | cf0396dd897a87accc4e59f5f293e4d00c50faa4362f3159a651a40a26a89bdc |
Close
Hashes for pyg4ometry-1.2.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d14f474c27481b2cbbf4000ac94de5515866c8d9aa1beb395553358b53b1a242 |
|
MD5 | 5baa7bc0bf08202dac3dbcdf49a9cdaf |
|
BLAKE2b-256 | 8ab967431909b7719ea6e01b13dc3e6df001a714378550b34e330ca2fbbb45b9 |
Close
Hashes for pyg4ometry-1.2.1-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 060fc8b0655a28579298df01c412753ca63922cf5f8c9592e8fbae46fe817286 |
|
MD5 | 6f82ba50f9027283737ee102f334376a |
|
BLAKE2b-256 | 376eb25dac2f587b4dd5b9e5c15dbbc6b5362f02a1719c408429e7b3d42f2584 |
Close
Hashes for pyg4ometry-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e59a204c128b09b3d9095d7a43816f2eabbf56b2c5ef0d0a3ba6a780dd4d53cc |
|
MD5 | 23e01bae18ead18a278d35c8ab7f0de1 |
|
BLAKE2b-256 | 3f402d50cb854e431810ececfbfe36190e817bc9532910b3924b94f1405a93c2 |
Close
Hashes for pyg4ometry-1.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d8c11220e93934369ba1d6090a4c1685d0b1bdf59b0a8fe74ebdc39d525ff41 |
|
MD5 | db6b6b4fd02ab995f604f7c8181b359d |
|
BLAKE2b-256 | dffc310a48f0b45ea85bfb5f12914adc2f46dfefd33ee0818c1ca939bf9d3c96 |
Close
Hashes for pyg4ometry-1.2.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501bce8b7f366d0cb3f29672512bd4d86819594a94e9f766a960e1c2f02dd5b5 |
|
MD5 | 23a1ced0b3cf4c5e1ca9920cfc30bd8e |
|
BLAKE2b-256 | 52c00ea5bba6da9afccb750d461b19b39b340e67d54ca0c131e226a213af31d2 |
Close
Hashes for pyg4ometry-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52ba0db4ee4bcd8a839a9dc1c9bdae3b8fc90b019433fb9971e6ec48a3be6157 |
|
MD5 | 3b465144a3734c0328955a34e8253545 |
|
BLAKE2b-256 | cdea8dd90c3cf16c495e99de342c134b3206e0137dcb3e64b4fc2939f860f5e6 |
Close
Hashes for pyg4ometry-1.2.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e4cd0a70616f8f475051201f0773095989c375eb43d00df2d46e3a8f926ebe9 |
|
MD5 | 73f368ade2bf9135f43fbcc30589e7f3 |
|
BLAKE2b-256 | 5638843aa292936406e557a6061f5dd11ce6a32ff8d566b8ed2d9cfd0ba867dd |
Close
Hashes for pyg4ometry-1.2.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 848a86c754a2cea832686b21e2eac579203cbc31a462cafe7162f462fd8e6afe |
|
MD5 | 597487d5def150d742c95d2fe2a22df6 |
|
BLAKE2b-256 | db3f9dfcac0e16ff717095bf705a7b18dded1c36fb65967e9e5dfffb58ea7a10 |
Close
Hashes for pyg4ometry-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50866ce542f645bb28b15ec2831d69b63fc7321aa203baa6ee7a1a50ec4f61ea |
|
MD5 | 46eb26bb72c42121a12b4446cc28b1d7 |
|
BLAKE2b-256 | ff71c719c6789e867d9eac72a372796d882112ae9fe905570b4a77a2d76a204a |
Close
Hashes for pyg4ometry-1.2.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b18465f0202efd095fafc9a0944c6fd7e204fcebab24c34807036d39d6ec0a8d |
|
MD5 | 29f44de5decc54b6ca083e030ecf1edc |
|
BLAKE2b-256 | f3d89d7ae26fa36100e326964b5327052aa61b9052d98a0eac471f3b2caa902c |
Close
Hashes for pyg4ometry-1.2.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7458642ee888ace049c4cc75fab0ba4abca11301d92c9e1fa8711d2765eea959 |
|
MD5 | 7001ba09b4aa0aade7b40ad02c751278 |
|
BLAKE2b-256 | bec857011e8b75f67e645e24430fb75caa49bd76c17279e33fe44f5d50f9a07b |
Close
Hashes for pyg4ometry-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c59c41d87a20ea953e269de57eb8493d0b9e97b5e3d8aaebdc1ab23fd1737ace |
|
MD5 | 6ed1d370133384476050811fe5b2ab37 |
|
BLAKE2b-256 | 249a761edaa0dd2bb61e60425122a9a075465a333e65eb19788e2615e601e44f |
Close
Hashes for pyg4ometry-1.2.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a0243c5b579e284a83f46f15a75172f2c3e9b71a35dfe992583bdee8b62cf86 |
|
MD5 | 42afbbce07eb51cbcf01571975ef954d |
|
BLAKE2b-256 | 59b9dddcc7241cc72850d37df0383c297d4a70561b9703298aa34c3f8019ef57 |
Close
Hashes for pyg4ometry-1.2.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cb0a2ddcf3c80295f54081c43be2ccfe7d719d8dd449f3e7b40d7d11459022b |
|
MD5 | cf45adb35e1898ff3323d3645b49e7fb |
|
BLAKE2b-256 | cde50b454100d5a859498c744da3d695e3f66ffd81617bb65fbf575d6a1819bf |
Close
Hashes for pyg4ometry-1.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f7ae6f1e3615c4fd613cd779dbcf8c763e608384cdf53fe392d5517f9c36149 |
|
MD5 | 75ba93d98086d785744b5a48c944a30b |
|
BLAKE2b-256 | dbf56cc6f24ed50e9ef8671681640fc82f675b5847a77804f30bef0837d78bb5 |
Close
Hashes for pyg4ometry-1.2.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6916c336d824069051ec6879f8a08bfda717f2e1246c896842f3de5577fdae2 |
|
MD5 | 8286e890a034102d6cf9814e716a7252 |
|
BLAKE2b-256 | a724a0ce287b767a40f60839aa01cfb56f664a10789e3f944cbaf22891e8ed80 |