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.2.tar.gz
(6.1 MB
view hashes)
Built Distributions
Close
Hashes for pyg4ometry-1.1.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f779cdf147adc3c869a783d49d4f4186ee106ca27c58486722272fd0647db0d |
|
MD5 | 20db38c2be71a0dae537c1aaf07aa1f4 |
|
BLAKE2b-256 | 9fafb4a9305c89ad9d13c69db983521add2b059d0c6de4db15b7dcbb04ee8fda |
Close
Hashes for pyg4ometry-1.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0919b1f2c0e95c32414d0ca8a0c38e509b439d96d7ea5de0d6d20c2814c2d901 |
|
MD5 | b06fac0454ef7c5014b018520c0d2c93 |
|
BLAKE2b-256 | 7c1e202c00dcdaf5e895513dea3deb78f99398e261d25e10804d7e79e76d5692 |
Close
Hashes for pyg4ometry-1.1.2-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fb6b45d59fc19041851281f078ec428bbf82c64042ddf5c1f72868c5e4fc6b2 |
|
MD5 | aab096945b8f349eaa05c849dd5120d0 |
|
BLAKE2b-256 | 9abad90040e761b0095457743fa55bc2d82b6c642ddcf4a7496c7c36cdf63fde |
Close
Hashes for pyg4ometry-1.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16410f1dc5c2b134c848da1b08ee7ad9cd9d0a6590ecc5c52d723d894fa812e2 |
|
MD5 | 8c85322d37057a33eda3b4f849254c5d |
|
BLAKE2b-256 | 04ff41ea88d545209008821f7bedebc32fecf5dcd2adf4cd7d9bf06ca7194562 |
Close
Hashes for pyg4ometry-1.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c29258aa0d1559dc3fc57fb7b5ac022391a3586ebd089540502369eb1b13afd |
|
MD5 | eed024c5e376cab26c8dd4ab179cf6cd |
|
BLAKE2b-256 | 8b230d89b4da43ef474b9d7bd920c95da4056cce6f918e0aa018e14fa3d23db8 |
Close
Hashes for pyg4ometry-1.1.2-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef7386e24a6f825863313be26af1fcbe27dff708110c6201689eb7f63688bc50 |
|
MD5 | e573da20346d124369bdf693ccd87356 |
|
BLAKE2b-256 | b230c87ec8ad347a260fb6c23d6cccfd5d94ba491f3ea76adc2934c2708569ac |
Close
Hashes for pyg4ometry-1.1.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f4694e269f6a80ba8d6eb3d5b6e193871f1f1916977e50643809fef2908c40 |
|
MD5 | a987e1da1be94dce1389d55d46df47b8 |
|
BLAKE2b-256 | 3ebd6c77ea2f88849837bdbb5668df222eb80d556334b3acaad6793a9dee602b |
Close
Hashes for pyg4ometry-1.1.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e08424be352dd81a80cfc1ec4f9f0b808e94e0a4f11ae44c3f8ffa45eb3e8b3f |
|
MD5 | c4cadd8e9884bb8d8f8acbf30d89f91c |
|
BLAKE2b-256 | 784be03958acc5cb31d655c73d07cfe6c459ada6bf8b4143a002eaad6dee4a7d |
Close
Hashes for pyg4ometry-1.1.2-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4efc4f72d7ee4e02aaf0e948096178de441eb84b12f917610fab86143fea4ec5 |
|
MD5 | f991e81e43ffbe366aafde1c0b935c8e |
|
BLAKE2b-256 | da8210f65479324010622000c9faa08f4b79af444b93a6c97aefb71d925f084f |
Close
Hashes for pyg4ometry-1.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0073b2a80eeb589cc912d2d1ebf5c91556c69732e184921100dcb70993b6ab8a |
|
MD5 | b52605517793e15e2e2b34bf8754e722 |
|
BLAKE2b-256 | 5156d26abbf83cce6bef35d2f53786d6964ef339c7c6bd307277b6c671209440 |
Close
Hashes for pyg4ometry-1.1.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b660c00c753c7634519195d397526eaea7078c4527664a1330311f0e67f5fa3f |
|
MD5 | 9185bb99290690b5ac544acd4dc95565 |
|
BLAKE2b-256 | 77890995e4151006337266b30fe05602851dd2d29a34c2437836208cf2414f90 |
Close
Hashes for pyg4ometry-1.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13af075399ef96f1bbd815371d93371ab6ee79bcfaf8504b4a7c8525e61a14af |
|
MD5 | f175dd40b3db608aa17a24aa9c111aa9 |
|
BLAKE2b-256 | 8421cadeaab561ed1e7b659a3427515b186028e2537bed08e7c4e98e84e82360 |
Close
Hashes for pyg4ometry-1.1.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51482fe6232f3bff187110c5848bb90bc82833494d265f01e4249b01812cd664 |
|
MD5 | 861911bfec4faf43d1164148eddd6342 |
|
BLAKE2b-256 | 7b648a660f28e9602168a87f2f6489d7547db8022f508fa27d7f3e9af10728cb |
Close
Hashes for pyg4ometry-1.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d025dad00f2fb19fa052ec82a16e3f519644b14f64fe632d343dd76218b17e9d |
|
MD5 | 816d7eef29ba1760157d5a808d09e353 |
|
BLAKE2b-256 | b81722d593e336a78bb90c7f7b49b373191ccfddcdb77c5f129f6fe1c484fd8b |