The kglite interactive Cypher shell — a sqlite3-style REPL for .kgl knowledge graphs (provides the `kglite` command).
Project description
kglite-cli
The interactive Cypher shell for kglite
knowledge graphs — the sqlite3-style REPL for .kgl files.
Install
$ pip install kglite-cli # ships the `kglite` binary on PATH
# or
$ cargo install kglite-cli # build from source (needs a Rust toolchain)
kglite-cli is a standalone binary distribution — installing it gives you the
kglite command. It's independent of the kglite Python library; install
either or both.
Use
$ kglite app.kgl
kglite shell — app.kgl
Type .help for commands, .quit to exit.
kglite> MATCH (n:Person) RETURN n.name AS name LIMIT 3;
name
----
Alice
Bob
Carol
(3 rows)
kglite> .quit
Run with no path for a scratch in-memory graph ($ kglite). Pure-Rust single
binary over kglite::api::* — no Python, no server.
A Cypher statement runs when terminated by ;, so it can span multiple lines;
dot-commands run on Enter. Tab completes dot-commands and the graph's labels.
Commands
.help— list commands.quit/.exit— leave the shell.labels/.rels/.schema/.indexes— schema introspection.mode table|csv|json— set the output format.import <file.csv> <NodeType> [--id <col>] [--title <col>]— load a CSV as nodes.dump <dir>— export a portable CSV +blueprint.jsoncopy (reload withkglite.from_blueprint(...)).read <file>— run the Cypher statements in a file.save [path]— write the graph to a.kglfile.timing on|off— show query wall-time after each statement
Anything else is executed as Cypher. Ctrl-C cancels a running query; Ctrl-D exits.
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 Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kglite_cli-0.12.1-py3-none-win_amd64.whl.
File metadata
- Download URL: kglite_cli-0.12.1-py3-none-win_amd64.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a1a8b3ea47cfd6fc177b905207937be1a208417e8d49afd1784592b47252aca
|
|
| MD5 |
abfa1ab0dfe88695d4545054cf728144
|
|
| BLAKE2b-256 |
3ceb21af2c809147077425a72bab0372fc119b37473425d12c4068caf274c0eb
|
Provenance
The following attestation bundles were made for kglite_cli-0.12.1-py3-none-win_amd64.whl:
Publisher:
build_cli_wheels.yml on kkollsga/kglite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kglite_cli-0.12.1-py3-none-win_amd64.whl -
Subject digest:
8a1a8b3ea47cfd6fc177b905207937be1a208417e8d49afd1784592b47252aca - Sigstore transparency entry: 1954593694
- Sigstore integration time:
-
Permalink:
kkollsga/kglite@79e98f55738c1f4d539c512d994a418f548a35d0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kkollsga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_cli_wheels.yml@79e98f55738c1f4d539c512d994a418f548a35d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kglite_cli-0.12.1-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: kglite_cli-0.12.1-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 4.0 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28fe30bbae6e958601e45c7094575fcee7a95ddb6833c4c0cf092a3fbdc158e1
|
|
| MD5 |
04583c999e091959090abbc698096a90
|
|
| BLAKE2b-256 |
36dd62a2792e9e80f345bbb43cca49a824b0989f0715580e5eff4c8200afe814
|
Provenance
The following attestation bundles were made for kglite_cli-0.12.1-py3-none-musllinux_1_2_x86_64.whl:
Publisher:
build_cli_wheels.yml on kkollsga/kglite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kglite_cli-0.12.1-py3-none-musllinux_1_2_x86_64.whl -
Subject digest:
28fe30bbae6e958601e45c7094575fcee7a95ddb6833c4c0cf092a3fbdc158e1 - Sigstore transparency entry: 1954594832
- Sigstore integration time:
-
Permalink:
kkollsga/kglite@79e98f55738c1f4d539c512d994a418f548a35d0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kkollsga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_cli_wheels.yml@79e98f55738c1f4d539c512d994a418f548a35d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kglite_cli-0.12.1-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: kglite_cli-0.12.1-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 3.6 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2af2d9a0652a54e3881c916473c132e7d247b7d65e6bacab001218025e8dd13f
|
|
| MD5 |
e1480d301d044170e2b06cf8d709d20e
|
|
| BLAKE2b-256 |
2259a501b77503386f0154efc45b527f92533039766591ab76453a498dd1020f
|
Provenance
The following attestation bundles were made for kglite_cli-0.12.1-py3-none-musllinux_1_2_aarch64.whl:
Publisher:
build_cli_wheels.yml on kkollsga/kglite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kglite_cli-0.12.1-py3-none-musllinux_1_2_aarch64.whl -
Subject digest:
2af2d9a0652a54e3881c916473c132e7d247b7d65e6bacab001218025e8dd13f - Sigstore transparency entry: 1954594517
- Sigstore integration time:
-
Permalink:
kkollsga/kglite@79e98f55738c1f4d539c512d994a418f548a35d0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kkollsga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_cli_wheels.yml@79e98f55738c1f4d539c512d994a418f548a35d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kglite_cli-0.12.1-py3-none-manylinux_2_28_aarch64.whl.
File metadata
- Download URL: kglite_cli-0.12.1-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 3.6 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72b61d88402606cc5f7b272296c898138d57a93ea4809c1af22a11642f392990
|
|
| MD5 |
fbe521296ab4db6928a3c852335092c0
|
|
| BLAKE2b-256 |
55109189fde47e000f720c6225adc9b23118832d124fc2911db2a51311ad50b3
|
Provenance
The following attestation bundles were made for kglite_cli-0.12.1-py3-none-manylinux_2_28_aarch64.whl:
Publisher:
build_cli_wheels.yml on kkollsga/kglite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kglite_cli-0.12.1-py3-none-manylinux_2_28_aarch64.whl -
Subject digest:
72b61d88402606cc5f7b272296c898138d57a93ea4809c1af22a11642f392990 - Sigstore transparency entry: 1954594007
- Sigstore integration time:
-
Permalink:
kkollsga/kglite@79e98f55738c1f4d539c512d994a418f548a35d0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kkollsga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_cli_wheels.yml@79e98f55738c1f4d539c512d994a418f548a35d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kglite_cli-0.12.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: kglite_cli-0.12.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 3.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb6da2b03f27df037ed3d06e651dfec99cc5774fff5f76396194bef41deaef6b
|
|
| MD5 |
4f9f2be3d2ed4a4eae06820f0569ba7a
|
|
| BLAKE2b-256 |
38dc070900fb4aca38436d58e369cade948bd2e6723bc37b734f9fdc8ad870d5
|
Provenance
The following attestation bundles were made for kglite_cli-0.12.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
build_cli_wheels.yml on kkollsga/kglite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kglite_cli-0.12.1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
bb6da2b03f27df037ed3d06e651dfec99cc5774fff5f76396194bef41deaef6b - Sigstore transparency entry: 1954594215
- Sigstore integration time:
-
Permalink:
kkollsga/kglite@79e98f55738c1f4d539c512d994a418f548a35d0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kkollsga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_cli_wheels.yml@79e98f55738c1f4d539c512d994a418f548a35d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kglite_cli-0.12.1-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: kglite_cli-0.12.1-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 3.4 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
273e88822c865589af7c9d1f1aa07a285844b637543bc115c75fe6c23ffaaf46
|
|
| MD5 |
c1b92d12d9ca1293ece01e66807d7990
|
|
| BLAKE2b-256 |
693ec58871b3a53117eb98fd7bab4f89baeeeab2ec19698bfaca17febf5ca26f
|
Provenance
The following attestation bundles were made for kglite_cli-0.12.1-py3-none-macosx_11_0_arm64.whl:
Publisher:
build_cli_wheels.yml on kkollsga/kglite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kglite_cli-0.12.1-py3-none-macosx_11_0_arm64.whl -
Subject digest:
273e88822c865589af7c9d1f1aa07a285844b637543bc115c75fe6c23ffaaf46 - Sigstore transparency entry: 1954593852
- Sigstore integration time:
-
Permalink:
kkollsga/kglite@79e98f55738c1f4d539c512d994a418f548a35d0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kkollsga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_cli_wheels.yml@79e98f55738c1f4d539c512d994a418f548a35d0 -
Trigger Event:
push
-
Statement type:
File details
Details for the file kglite_cli-0.12.1-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: kglite_cli-0.12.1-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 3.8 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa0c889daf2f9236a6d240aa51628269ca94a97831da3cfb8a69b50cd130be4e
|
|
| MD5 |
db08d68818130bee81b1ea540149f96a
|
|
| BLAKE2b-256 |
cddea92208fc129fa23ccf00c5059a356791dde0725751e235e0dca9676d918a
|
Provenance
The following attestation bundles were made for kglite_cli-0.12.1-py3-none-macosx_10_12_x86_64.whl:
Publisher:
build_cli_wheels.yml on kkollsga/kglite
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
kglite_cli-0.12.1-py3-none-macosx_10_12_x86_64.whl -
Subject digest:
fa0c889daf2f9236a6d240aa51628269ca94a97831da3cfb8a69b50cd130be4e - Sigstore transparency entry: 1954594402
- Sigstore integration time:
-
Permalink:
kkollsga/kglite@79e98f55738c1f4d539c512d994a418f548a35d0 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/kkollsga
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build_cli_wheels.yml@79e98f55738c1f4d539c512d994a418f548a35d0 -
Trigger Event:
push
-
Statement type: