OpenEnergyPlatform / oemetadata

Repository for the Open Energy Family metadata. Contains metadata templates, examples and schemas. For metadata conversion see https://github.com/OpenEnergyPlatform/omi
https://openenergyplatform.github.io/oemetadata/
MIT License
21 stars 3 forks source link
metadata oep open-energy-family
Workflow Badge
Automated tests Automated tests
PyPI Publish
Docs Docs

OpenEnergyMetadata OpenEnergyPlatform

Open Energy Family - Open Energy Metadata (OEMetadata)

Open Energy Metadata (OEMetadata) is an energy metadata standard including a template, examples and a metadata schema. It is an extensive set of metadata based on the tabular data package specifications and the FAIR principles. The metadata contains multiple fields (keys) in a nested JSON structure.

You can find the latest version right here:

License / Copyright

This repository is licensed under MIT License (MIT)
The oemetadata is licensed under Creative Commons Zero v1.0 Universal
The oemetadata example and oemetadata template are licensed under Creative Commons Zero v1.0 Universal

Installation

pip install oemetadata

Usage Examples

from metadata.latest.example import OEMETADATA_LATEST_EXAMPLE

print(OEMETADATA_LATEST_EXAMPLE)
from metadata.latest.schema import OEMETADATA_LATEST_SCHEMA

print(OEMETADATA_LATEST_SCHEMA)
from metadata.latest.template import OEMETADATA_LATEST_TEMPLATE

print(OEMETADATA_LATEST_TEMPLATE)

Contributing

For further contributing infos and conventions see: CONTRIBUTING.md

Release a new version

See the complete instructions in the RELEASE_PROCEDURE.

Make PyPI release:

  1. Update the version in the setup.py file to reflect the new version number.
  2. Follow these steps to utilize the release automation workflow:

Testing Stage:

Deployment Stage:

Manual steps are:

python3 setup.py sdist bdist_wheel
twine upload dist/*