Skip to main content

Nessy CLI

Simple command line interface to the Nessy locking system.

Installation

It is simplest to install via PyPI using:

pip install nessy-cli

Usage

For convenience, you should set the nessy server claims URL in your environment:

export NESSY_CLAIMS_URL=http://nessy.example.com/v1/claims

If NESSY_CLAIMS_URL or GENOME_NESSY_SERVER are set in your environment, then those will be used; otherwise, you will need to specify the URL on the command line with the –url option.

To list active claims:

nessy list --status active

To revoke claims matching a filter:

nessy revoke --status active --min-active-duration 100000

To avoid a race condition while trying to revoke a specific claim on a resource, you should add a filter on the active duration:

nessy revoke --status active --min-active-duration 100000 --resource <RESOURCE>

Metadata

Release files for nessy-cli 0.8.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 nessy-cli 0.8.1
File Size Uploaded
nessy-cli-0.8.1.tar.gz 16.0 kB Details

Release files / nessy-cli-0.8.1.tar.gz

Download URL nessy-cli-0.8.1.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
cedcf3a7604525a20cb2e19fc5ad850b2ca43267c9b12a31e29d5b88821f43e7
BLAKE2b-256 checksum
How to use checksums
1fd40e184aa516425255e94f9350e3606b38adef39e4e3d96d46e0e749980840
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.8.1 This release

1 release file

0.8.0

1 release file

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