Open Energy Platform (OEP) - metadata schemas, examples and templates package
Project description
OpenEnergyPlatform - Metadata
OEP metadata schemata, examples and templates package
License / Copyright
This repository is licensed under MIT License (MIT)
Installation
(Not yet implemented)
pip install oep-metadata
Usage Examples
from metadata.v140.example import METADATA_V140_EXAMPLE
print(METADATA_V140_EXAMPLE)
from metadata.v140.schema import METADATA_V140_SCHEMA
print(METADATA_V140_SCHEMA)
from metadata.v140.template import METADATA_V140_TEMPLATE
print(METADATA_V140_TEMPLATE)
Development
Example for activating virtualenv and install development dependencies:
- Create virtualenv in root folder of repo
python -m venv venv
-
Activate virtualenv
Linux:
. venv/bin/activate
Windows:
. venv/scripts/activate
-
Install requirements
pip install -r requirements.txt
Run tests locally (after above steps):
Short:
pytest
Complete:
tox -v
If a Python interpreter version is missing:
Linux (Ubuntu):
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update
# Install only missing interpreters:
sudo apt-get install python3.6
sudo apt-get install python3.7
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
oep-metadata-1.0.0.tar.gz
(2.9 kB
view hashes)
Built Distribution
Close
Hashes for oep_metadata-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a6587db593c822a83f161efa2b2eddfd36fb3d7e610c7af360a28c362783b90 |
|
MD5 | 7d85c45e0a83849bcc5cc781a5edcde1 |
|
BLAKE2b-256 | 497e97696a9179e16c793d06e37979fe113427f9a99981ce75fff25325a2c369 |