Documentation ¶
Overview ¶
Qri is a distributed dataset version control tool. Bigger than a spreadsheet, smaller than a database, datasets are all around us. Use Qri to browse, download, create, fork, and publish datasets on a peer-to-peer network that works both on and offline.
more info at: https://qri.io
Directories ¶
Path | Synopsis |
---|---|
Package api implements a JSON-API for interacting with a qri node
|
Package api implements a JSON-API for interacting with a qri node |
Package base defines business that operates on local data.
|
Package base defines business that operates on local data. |
dsfs
Package dsfs glues datsets to cafs (content-addressed-file-system)
|
Package dsfs glues datsets to cafs (content-addressed-file-system) |
dsfs/dstest
Package dstest defines an interface for reading test cases from static files leveraging directories of test dataset input files & expected output files
|
Package dstest defines an interface for reading test cases from static files leveraging directories of test dataset input files & expected output files |
dsfs/dsutil
Package dsutil includes dataset util funcs, placed here to avoid dataset package bloat TODO - consider merging this package with the dsfs package, as most of the functions in here rely on a Filestore argument
|
Package dsutil includes dataset util funcs, placed here to avoid dataset package bloat TODO - consider merging this package with the dsfs package, as most of the functions in here rely on a Filestore argument |
dsfs/subset
Package subset provides methods for extracting defined abbreviations of a dataset document.
|
Package subset provides methods for extracting defined abbreviations of a dataset document. |
fill
Package fill assigns arbitrary values to struct fields using reflection.
|
Package fill assigns arbitrary values to struct fields using reflection. |
Package cmd defines the CLI interface.
|
Package cmd defines the CLI interface. |
generate
Package generate is a command that creates a bash completion file for qri
|
Package generate is a command that creates a bash completion file for qri |
Package config encapsulates qri configuration options & details.
|
Package config encapsulates qri configuration options & details. |
migrate
Package migrate defines migrations for qri configuration files
|
Package migrate defines migrations for qri configuration files |
test
Package test contains predefined set of PeerInfo for testing.
|
Package test contains predefined set of PeerInfo for testing. |
Docs is a tool for generating markdown documentation of the qri command line interface (CLI)
|
Docs is a tool for generating markdown documentation of the qri command line interface (CLI) |
Package dsref defines structure and syntax for referring to a dataset
|
Package dsref defines structure and syntax for referring to a dataset |
Package event implements an event bus.
|
Package event implements an event bus. |
Package fsi defines qri file system integration: representing a dataset as files in a directory on a user's computer.
|
Package fsi defines qri file system integration: representing a dataset as files in a directory on a user's computer. |
Package identity defines interfaces & methods that describes users on qri
|
Package identity defines interfaces & methods that describes users on qri |
Package lib implements core qri business logic.
|
Package lib implements core qri business logic. |
Package logbook records and syncs dataset histories.
|
Package logbook records and syncs dataset histories. |
logsync
Package logsync synchronizes logs between logbooks across networks
|
Package logsync synchronizes logs between logbooks across networks |
oplog
Package oplog is an operation-based replicated data type of append-only logs oplog has three main structures: logbook, log, and op A log is a sequence of operations attributed to a single author, designated by a private key.
|
Package oplog is an operation-based replicated data type of append-only logs oplog has three main structures: logbook, log, and op A log is a sequence of operations attributed to a single author, designated by a private key. |
Package p2p implements qri peer-to-peer communication.
|
Package p2p implements qri peer-to-peer communication. |
test
Package p2ptest defines utilities for qri peer-2-peer testing
|
Package p2ptest defines utilities for qri peer-2-peer testing |
Package registry defines primitives for keeping centralized repositories of qri types (peers, datasets, etc).
|
Package registry defines primitives for keeping centralized repositories of qri types (peers, datasets, etc). |
regclient
Package regclient defines a client for interacting with a registry server
|
Package regclient defines a client for interacting with a registry server |
regserver
Package regserver provides a mock registry server for testing purposes
|
Package regserver provides a mock registry server for testing purposes |
regserver/handlers
Package handlers creates HTTP handler functions for registry interface implementations
|
Package handlers creates HTTP handler functions for registry interface implementations |
Package remote implements syncronization between qri instances
|
Package remote implements syncronization between qri instances |
Package repo represents a repository of qri information Analogous to a git repository, repo expects a rigid structure filled with rich types specific to qri.
|
Package repo represents a repository of qri information Analogous to a git repository, repo expects a rigid structure filled with rich types specific to qri. |
buildrepo
Package buildrepo initializes a qri repo
|
Package buildrepo initializes a qri repo |
fs
Package fsrepo is a file-system implementation of repo
|
Package fsrepo is a file-system implementation of repo |
gen
Package gen contains routines that perform expensive cryptographic operations.
|
Package gen contains routines that perform expensive cryptographic operations. |
profile
Package profile defines a qri peer profile
|
Package profile defines a qri peer profile |
test/spec
Package spec contains a set of tests to ensure a repo implementation conforms to expected behaviors, calling RunRepoTests on a given repo implementation should pass all checks in order to properly work with Qri.
|
Package spec contains a set of tests to ensure a repo implementation conforms to expected behaviors, calling RunRepoTests on a given repo implementation should pass all checks in order to properly work with Qri. |
Package startf implements dataset transformations using the starlark programming dialect For more info on starlark check github.com/google/starlark
|
Package startf implements dataset transformations using the starlark programming dialect For more info on starlark check github.com/google/starlark |
ds
Package ds exposes the qri dataset document model into starlark Package ds defines the qri dataset object within starlark outline: ds ds defines the qri dataset object within starlark.
|
Package ds exposes the qri dataset document model into starlark Package ds defines the qri dataset object within starlark outline: ds ds defines the qri dataset object within starlark. |
Package stats calculates statistical metadata for a given dataset
|
Package stats calculates statistical metadata for a given dataset |
Package update defines the update service
|
Package update defines the update service |
cron
Package cron schedules dataset and shell script updates
|
Package cron schedules dataset and shell script updates |
Click to show internal directories.
Click to hide internal directories.