Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #2454

[ANN] txkube 0.1.0

From Jean-Paul Calderone <exarkun@twistedmatrix.com>
Newsgroups comp.lang.python.announce
Subject [ANN] txkube 0.1.0
Date 2017-04-10 14:12 -0400
Message-ID <mailman.36.1491849190.2951.python-announce-list@python.org> (permalink)
References <CAEeXt4PT0qUVXE8jA75_Aa8XYkLFdMXbGNfwqTJepC88WzdDdQ@mail.gmail.com>

Show all headers | View raw


Hello all,

I'm pleased to announce the first release of txkube, a Twisted-based
library for interacting with Kubernetes using the HTTP API.

This release supports several of the most commonly used basic Kubernetes
objects, including Services, ConfigMaps, Deployments, ReplicaSets, and
Pods.  While Kubernetes has many, many more object kinds, this collection
of kinds already supports a very useful set of interactions.

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 v1, network_kubernetes_from_context

   @react
   def main(reactor):
       k8s = network_kubernetes_from_context(reactor, u"minikube")
       client = k8s.client()
       d = client.list(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 Calderone
http://as.ynchrono.us/

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

[ANN] txkube 0.1.0 Jean-Paul Calderone <exarkun@twistedmatrix.com> - 2017-04-10 14:12 -0400

csiph-web