Skip to main content

export

kremis export -o <FILE> [-t <FORMAT>]
Export the graph to a file.
OptionShortDescriptionDefault
--output <path>-oOutput file path(required)
--format <fmt>-tExport format: canonical or jsoncanonical

import

kremis import -i <FILE> -B file
Import a graph from a canonical format file.
OptionShortDescription
--input <path>-iInput file path
Import is currently supported only with the file backend (-B file). Import to redb backend is not yet implemented.

Examples

# Export as canonical binary
kremis export -o graph.bin -t canonical

# Export as JSON
kremis export -o graph.json -t json

# Import (file backend only)
kremis import -i graph.bin -B file
Last modified on February 19, 2026