[Twisted-Python] [ANN] txkube 0.2.0

Jean-Paul Calderone exarkun at twistedmatrix.com
Mon Jun 5 11:54:49 MDT 2017


Hello all,

I'm pleased to announce a new release of txkube, a Twisted-based
library for interacting with Kubernetes using the HTTP API.  The big
news for this release is compatibility with Kubernetes 1.6 and an
easier path to compatibility with future Kubernetes releases.  This
release also improves txkube's ability to authenticate against
different Kubernetes configurations.


Here is an example of txkube usage, taken from the README:

   from __future__ import print_function
   from twisted.internet.task import react

   from txkube import network_kubernetes_from_context

   @react
   def main(reactor):
       k8s = network_kubernetes_from_context(reactor, u"minikube")
       d = k8s.versioned_client()
       d.addCallback(
           lambda client: client.list(client.model.v1.Namespace)
       )
       d.addCallback(print)
       return d

You can download txkube from PyPI <https://pypi.python.org/pypi>.
You can contribute to its development on GitHub
<https://github.com/LeastAuthority/txkube>.

Thanks to Least Authority Enterprises <https://leastauthority.com/>
for sponsoring this development.

Jean-Paul Calderonehttp://as.ynchrono.us/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20170605/20c0c30e/attachment.html>


More information about the Twisted-Python mailing list