GithubHelp home page GithubHelp logo

rwth-iaew / cimpyorm Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 6.0 586 KB

Python ORM middleware for IEC CIM and CGMES datasets

Home Page: http://www.iaew.rwth-aachen.de

License: BSD 3-Clause "New" or "Revised" License

Dockerfile 0.10% Python 99.63% Shell 0.27%
cim cgmes powersystems

cimpyorm's Introduction

Installation

PyPI:

pip install cimpyorm


Documentation

Some documentation can be found at readthedocs.


Usage

import cimpyorm

Loading datasets from cimpyorm-.db file
session, m = cimpyorm.load(r"Path/To/DatabaseFile") # Load an existing .db file

Parsing datasets
session, m = cimpyorm.parse(r"Path/To/Folder/Containing/Export") # Parse a .xml export (also creates a cimpyorm-.db file of the export)

To configure additional schemata (currently only the schema for the CGMES profiles are distributed with the application), create additional subfolders in the /res/schemata/ directory containg the schema RDFS.


Running the tests

You can run the included test-suite by running cimpyorm.test_all().


Querying datasets
all_terminals = session.query(m.Terminal).all()
names_of_ConductingEquipment = [t.ConductingEquipment.name for t in all_terminals]

Bug reports/feature requests

Please use the Issue Tracker.

cimpyorm's People

Contributors

it-iaew avatar mspi92 avatar toffergeld avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cimpyorm's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.