SQL-Alchemy dialect for the OpenEnergy Platform
Project description
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
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
Built Distribution
Hashes for oedialect-0.0.10.dev0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d45bf05122b31702b67b7ad969da5a3e5fd0b777a7a811dd3d73ac3bc30b0d89 |
|
MD5 | 43ccb8a8559159dc513b12698419689d |
|
BLAKE2b-256 | 0be879a886de9e760800bda59c7a6e9e87c90de0363f19e0c4f5078daf37c7a3 |