Skip to main content

Pure Python implementation of the remctl protocol

Project description

purepy-remctl

This is a pure Python implementation of a remctl protocol version 3 client. The interface mostly follows the Python C binding which is packaged with the original remctl software distribution, with a few exceptions:

  • There is no Remctl.set_ccache(ccache) method, there is a Remctl.set_credential(credential) method instead. set_credential() accepts an (initiator) gssapi.Credential object from the python-gssapi package, which will be used as a credential to initiate the GSSAPI security context with the remctl server. This allows using, for example, a delegated credential to perform remctl operations without needing to store the delegated credential in a credential cache.
  • There is no _remctl module providing a low-level wrapper of the C API.
  • There is no support for the remctl protocol version 1. Only version >= 2 servers are supported.

The motivation for writing this module instead of using the existing Python bindings to the remctl C client library was:

  • To be able to use delegated credentials obtained from the python-gssapi package in an application to perform remctl operations.
  • To avoid performing blocking socket operations in the C library, so that remctl operations can be performed in an application using gevent without blocking (if the socket module is patched by gevent)

This project is licensed under the terms of the MIT license (see LICENSE.txt).

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

purepy-remctl-0.1.0.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

purepy_remctl-0.1.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

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