GRL Merger is a package that allows to merge two GRL models that are written in TGRL syntax into one GRL model.
Project description
GRL Merger
This is a package used to merge two GRL models into one consolidated GRL model. The GRL models have to be written in a textual-GRL form (TGRL).
Installation
Run the following to install:
pip install GRLMerger
Usage
from grlmerger import startGRLMerger
# The input files must be in the same directory
startGRLMerger('model_1.xgrl', 'model_2.xgrl')
# It generates the input models in xlsx format, merged model in xgrl format, and conflict cases in xlsx format.
# To print the conflict cases dataframe
print(trace_conflict_df)
# To print the merged model dataframe
print(merged_model_df)
# To print the merged actors dataframe
print(merged_actors_df)
# To print the merged links dataframe
print(merged_relations_df)
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
GRLMerger-0.0.19.tar.gz
(22.9 kB
view hashes)
Built Distribution
GRLMerger-0.0.19-py3-none-any.whl
(43.9 kB
view hashes)
Close
Hashes for GRLMerger-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3ed4f591040fd1a37d02dc2a8d8e9a0872748aff2b2ea3cd319ccf08ae4a7e |
|
MD5 | 5f5608942642e0657951d3430e9e00f4 |
|
BLAKE2b-256 | d187e871ad3cab97fe65e8302ead95ef9dcc8c0ea6fe24d8cc5b052da972b169 |