Skip to main content

A command-line interface for ScopeDB

Project description

ScopeQL: ScopeDB Command Line Interface

Apache 2.0 licensed Build Status

Overview

scopeql provides a command line interface and interactive shell for ScopeDB.

Installation

You can install scopeql with Cargo:

cargo install scopeql

Or you can download pre-built binaries from the releases page.

Or you can use the Docker image:

docker run -it --rm scopedb/scopeql

Configuration

scopeql reads its default connection settings from config.toml. Each connection can optionally define an API key, which is sent as an Authorization: Bearer <key> header on requests.

default_connection = "default"

[connections.default]
endpoint = "https://<cell>.<provider>.scopedb.cloud"
auth = "api_key"
api_key = "your-api-key"
headers = ["X-Tenant: acme"]

You can also override connection settings with environment variables such as SCOPEQL_CONFIG_CONNECTIONS_<CONNECTION_NAME>_ENDPOINT, SCOPEQL_CONFIG_CONNECTIONS_<CONNECTION_NAME>_API_KEY, and SCOPEQL_CONFIG_CONNECTIONS_<CONNECTION_NAME>_HEADERS. The SCOPEQL_CONFIG_CONNECTIONS_<CONNECTION_NAME>_HEADERS value should use newline-separated KEY: VALUE entries, matching the headers = ["KEY: VALUE"] TOML format.

Logs

Logs are written to the .scopeql/logs/ subdirectory of the platform's cache directory (falling back to $HOME/.scopeql/logs/). The default log level is INFO. To change the log level, set the RUST_LOG environment variable, e.g., RUST_LOG=debug for more verbose output.

License

This project is licensed under Apache License, Version 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scopeql-0.6.0.tar.gz (71.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

scopeql-0.6.0-py3-none-win_amd64.whl (3.4 MB view details)

Uploaded Python 3Windows x86-64

scopeql-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.5 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ x86-64

scopeql-0.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (3.0 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARMv7l

scopeql-0.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.3 MB view details)

Uploaded Python 3manylinux: glibc 2.17+ ARM64

scopeql-0.6.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (3.6 MB view details)

Uploaded Python 3manylinux: glibc 2.5+ x86-64

scopeql-0.6.0-py3-none-macosx_11_0_arm64.whl (3.3 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

scopeql-0.6.0-py3-none-macosx_10_12_x86_64.whl (3.4 MB view details)

Uploaded Python 3macOS 10.12+ x86-64

File details

Details for the file scopeql-0.6.0.tar.gz.

File metadata

  • Download URL: scopeql-0.6.0.tar.gz
  • Upload date:
  • Size: 71.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scopeql-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ffcd52cad1e034f8a6feda70e4145286ee91a2cdc07ec1c25b0551db6b2cd2be
MD5 180a47cd441444d2c3d19d0f655e904f
BLAKE2b-256 f37e4c34972f57e18f2418f090f7c3fa73379a1e7c6a287a429cfce6c9014b84

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0.tar.gz:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scopeql-0.6.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: scopeql-0.6.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 3.4 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for scopeql-0.6.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 b3e577adeeaa9046d9fa7a47d41bb68228b327c6dafcaba7c337261e07bf902c
MD5 78c58eb54822d9a56ec5a87096183355
BLAKE2b-256 7f01a1acc38143727838842b5015714c2121e7907f982b26dcf1bb76b3b195df

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0-py3-none-win_amd64.whl:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scopeql-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for scopeql-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ef85165924a0f05dd1a94e20f21f8495b9a51c08f36f11ab6734871421fbaccc
MD5 71a24fa8d6b3c17e182754a7a0d94f94
BLAKE2b-256 83147cbfc12a3818bdeb1d425245fa53fd721ad644fa45c81d2668909dd244d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scopeql-0.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.

File metadata

File hashes

Hashes for scopeql-0.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm Hash digest
SHA256 3945999f513ee5728fe5f3b0317d2e9ff21d4249e4ce397c568c154657327243
MD5 1d24269df8a12aca01b8a7fc87b23e65
BLAKE2b-256 1e52db4ee81725a29daee9346110945f34abc17ed6f4aa135285f45b2e6d49b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scopeql-0.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for scopeql-0.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bdd752f13687efb8963a7211cd879b5def1ab66029071ad3184c34dd301acfbc
MD5 37e6cc0c37b01ce0c15b8ba545c86c39
BLAKE2b-256 826c2625e6247520d604f86a8bc6e26c294a1520816cc09b6f5a44aa9318c7ef

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scopeql-0.6.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for scopeql-0.6.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 62778ecfd3ac9e553107092297e446802b84939e0459ed82ebd1b30ec6a6fc35
MD5 b74891cd0241e5d14117c6e35853ceae
BLAKE2b-256 65700e8df0545dc726dd978c0e56b1329b125eb63c6bffa4f9cff3c34f6dce89

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scopeql-0.6.0-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for scopeql-0.6.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 931d4a4d6abd9061e4ae1eeb35b8382b21b2acff22982aa768eb2a99427c1973
MD5 148cbff3bb3e3c91cf5a5033db1887b1
BLAKE2b-256 ee520695b76654e877e17be19905f219edf04dcc2a52814235476e9c888a2276

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0-py3-none-macosx_11_0_arm64.whl:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file scopeql-0.6.0-py3-none-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for scopeql-0.6.0-py3-none-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e65c8c5a2d15000e0c3331c79fe0ea425395039b6e9134bda36459e5d80e25b8
MD5 2d473048735176b753179b568806aa2f
BLAKE2b-256 f60d3c46c86ba1f587b3eaa37e0a625f7725dd45f343a4a5c14137081dedd0d0

See more details on using hashes here.

Provenance

The following attestation bundles were made for scopeql-0.6.0-py3-none-macosx_10_12_x86_64.whl:

Publisher: release-pypi.yml on scopedb/scopeql

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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