Skip to main content

CLI for the Nessy Locking system

Project description

Simple command line interface to the Nessy locking system.


It is simplest to install via PyPI using:

pip install nessy-cli


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


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>

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

nessy-cli-0.8.1.tar.gz (16.0 kB view hashes)

Uploaded Source

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