An oemof extension to use the oemof related postgis database.
To use this extension you have to have access to the oemof postgis database.
The oemof code will be released in early 2016 but you can try this extension already with the feedinlib. If you are interested to join the oemof database project please contact us.
Clone the repository to your local system.
git clone firstname.lastname@example.org:oemof/oemof.db.git
Then you can install it using pip3 with the -e flag.
sudo pip3 install -e <path/to/the/oemof.db/root/dir>
As the purpose of this package is to facilitate usage of the oemof database, it needs to know how to connect to this database. Being part of oemof, oemof.db looks for this configuration in the file config.ini in a directory called .oemof in your home directory.
To configure database access this file has to have at least one dedicated section containing the necessary options, like this:
[postGIS] username = username under which to connect to the database database = name of the database from which to read host = host to connect to port = port to connect to pw = password used to connect with the given username (OPTIONAL)
The section is assumed to be named postGIS by default, but you can name it differently and have multiple sections for different databases if the need arises.
The password is optional. If you don’t want to store the password in the config.ini, you may store it using the keyring package, which is a dependency of oemof.db, like this:
>>> import keyring >>> keyring.set_password("database", "username")
where "database" and "username" have the same values as the corresponding options in config.ini.
TODO: Figure out how to actually get changelog content.
Changelog content for this version goes here.
TODO: Brief introduction on what you do with files - including link to relevant help section.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|oemof.db-0.0.2-py3-none-any.whl (12.7 kB) Copy SHA256 Checksum SHA256||3.4||Wheel||Jul 19, 2016|
|oemof.db-0.0.2.tar.gz (10.4 kB) Copy SHA256 Checksum SHA256||–||Source||Jul 19, 2016|