Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

CLI for the Nessy Locking system

Project Description

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>
Release History

Release History

This version
History Node

0.8.1

History Node

0.8.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nessy-cli-0.8.1.tar.gz (16.0 kB) Copy SHA256 Checksum SHA256 Source Dec 30, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting