Difference between revisions of "Pyomnigraph"

From BITPlan Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
|title=pyomnigraph
 
|title=pyomnigraph
 
|url=https://github.com/WolfgangFahl/pyomnigraph
 
|url=https://github.com/WolfgangFahl/pyomnigraph
|version=0.0.4
+
|version=0.0.5
 
|description=Unified Python interface for multiple graph databases
 
|description=Unified Python interface for multiple graph databases
|date=2025-05-28
+
|date=2025-05-29
 
|since=2025-05-27
 
|since=2025-05-27
 
}}
 
}}

Revision as of 14:02, 29 May 2025

OsProject

OsProject
id  pyomnigraph
state  active
owner  WolfgangFahl
title  pyomnigraph
url  https://github.com/WolfgangFahl/pyomnigraph
version  0.0.5
description  Unified Python interface for multiple graph databases
date  2025-05-29
since  2025-05-27
until  


Installation

pip install pyomnigraph
# alternatively if your pip is not a python3 pip
pip3 install pyomnigraph 
# local install from source directory of pyomnigraph 
pip install .

upgrade

pip install pyomnigraph  -U
# alternatively if your pip is not a python3 pip
pip3 install pyomnigraph -U


Usage

Command line

omnigraph -h
usage: omnigraph [-h] [-a] [-c CONFIG] [--cmd CMD [CMD ...]] [-d] [-f] [-l]
                 [-q] [-s SERVERS [SERVERS ...]] [-v] [-V]

Unified Python interface for multiple graph databases

options:
  -h, --help            show this help message and exit
  -a, --about           show about info [default: False]
  -c CONFIG, --config CONFIG
                        Path to server configuration YAML file [default:
                        /Users/wf/Library/Python/3.12/lib/python/site-
                        packages/omnigraph/resources/examples/servers.yaml]
  --cmd CMD [CMD ...]   commands to execute on servers: start, stop, status,
                        clear, count, load, webui
  -d, --debug           show debug info [default: False]
  -f, --force           force action e.g. for clear command [default: False]
  -l, --list-servers    List available servers [default: False]
  -q, --quiet           avoid any output [default: False]
  -s SERVERS [SERVERS ...], --servers SERVERS [SERVERS ...]
                        servers: servers to work with - all is an alias for
                        all servers [default: ['blazegraph']]
  -v, --verbose         show verbose output [default: False]
  -V, --version         show program's version number and exit