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 Distribution
pyg4ometry-1.1.1.tar.gz
(6.1 MB
view hashes)
Built Distributions
Close
Hashes for pyg4ometry-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23068dbfc7fe9743b737e8e204e920d18a1ef1ac824695cc963760a6700e0a9d |
|
MD5 | 3a5d7e0910a1776a0eb58ec32fc25788 |
|
BLAKE2b-256 | 347e24852ed76d0cbfa8e9e1c9e8d7bad148e666e91d5742d3dd29ea78abd19b |
Close
Hashes for pyg4ometry-1.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ce8c50ab1a2d353c5eb7b566212429c513b4f0431909d41b129bf25e2d80c42 |
|
MD5 | ffb34a558084d33a9272800cb06be4bb |
|
BLAKE2b-256 | 936df2ef7d133dcc6d7d01eb9b8d0b83c8a1a2da2f7b2be856ef882c8557afa0 |
Close
Hashes for pyg4ometry-1.1.1-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e43755fde9fb95c21e87ba70653fc95103547c6f08c587dc7166ad732a419bc |
|
MD5 | e98baf61a55935760df0b1b2449241b4 |
|
BLAKE2b-256 | 01c077d0f906acca0260bba804b70ef5d401bdebb973cb01487613c72f77e92b |
Close
Hashes for pyg4ometry-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 39ba4e97c6d1fdc979f8eb01564fb9c3d442c2a2d740e509b8bce5cbd786d3a8 |
|
MD5 | b740e3ea4f65dec8d03df2648525a1ec |
|
BLAKE2b-256 | 8fd80c4fb06f8debf0405c455dbb8e9b4990921b00eef8ac37a634cd3319139a |
Close
Hashes for pyg4ometry-1.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83e99dac6777448ab5a92179e5467e9fd9f0a54347fda66e8bc1b9922f3e929f |
|
MD5 | 56a112c28d696acc9970c10e9e0d5ae3 |
|
BLAKE2b-256 | d08e105aa0996196e99094059b20d0b4b9fb378550553c102bec8461bb40aede |
Close
Hashes for pyg4ometry-1.1.1-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19ff51d8e965d2f8c966676811ef4319d3c3cda2221d881d065cb21ea8fec9e9 |
|
MD5 | 5190079af72d561bf2501b94f8ec365f |
|
BLAKE2b-256 | 8e762f943c0c0fb24cf5097a208c8b025d2e60960404d84a83f382fe38595214 |
Close
Hashes for pyg4ometry-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a310ce7b3a951e897631d7e4af19ed57864db831d262110675f078e47e9dcf |
|
MD5 | 4b9aef80a8396555a785137db95aef23 |
|
BLAKE2b-256 | 57dc2b0032d56ac17e4c5bbbc8ad9a8314da062128790004dbc0127524b96997 |
Close
Hashes for pyg4ometry-1.1.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a1c68a7b1c1192a13ce5b56827e6956d4e280973c48b5ea5908db985eab7dfc |
|
MD5 | e5c8bb1bfe161e0fcc4a33b31b090a38 |
|
BLAKE2b-256 | b8e4be6f93f8ea139b489fbc96b4393c0e1536882abf1d3f67a14c6174598056 |
Close
Hashes for pyg4ometry-1.1.1-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ba1c29d5d1ea405d055cd049f94148a97b7512b881db0d3c63c8b67997feaa0 |
|
MD5 | 5230d69f983da22b2fee3fb1af87f399 |
|
BLAKE2b-256 | 6158157fd76485873aa8fb99c458807b92ba4b266f8dd7a67c94d9a70d8816d5 |
Close
Hashes for pyg4ometry-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1101169d6ad79c13802e5702e22ddf597df859790ab99a257c7d7b3fea96810 |
|
MD5 | f73195349f9ea15fc63984a07d53cd40 |
|
BLAKE2b-256 | 3f7e8ee871cf2ee78ea78d6d90c25d06e5e402b80fc927aea278b9b33f8f619b |
Close
Hashes for pyg4ometry-1.1.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eedad2c9aa1f999a169c29f6659078083adac87ce1c4d2610cdbcd518837bd45 |
|
MD5 | 579e1e5e0c943522161e8b5adb1e5f3e |
|
BLAKE2b-256 | 2a22cac795c5e92f3fe64154ae240eb3482aaafaaadba214d0e763189f9e72cd |
Close
Hashes for pyg4ometry-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd27fcf359f3c72d51406493687b3ccbf5f00930ff22f90cc7033037d4db0a6 |
|
MD5 | 30ea9690c7cb9fa65bf89fb5f003be25 |
|
BLAKE2b-256 | 3815502e0cb9a4602017b06ced244ffac1a077bcca6a09cd9a62bce9ee465c04 |
Close
Hashes for pyg4ometry-1.1.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 768c723980d42181ad540c19bba50365b2591cae8debf0198cdf3eb697d17723 |
|
MD5 | 89ec4c4f4179fc88b52edf93c390e5e9 |
|
BLAKE2b-256 | cefecdd7624667baba1b9c0e7f049852432f1023a02f855ddd549e8a25e4a064 |
Close
Hashes for pyg4ometry-1.1.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73f8f5d5f69fb34003e879360e413b1a2b3b0500604c9e98a4e564c0d1d0b7e3 |
|
MD5 | 4739d15c76697e3c70d32870cbdf671e |
|
BLAKE2b-256 | b364e791fdc20866aa4035488160f897e70c99fbd078d36504113aa764e194be |