g4edge test data
Install (with pip):
$ python -m pip install g4edge-testdata
Usage
Instantiating a G4EdgeTestData object:
from g4edgetestdata import G4EdgeTestData
g4data = G4EdgeTestData()
Clones g4edge/testdata in a temporary
location (not preserved across system reboots), unless the environment variable
G4EDGE_TESTDATA is set and points to the location of an existing
g4edge/testdata clone.
Alternatively, the path to an existing g4edge/testdata clone can be provided to the class constructor:
from g4edgetestdata import G4EdgeTestData
g4data = G4EdgeTestData("path/to/g4edge/testdata")
Access to data files is provided through the square brackets operator:
>>> g4data["gdml/001_box.gdml"]
PosixPath('/tmp/g4edge-testdata-gipert/data/gdml/001_box.gdml')
Release files for g4edge-testdata 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| g4edge_testdata-0.1.0.tar.gz | 16.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| g4edge_testdata-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.6 kB
Release files / g4edge_testdata-0.1.0.tar.gz
| Download URL | g4edge_testdata-0.1.0.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df1dd9211983744c6cd981a63c5fc4485b5e654f34b6c07bacc1f5a54deac5cf
|
|
BLAKE2b-256 checksum How to use checksums |
bdfd339eefc74f60774c850fa23bab5ed77095706853243307c7f15802c5c4cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|
Release files / g4edge_testdata-0.1.0-py3-none-any.whl
| Download URL | g4edge_testdata-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94dca2df14677f7b1885205ae468392664f7852014cadfede57d259a7d4d6ef3
|
|
BLAKE2b-256 checksum How to use checksums |
4a22d416bef6c169e4e68bd059409a14929157c54e9705348cdcb0ec786c94dd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.4
|