Skip to main content

Open Energy Platform (OEP) - metadata schemas, examples and templates package

Project description

OpenEnergyPlatform

OpenEnergyPlatform - Metadata

OEP metadata schemata, examples and templates package

Build Status

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:

  1. Create virtualenv in root folder of repo

python -m venv venv

  1. Activate virtualenv

    Linux:

    . venv/bin/activate

    Windows:

    . venv/scripts/activate

  2. 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


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)

Uploaded Source

Built Distribution

oep_metadata-1.0.0-py3-none-any.whl (7.3 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