Skip to content

anystore

No description available

Usage

anystore [OPTIONS] COMMAND [ARGS]...

Arguments

No arguments available

Options

Name Description Required Default
--version / --no-version Show version [default: no-version] No -
--store TEXT Store base uri [default: .anystore] No -
--install-completion Install completion for the current shell. No -
--show-completion Show completion for the current shell, to copy it or customize the installation. No -
--help Show this message and exit. No -

Commands

Name Description
get Get content of a key from a store
put Put content for a key to a store
keys Iterate keys in given store
mirror Mirror stores
io Generic i/o streaming wrapper which is...
csv2json Generic i/o wrapper for streaming input...
settings Show current runtime settings

Sub Commands

anystore get

Get content of a key from a store

Usage

anystore get [OPTIONS] KEY

Arguments

Name Description Required
KEY [required] No

Options

Name Description Required Default
-o TEXT [default: -] No -
--help Show this message and exit. No -

anystore put

Put content for a key to a store

Usage

anystore put [OPTIONS] KEY [VALUE]

Arguments

Name Description Required
KEY [required] No
[VALUE] Use this value instead of reading -i uri No

Options

Name Description Required Default
-i TEXT [default: -] No -
--help Show this message and exit. No -

anystore keys

Iterate keys in given store

Usage

anystore keys [OPTIONS]

Arguments

No arguments available

Options

Name Description Required Default
-o TEXT Output uri [default: -] No -
--glob TEXT Key glob No -
--prefix TEXT Key prefix No -
--exclude-prefix TEXT Exclude key prefix No -
--info / --no-info Print metadata [default: no-info] No -
--help Show this message and exit. No -

anystore mirror

Mirror stores

Usage

anystore mirror [OPTIONS]

Arguments

No arguments available

Options

Name Description Required Default
-i TEXT Input store uri Yes -
-o TEXT Output store uri Yes -
--glob TEXT Key glob No -
--prefix TEXT Key prefix No -
--exclude-prefix TEXT Exclude key prefix No -
--overwrite / --no-overwrite Overwrite existing data [default: no-overwrite] No -
--help Show this message and exit. No -

anystore io

Generic i/o streaming wrapper which is wrapped around fsspec Example: anystore io -i ./data.csv -o s3://my_bucket/data.csv

Usage

anystore io [OPTIONS]

Arguments

No arguments available

Options

Name Description Required Default
-i TEXT Input uri [default: -] No -
-o TEXT Output uri [default: -] No -
--help Show this message and exit. No -

anystore csv2json

Generic i/o wrapper for streaming input csv data to json objects Example: cat data.csv | anystore csv2json

Usage

anystore csv2json [OPTIONS]

Arguments

No arguments available

Options

Name Description Required Default
-i TEXT Input uri [default: -] No -
-o TEXT Output uri [default: -] No -
--help Show this message and exit. No -

anystore settings

Show current runtime settings

Usage

anystore settings [OPTIONS]

Arguments

No arguments available

Options

Name Description Required Default
--help Show this message and exit. No -