What is this?
The General Geometry Description (GGD) is a software system to generate a description of a constructive solid geometry specifically as used by Geant4 or ROOT applications are as represented in GDML files. It is implemented as a pure Python module gegede.
Install
GeGeDe is effectively now Python 3 only and can be installed in any of the "usual" ways. In short:
uv tool install git+https://github.com/brettviren/gegede
See the installation document for details.
How do I use it?
GGD is designed along layers each of which allows the user-programmer access.
- params: high level, human-centric configuration mechanism
- builders: structured, procedural geometry constructor code
- objects: the in-memory representation of the final geometry
- export: conversion to formats suitable to exchange the data with other applications.
At the highest level is a simple configuration language for end-user setting of parameters that are consumed by the next layer, the builders. The builders are instances of classes which are responsible for constructing some portion of an overall geometry. They may also manage some number of other (sub)builders to handle specific construction details. The geometry is constructed by building an in-memory representation of general geometry objects. Finally these objects may be exported into a number of forms including GDML, "plain old (Python) data" and JSON. Each layer provides for extension to novel uses.
Tutorial
Each layer contains a tutorial:
See also the GeGeDe Example project.
Reference
T.B.D.
GeGeDe Users
- DUNE GGD geometries for DUNE (far) detectors.
- DUNE ND GGD geometries for (some) DUNE near detectors
- GeGeDe Examples
Metadata
Release files for gegede 0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gegede-0.11.tar.gz | 36.4 kB | Without provenance | Details for gegede-0.11.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gegede-0.11-py3-none-any.whl | Python 3 | none | any | Details for gegede-0.11-py3-none-any.whl |
Total release size: 67.2 kB
Release files / gegede-0.11.tar.gz
| Download URL | gegede-0.11.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34c1901dc88a819ee1b58b05efc1eb73810b075335c22ec7d61d0d9e74bdafd2
|
|
BLAKE2b-256 checksum How to use checksums |
9cc2dbf1c97787d18df5abc8fcda6d76fab571ff9d38d712c4b1395853b739e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Release files / gegede-0.11-py3-none-any.whl
| Download URL | gegede-0.11-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
140cd3d72081608e35a10fa16eb4b1a9c9bb445350e79e265e21e1cb653a29dc
|
|
BLAKE2b-256 checksum How to use checksums |
b5dd9397f89a04959b5620b1049a8b35ce7d8734efb56e6935ee9a48697eb311
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.13
|
Security for gegede 0.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.