Skip to main content

Metadata for building software to interact with Zgoubi

Project description

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")

Project details


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 hashes)

Uploaded Source

Built Distribution

Zgoubi_metadata-0.1-py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page