Skip to main content

The Views 3 CLI tool

Project description

viewser

This package contains many useful user operations that are used by the views 3 team. These operations include fetching and publishing data, finding documentation on both transforms and database structure, and more.

CLI

viewser functionality is exposed via a CLI on your system after installation. An overview of available commands can be seen by running viewser --help.

API

In addition to the CLI, viewser exposes many useful operations as functions that can be used in scripts.

Configuration

The tool is configured using the viewser config set KEY VALUE and viewser config load JSON commands. The settings shown without defaults here, or with defaults that don't make sense for the average user (REMOTE_URL) must be configured before use.

Setting Description Default
RETRY_FREQUENCY General request retry frequency in seconds 5
QUERYSET_MAX_RETRIES How many times a queryset is queried before failing 500
LOG_LEVEL Determines what logging messages are shown INFO
ERROR_DUMP_DIRECTORY Determines where error dumps are written to ~/.views/dumps
REMOTE_URL URL of a views 3 instance http://0.0.0.0:4000
MODEL_METADATA_DATABASE_HOSTNAME Hostname of database for storing model metadata hermes
MODEL_METADATA_DATABASE_NAME DBname of database for storing model metadata forecasts3
MODEL_METADATA_DATABASE_USER Username for database for storing model metadata Inferred from cert
MODEL_METADATA_DATABASE_SSLMODE SSLmode for database for storing model metadata required
MODEL_METADATA_DATABASE_PORT Port of database for storing model metadata 5432
MODEL_METADATA_DATABASE_SCHEMA Schema of database for storing model metadata forecasts
MODEL_METADATA_DATABASE_TABLE Table of database for storing model metadata model
AZURE_BLOB_STORAGE_ACCOUNT_NAME Name of Azure blob storage account
AZURE_BLOB_STORAGE_ACCOUNT_KEY Access key of Azure blob storage account

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 Distribution

viewser-5.12.2.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

viewser-5.12.2-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

Details for the file viewser-5.12.2.tar.gz.

File metadata

  • Download URL: viewser-5.12.2.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for viewser-5.12.2.tar.gz
Algorithm Hash digest
SHA256 c2f5b680a885e57c73a3ec70a694410ecb1d29165a27cfd494543ddb1a2c40b5
MD5 10a5ad2019a2597fa248df03e2b46b70
BLAKE2b-256 4c04dc26177914d6222536ea6e08f6b73b7af6d6b24b61b366c8990110e2d9a6

See more details on using hashes here.

File details

Details for the file viewser-5.12.2-py3-none-any.whl.

File metadata

  • Download URL: viewser-5.12.2-py3-none-any.whl
  • Upload date:
  • Size: 46.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for viewser-5.12.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7832d991c1644d07c48fb1062545e324b19e9e754f82b62beee1d66ef5e76dc0
MD5 15720cb73d0729c8204e90110594b576
BLAKE2b-256 1e3efc8bc8053297681086bdcc47cdc913065fa5c8b1fa8ed04bcea143fc44d2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page