Difference between revisions of "Pyomnigraph"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
}} | }} | ||
{{pip|pyomnigraph}} | {{pip|pyomnigraph}} | ||
+ | = Usage = | ||
+ | == Command line == | ||
+ | <source lang='bash'> | ||
+ | omnigraph -h | ||
+ | usage: omnigraph [-h] [-a] [-c CONFIG] [--cmd CMD [CMD ...]] [-d] [-f] [-l] | ||
+ | [-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] | ||
+ | -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 | ||
+ | </source> |
Revision as of 15:41, 28 May 2025
OsProject
OsProject | |
---|---|
id | pyomnigraph |
state | active |
owner | WolfgangFahl |
title | pyomnigraph |
url | https://github.com/WolfgangFahl/pyomnigraph |
version | 0.0.4 |
description | Unified Python interface for multiple graph databases |
date | 2025-05-28 |
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]
[-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]
-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