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 aRemctl.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 details)
Built Distribution
File details
Details for the file purepy-remctl-0.1.0.tar.gz
.
File metadata
- Download URL: purepy-remctl-0.1.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2bb8f79f3977f40e2106d6b9e1c9391138c58c18a819b848107b8639f36af33 |
|
MD5 | d072796a6d2c9d2b870bdc3696245c37 |
|
BLAKE2b-256 | af9032c93c38254e0ef66f72c5cc2c8b3baf590c633b780b9484699a84a23bf4 |
File details
Details for the file purepy_remctl-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: purepy_remctl-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcaa9875cbf0640e9254ff43ac4591d692eca13db5a00d501959bb96cb821542 |
|
MD5 | 5b64adcf8bdf20c45a3e60ef15afda64 |
|
BLAKE2b-256 | b5c8ed7c4de917ecdcca5c627d0526c1a1627b05aea8b2cf88770c5f7f3a225a |