Skip to main content

g4edge test data

GitHub tag (latest by date) GitHub Workflow Status pre-commit Code style: black GitHub issues GitHub pull requests License

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)

Source distribution for g4edge-testdata 0.1.0
File Size Uploaded
g4edge_testdata-0.1.0.tar.gz 16.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for g4edge-testdata 0.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page