zgoubi-metadata
Useful metadata for creating zgoubi interfaces
Currently provides description of zgoubi elements in a yaml format.
Can be used by importing the module and using function that will return a dictionary of elements.
from zgoubi_metadata import elements
es_yaml = elements.get_raw_yaml()
es_parsed = elements.get_parsed()
Also the data files can be accessed through the pkg_resources interface.
import pkg_resources
pkg_resources.resource_listdir("zgoubi_metadata", "data/elements_yaml/")
drift_yaml = pkg_resources.resource_string("zgoubi_metadata", "data/elements_yaml/DRIFT.yaml")
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Zgoubi metadata-0.1.tar.gz
(4.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Zgoubi metadata-0.1.tar.gz.
File metadata
- Download URL: Zgoubi metadata-0.1.tar.gz
- Upload date:
- Size: 4.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d60c6580536dd6e626996df6acb8c2a83bd8b04435f1b808bb1c6b8ec80a885e
|
|
| MD5 |
ec920cfcb50a0e396284612dd9e665a9
|
|
| BLAKE2b-256 |
b2bd5b2c8a906fbffe4754d947bb5d3b264ed9a5c25f375d1bc17c8b7acb31e4
|
File details
Details for the file Zgoubi_metadata-0.1-py3-none-any.whl.
File metadata
- Download URL: Zgoubi_metadata-0.1-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.0.0.post20201207 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8febe5f64382c65f9d95230ef91cd7bbbc44b156cadb0bfb2dc2a17372ea032
|
|
| MD5 |
cc705cebd0ad6dee431ffe138bc8d32a
|
|
| BLAKE2b-256 |
a8240afc1fccf89cb67e9c9bd48f441d8c7fbaa7e305d2cbd24f625eec265780
|