CIM Database Uploader & Downloader
Project description
CIM-Loader
Automated scripts for
- uploading and downloading CIM files from various databases
- converting CIM files between common formats (XML, TTL, etc.)
Installation
The library can be pip installed from PyPi using
pip install cim-loader
To install a specific branch, clone the repo and install it using
git clone https://github.com/PNNL-CIM-Tools/CIM-Loader.git -b develop
pip install -e CIM-Loader
Usage
To use CIM-Loader for bulk upload and download, set the connection parameters with the correct url / host / port / username / password and then invoke the associated upload / download method
from cimloader.databases import ConnectionParameters
from cimloader.uploaders import BlazegraphUploader
params = ConnectionParameters(url = "http://localhost:8889/bigdata/namespace/kb/sparql")
loader = BlazegraphUploader(params)
loader.upload_from_file(filepath='./test_models', filename='ieee13_seto.xml')
Databases Supported
Databases to be supported in first full release:
- Blazegraph
- Neo4J
- GraphDB
- MySQL
Support may be added in the future for:
- Apache Tinkerpop
- SQlite
- AVEVA PI Historian
- Others as requested
Attribution and Disclaimer
This software was created under a project sponsored by the U.S. Department of Energy’s Office of Electricity, an agency of the United States Government. Neither the United States Government nor the United States Department of Energy, nor Battelle, nor any of their employees, nor any jurisdiction or organization that has cooperated in the development of these materials, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness or any information, apparatus, product, software, or process disclosed, or represents that its use would not infringe privately owned rights.
Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or any agency thereof, or Battelle Memorial Institute. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or any agency thereof.
PACIFIC NORTHWEST NATIONAL LABORATORY operated by BATTELLE for the UNITED STATES DEPARTMENT OF ENERGY under Contract DE-AC05-76RL01830
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
File details
Details for the file cim_loader-0.1.2a0.tar.gz
.
File metadata
- Download URL: cim_loader-0.1.2a0.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75ce68ac48f95c5f4dbb8a53c51c4bb7607e070dfe9caa846e3efe3595067f25 |
|
MD5 | f94b2bb65cb56e980188af97b3076577 |
|
BLAKE2b-256 | 6616e16b40ad314f1d5029c4579b47eead7c43fd604d65f5ecaf4748526ae562 |
File details
Details for the file cim_loader-0.1.2a0-py3-none-any.whl
.
File metadata
- Download URL: cim_loader-0.1.2a0-py3-none-any.whl
- Upload date:
- Size: 13.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.10.14 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32bc61c96f7f7ad9569520030910aa7baa387aa250753d2647b469c729409a96 |
|
MD5 | 7e52e9751f1e5437917f4e44f2b1a7e9 |
|
BLAKE2b-256 | 5b2b5208090ccaf6ee7c7fad1b18a0d2f32e2f065d0542b7647aa2fc855cb427 |