pz-rail-service-admin

Administrative command-line rail-pz-server commands.

pz-rail-service-admin [OPTIONS] COMMAND [ARGS]...

Options

--version

Show the version and exit.

algorithm

Manage Algorithm table

pz-rail-service-admin algorithm [OPTIONS] COMMAND [ARGS]...

create

Create a new row

pz-rail-service-admin algorithm create [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

--class-name <class_name>

Name of python class to associate to a particular DB object

--name <name>

Name for a particular DB row

delete

Delete a row

pz-rail-service-admin algorithm delete [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

get

Get an attribute

pz-rail-service-admin algorithm get [OPTIONS] COMMAND [ARGS]...

all

Get a single row

pz-rail-service-admin algorithm get all [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

by-name

Get a single row

pz-rail-service-admin algorithm get by-name [OPTIONS]

Options

--name <name>

Name for a particular DB row

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

estimators

Get a single row

pz-rail-service-admin algorithm get estimators [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

models

Get a single row

pz-rail-service-admin algorithm get models [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

list

list rows in table

pz-rail-service-admin algorithm list [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

catalog-tag

Manage Catalog_tag table

pz-rail-service-admin catalog-tag [OPTIONS] COMMAND [ARGS]...

create

Create a new row

pz-rail-service-admin catalog-tag create [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

--class-name <class_name>

Name of python class to associate to a particular DB object

--name <name>

Name for a particular DB row

delete

Delete a row

pz-rail-service-admin catalog-tag delete [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

get

Get an attribute

pz-rail-service-admin catalog-tag get [OPTIONS] COMMAND [ARGS]...

all

Get a single row

pz-rail-service-admin catalog-tag get all [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

by-name

Get a single row

pz-rail-service-admin catalog-tag get by-name [OPTIONS]

Options

--name <name>

Name for a particular DB row

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

datasets

Get a single row

pz-rail-service-admin catalog-tag get datasets [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

estimators

Get a single row

pz-rail-service-admin catalog-tag get estimators [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

models

Get a single row

pz-rail-service-admin catalog-tag get models [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

list

list rows in table

pz-rail-service-admin catalog-tag list [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

dataset

Manage Dataset table

pz-rail-service-admin dataset [OPTIONS] COMMAND [ARGS]...

create

Create a new row

pz-rail-service-admin dataset create [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

--validate-file

Validate files when uploading

--n-objects <n_objects>

Number of object in dataset

--catalog-tag-name <catalog_tag_name>

Name of associated catalog tag

--data <data>

Dict of magnitudes

--path <path>

Name for a particular DB row

--name <name>

Name for a particular DB row

delete

Delete a row

pz-rail-service-admin dataset delete [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

get

Get an attribute

pz-rail-service-admin dataset get [OPTIONS] COMMAND [ARGS]...

all

Get a single row

pz-rail-service-admin dataset get all [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

by-name

Get a single row

pz-rail-service-admin dataset get by-name [OPTIONS]

Options

--name <name>

Name for a particular DB row

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

request

Get a single row

pz-rail-service-admin dataset get request [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

list

list rows in table

pz-rail-service-admin dataset list [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

run

Create a dataset and in using a particular esimator

pz-rail-service-admin dataset run [OPTIONS]

Options

--data <data>

Dict of magnitudes

--catalog-tag-name <catalog_tag_name>

Name of associated catalog tag

--estimator-name <estimator_name>

Name of associated estimator

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

estimator

Manage Estimator table

pz-rail-service-admin estimator [OPTIONS] COMMAND [ARGS]...

create

Create a new row

pz-rail-service-admin estimator create [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

--model-name <model_name>

Name of associated model

--config <config>

Estimator configuration parameters

--name <name>

Name for a particular DB row

delete

Delete a row

pz-rail-service-admin estimator delete [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

get

Get an attribute

pz-rail-service-admin estimator get [OPTIONS] COMMAND [ARGS]...

all

Get a single row

pz-rail-service-admin estimator get all [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

by-name

Get a single row

pz-rail-service-admin estimator get by-name [OPTIONS]

Options

--name <name>

Name for a particular DB row

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

request

Get a single row

pz-rail-service-admin estimator get request [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

list

list rows in table

pz-rail-service-admin estimator list [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

init

Initialize the DB

pz-rail-service-admin init [OPTIONS]

Options

--reset

Delete all existing database data.

load

Manage Request table

pz-rail-service-admin load [OPTIONS] COMMAND [ARGS]...

algos-from-env

Load algorithms from RailEnv

pz-rail-service-admin load algos-from-env [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

catalog-tags-from-env

Load CatalogTags from RailEnv

pz-rail-service-admin load catalog-tags-from-env [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

dataset

Load CatalogTags from RailEnv

pz-rail-service-admin load dataset [OPTIONS]

Options

--name <name>

Name for a particular DB row

--path <path>

Name for a particular DB row

--data <data>

Dict of magnitudes

--catalog-tag-name <catalog_tag_name>

Name of associated catalog tag

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

estimator

Load CatalogTags from RailEnv

pz-rail-service-admin load estimator [OPTIONS]

Options

--name <name>

Name for a particular DB row

--model-name <model_name>

Name of associated model

--config <config>

Estimator configuration parameters

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

model

Load CatalogTags from RailEnv

pz-rail-service-admin load model [OPTIONS]

Options

--name <name>

Name for a particular DB row

--path <path>

Name for a particular DB row

--algo-name <algo_name>

Name of associated algorithm

--catalog-tag-name <catalog_tag_name>

Name of associated catalog tag

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

model

Manage Model table

pz-rail-service-admin model [OPTIONS] COMMAND [ARGS]...

create

Create a new row

pz-rail-service-admin model create [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

--validate-file

Validate files when uploading

--algo-name <algo_name>

Name of associated algorithm

--catalog-tag-name <catalog_tag_name>

Name of associated catalog tag

--path <path>

Name for a particular DB row

--name <name>

Name for a particular DB row

delete

Delete a row

pz-rail-service-admin model delete [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

get

Get an attribute

pz-rail-service-admin model get [OPTIONS] COMMAND [ARGS]...

all

Get a single row

pz-rail-service-admin model get all [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

by-name

Get a single row

pz-rail-service-admin model get by-name [OPTIONS]

Options

--name <name>

Name for a particular DB row

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

estimators

Get a single row

pz-rail-service-admin model get estimators [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

list

list rows in table

pz-rail-service-admin model list [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

request

Manage Request table

pz-rail-service-admin request [OPTIONS] COMMAND [ARGS]...

create

Create a new row

pz-rail-service-admin request create [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

--dataset-name <dataset_name>

Name of associated dataset

--estimator-name <estimator_name>

Name of associated estimator

--name <name>

Name for a particular DB row

delete

Delete a row

pz-rail-service-admin request delete [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

get

Get an attribute

pz-rail-service-admin request get [OPTIONS] COMMAND [ARGS]...

all

Get a single row

pz-rail-service-admin request get all [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

by-name

Get a single row

pz-rail-service-admin request get by-name [OPTIONS]

Options

--name <name>

Name for a particular DB row

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

list

list rows in table

pz-rail-service-admin request list [OPTIONS]

Options

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json

run

Run a particular request

pz-rail-service-admin request run [OPTIONS]

Options

--row-id <row_id>

ID of object in database table

-o, --output <output>

Output format. Summary table if not specified.

Options:

yaml | json