Skip to main content

ServiceX Command Line Tool

This is a tool for setting up the ServiceX cluster.

Currently, its only function is to automatically create a Kubernetes Secret to securely store your grid certs and passphrase, and to clear this Secret.

Installation

The tool is available on pypi:

pip install servicex-cli

Usage

To list the version of the servicex cli installed:

servicex version

Initialization

The ServiceX CLI can be used to initialize ServiceX as follows:

servicex [--namespace <namespace>] init [certs|all] [--cert-dir <cert dir>]

Run servicex init to set up everything, or specify one or more components for partial setup (e.g. servicex init certs). Certs are the only component currently supported.

Grid Certs

By default, the CLI will find certs in .globus in your home directory. You can override this by providing a --cert-dir command line option.

By default the secret will be created in the default namespace. You can override this by providing a --namespace command line option (this must precede the init command).

You will be prompted for your grid cert passphrase. This will not be echoed to the screen, but will be stored in the Kubernetes Secret.

Removal

If you want to remove the installed Secrets from the cluster then you can use:

servicex [--namespace <namespace>] clear [certs|all]

Run servicex clear to clear all Secrets, or specify one or more components (e.g. servicex clear certs). Specify a --namespace argument which precedes the clear command to remove the Secrets from that namespace.

Metadata

Release files for servicex-cli 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for servicex-cli 1.0.1
File Size Uploaded
servicex-cli-1.0.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for servicex-cli 1.0.1
File Interpreter ABI Platform
servicex_cli-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.6 kB

Release files / servicex-cli-1.0.1.tar.gz

Download URL servicex-cli-1.0.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
094fab7dd6289d788c74e273f13267eff989720b0afc7bea579c6b6369d3f556
BLAKE2b-256 checksum
How to use checksums
27f5ea3420d2f620794dbe44a9debd1221e9a02cfed9ce798499a5a777ac5df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

Release files / servicex_cli-1.0.1-py3-none-any.whl

Download URL servicex_cli-1.0.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e01182f6ab156dc217baa9fe2ac781a60a6be471c8c07f2d523f77ef27aebb1c
BLAKE2b-256 checksum
How to use checksums
0082ec28b2249db8f53d9b49f1f7c2207ed921e53b11303844458b5d9ab2055a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page