Skip to main content

OpenEnergyPlatform

An SQLAlchemy Dialect for the OEP

SQLAlchemy internally uses so called "dialects" to provide a consistent interface to different database drivers. The oedialect supplies your SQLAlchemy installation with a dialect using the REST-API of the Open Energy Platform (OEP). In short, the oedialect allows you to use SQLAlchemy to down- and upload data to an OEP instance.

License / Copyright

This repository is licensed under GNU Affero General Public License v3.0 (AGPL-3.0)

Installation

pip install oedialect

On MS-Windows make sure to install a version of shapely first. conda install shapely -c conda-forge

Tutorials

You can find tutorials and examples here.

Testing

To run the tests locally, first install the tox test environment pip install tox

You need to setup a local instance of the Open Energy Platform

Set your connection token that you got from your local OEP instance LOCAL_OEP_TOKEN=<your_token>

Finally, run tox

Metadata

Release files for oedialect 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for oedialect 0.1.1
File Size Uploaded
oedialect-0.1.1.tar.gz 31.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for oedialect 0.1.1
File Interpreter ABI Platform
oedialect-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 63.2 kB

Release files / oedialect-0.1.1.tar.gz

Download URL oedialect-0.1.1.tar.gz
Size 31.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e71819a5f2d5ebf47f75851cc02cc0c9a3facf66a4d8e84a039dfd1ba1f5611c
BLAKE2b-256 checksum
How to use checksums
fe5a674d2a229b2404b248f8355b1580fc0c33efdb5e038f1d2f133ac62db8ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / oedialect-0.1.1-py3-none-any.whl

Download URL oedialect-0.1.1-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ec2e63bce2d24b43ad2c68056f198bde5167ff0c0fc3dadc238ef5079ccfe1e
BLAKE2b-256 checksum
How to use checksums
a7747b22039e440acec3d9508d3463bf8528ba364c5e801ec27b4b0d81bbe894
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page