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.0

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.0
File Size Uploaded Provenance Actions
nessy-cli-0.8.0.tar.gz 16.0 kB Without provenance Details for nessy-cli-0.8.0.tar.gz

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

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

Security for nessy-cli 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.8.0 This release

1 release file No provenance

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