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.
Warning
Work-in-progress repackaging of https://bitbucket.org/jairhul/pyg4ometry. Report issues and pull requests there.
Installing
pip install pyg4ometry
Warning Most dependencies are available from pip but you will need to install OpenCASCADE cgal, mpfr, gmp, ROOT
Building
git clone https://github.com/g4edge/pyg4ometry.gitcd pyg4ometrypip install .orpip install --editable .for a version which you can edit
Warning If you update your git clone and the pybind11 C++ has changes you will need to reinstall and this trigger a rebuild
Manual
Online manual
Developer commands (for detailed developer notes see readthedocs)
- Building the manual
pip install '.[docs]'to install doc building dependenciescd pyg4ometry/docsmake
- Running tests
pip install '.[test]'to install test running dependenciescd pyg4ometry/testspytest
- Git commit
- pre-commit
pre-commit installto setup pre-commit in source dir (only once)pre-commit run --all-filesrun pre-commit locallypre-commit run --all-files blackrun 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 request
- 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 Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyg4ometry-1.1.0.tar.gz.
File metadata
- Download URL: pyg4ometry-1.1.0.tar.gz
- Upload date:
- Size: 6.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed828328d693f25733242248a4d4a4e19141f75729de9a3a52e795b8509b3c5b
|
|
| MD5 |
af2f7020134281d3b0c215996db8cac1
|
|
| BLAKE2b-256 |
6900ebfd37877d7bdcc10819c4cb0c7191200bcd2775dcfdce378d8520f1e447
|
File details
Details for the file pyg4ometry-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 32.1 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e5af4b8ab91f91a801fce8d7be7274710de90f81f43e656f0f457e15213d5ef
|
|
| MD5 |
a6f784df8dc87328a5ffb81f832c41b5
|
|
| BLAKE2b-256 |
3dd8af6bc1a587eeaaa9bd3285acb7e017fbbc4e5d2bcc315b2d9573d694defc
|
File details
Details for the file pyg4ometry-1.1.0-cp311-cp311-macosx_13_0_arm64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp311-cp311-macosx_13_0_arm64.whl
- Upload date:
- Size: 6.6 MB
- Tags: CPython 3.11, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38f1ff4ff9540bd98727a40e63e388586b9a4de7ee37bb5ac3c65207c7cf447a
|
|
| MD5 |
def6633e56b2634947a3e566b110e8bd
|
|
| BLAKE2b-256 |
85c635141e2c5a12b55321ec69b88885f50418baefb9380945013713208b5140
|
File details
Details for the file pyg4ometry-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp311-cp311-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.3 MB
- Tags: CPython 3.11, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8257dc169eafea803bd17c73c396d936ac099d218b099cbc4419f96dcb6edcf
|
|
| MD5 |
9684714376342deddb6c7650b33628c0
|
|
| BLAKE2b-256 |
9f2d8e3346a8ebfb804fa3a85671ae72592c3167acfead0c3d513621208ba30f
|
File details
Details for the file pyg4ometry-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 32.1 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69975b719ae957b74b9db12a041dd0bdd012e821d22c6d9c85aa615cd5cdae6d
|
|
| MD5 |
d8dfa6747f5911dfe402f0dca42de057
|
|
| BLAKE2b-256 |
8555050b1a2adeab37e2ea251365c0cdee76a930867cdcbb4c465a246b20897a
|
File details
Details for the file pyg4ometry-1.1.0-cp310-cp310-macosx_13_0_arm64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp310-cp310-macosx_13_0_arm64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.10, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3075878080481fe463131da2bcc5c983ceee8a2954e2ed27727e6e4a5e83c3a0
|
|
| MD5 |
a07ef58d9ef159d4988c219b33c95cc1
|
|
| BLAKE2b-256 |
1737262524afa5bac8aebed742d2214eea2f4cb8c3140f3e8be28835d9f7243d
|
File details
Details for the file pyg4ometry-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp310-cp310-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.2 MB
- Tags: CPython 3.10, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3f17de1f363b0367e2396dcfccb66d179205faa6849742cb7a226b7faee2c5ed
|
|
| MD5 |
438a9f76eb1f6b7eb5921ca0c3e96ad6
|
|
| BLAKE2b-256 |
452dcb1996fb2aa351053baeefd1a773f975b8a8f93ce53df2d57f2652981485
|
File details
Details for the file pyg4ometry-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 32.1 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d202072bc1a7d14e5848fa1e89d8162cdcbcff2099a4a2d3b4bd20ddcc4e6b90
|
|
| MD5 |
c2b8f9a86affa84f7e4b40effccad3b3
|
|
| BLAKE2b-256 |
d8230ac509fe881039668e087d271fc20065dab812b97a0b85f31cbb9e2190ae
|
File details
Details for the file pyg4ometry-1.1.0-cp39-cp39-macosx_13_0_arm64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp39-cp39-macosx_13_0_arm64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.9, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44a09ec355e92418307ec358e0bb8d950baf37e351b42ea0611d539f5a480bf2
|
|
| MD5 |
21c902b49b07879bee5c637524d518fd
|
|
| BLAKE2b-256 |
5fc632b93e76ad3c579e469e01409005cd32e5673dc520fa20fffbc296a31af7
|
File details
Details for the file pyg4ometry-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp39-cp39-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.2 MB
- Tags: CPython 3.9, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e266abca935df08f4428737aba25d28a4d4d1cbc8ded6227e11e1010d9f4a05
|
|
| MD5 |
cc9b68b25e9b65e31f132588db7a9d6f
|
|
| BLAKE2b-256 |
d74d5c716ac635bb3177c12508f14b233bf09583efe557cfffd66bc4149542a6
|
File details
Details for the file pyg4ometry-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 32.1 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af7d76fcdae38a3893a673c04110f5a288bd51775452d4ad63e57169d00e0302
|
|
| MD5 |
fb2b64fc8d5fb515c6e1934fe5c234a2
|
|
| BLAKE2b-256 |
5b083d44b926dfe08642ac076cd2b0228bc7d2c1b0802af9493272431aa60f65
|
File details
Details for the file pyg4ometry-1.1.0-cp38-cp38-macosx_13_0_arm64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp38-cp38-macosx_13_0_arm64.whl
- Upload date:
- Size: 6.5 MB
- Tags: CPython 3.8, macOS 13.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17ac364d372038a3f6de970dc874f999da6b8a3d78d7ade83035eca71da09b5c
|
|
| MD5 |
be55aa98ac6a1e632c8dd4d5d5cdf868
|
|
| BLAKE2b-256 |
fcd378d1d9e5db3c12287807d1a50b83e6b768ca8a82e4ea6920ebf7644c9743
|
File details
Details for the file pyg4ometry-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.2 MB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bf4db6f43c20a4bd31cd205e137f2cbfd3ee690dde6f9c09122b65c7374d576e
|
|
| MD5 |
5bb8f17feff79cc02bffb618da1216dd
|
|
| BLAKE2b-256 |
b340621e24071167b75f2d6ded66a8d1fc5936d6d8d7ddee65a12e07450ccb03
|
File details
Details for the file pyg4ometry-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 32.1 MB
- Tags: CPython 3.7m, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eefb577e2738e13d1be4b7c09233c078a428198f8dd13d89af79386c30811188
|
|
| MD5 |
5421819a767868db4f388bd25e0e4014
|
|
| BLAKE2b-256 |
b33afec67358aaedf0ff792a5de47b015f346c7ff48f039a5d12789811dd6374
|
File details
Details for the file pyg4ometry-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: pyg4ometry-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 29.2 MB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
582bfa30ca284d225473496a1eb505c9a9739487d60ee725a05e7dcfc28868ef
|
|
| MD5 |
c7a2a3de95fd6ae0f239c0077529c02b
|
|
| BLAKE2b-256 |
0e91e6da2e8e62369e84316768b4851ab55d1b7fbf0d3b514e6d6a5ef47b0df8
|