Skip to main content

CIM Database Uploade & 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

PyPi version coming soon.

Clone the repo and run 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cim_loader-0.1.0b0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

cim_loader-0.1.0b0-py3-none-any.whl (13.5 kB view details)

Uploaded Python 3

File details

Details for the file cim_loader-0.1.0b0.tar.gz.

File metadata

  • Download URL: cim_loader-0.1.0b0.tar.gz
  • Upload date:
  • Size: 9.8 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

Hashes for cim_loader-0.1.0b0.tar.gz
Algorithm Hash digest
SHA256 0269ac1115b5554155ab9c3cef1d04fe36de738947fc572fdf4d835bb6c59c86
MD5 e34dbb3c41634c4b050a3296ffa22cac
BLAKE2b-256 027fab50b9aa4719b7bdc3094a6c16835ad18bef05331cb38a05e776c689530a

See more details on using hashes here.

File details

Details for the file cim_loader-0.1.0b0-py3-none-any.whl.

File metadata

  • Download URL: cim_loader-0.1.0b0-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

Hashes for cim_loader-0.1.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 e124906be308f44393fb02552abeeaf173808e254046c5aa5537dbf00827d850
MD5 36b5e51041927eee0056fe811d27e1c4
BLAKE2b-256 6475701a8c17c186bc5a785e5a40092a697410fd490baeaa2f09c31b1603cd31

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page