Metadata-Version: 2.1
Name: triplets
Version: 0.0.4
Summary: Simple RDF tools to load/modify/export RDF data using Pandas DataFrames
Home-page: https://github.com/Haigutus/rdf_tools
Author: Kristjan Vilgo
Author-email: kristjan.vilgo@gmail.com
License: MIT
Description: # RDF parser:
        
         - Parses CIM RDF/XML data to pandas dataframe with 4 columns [ID, KEY, VALUE, INSTANCE_ID] (triplestore like)
         - The solution does not care about CIM version nor namespaces
         - Input files can be xml or zip files (containing one or mutiple xml files)
         - All files are parsed into one and same Pandas DataFrame, thus if you want single file or single data model, you need to filter on INSTANCE_ID column
        
        ## To get started:
        
        ```python
        import pandas
        from triplets import rdf_parser
        
        path = "CGMES_v2.4.15_RealGridTestConfiguration_v2.zip"
        data = pandas.read_RDF([path])
        ```
        
        ## Result:
        
        ![image](https://user-images.githubusercontent.com/11408965/64228384-53350500-ceef-11e9-9a8b-473ed1dc6e4d.png)
        
        
        You can then query a dataframe of all same type elements and its parameters across all [EQ, SSH, TP, SV etc.] instance files, where parameters are columns and index is object ID-s
        
        ```python
        data.type_tableview("ACLineSegment")
        ```
        
        ![image](https://user-images.githubusercontent.com/11408965/64228433-7eb7ef80-ceef-11e9-81d4-43e39ecf099d.png)
        
        
        Look into examples folders for more
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
