[ANN] txkube 0.1.0

Jean-Paul Calderone <[email protected]> Mon, 10 Apr 2017 14:03:32 -0400
Newsgroups gmane.comp.python.twisted.web
Message-ID <CAEeXt4MM+w27rz1r3LjbA+Dx4w_Nbh0-EV81iowZmDL7nw++ew@mail.gmail.com>
--===============2935714752830519036==
Content-Type: multipart/alternative; boundary=001a11372ecc2182c4054cd3cbfe

--001a11372ecc2182c4054cd3cbfe
Content-Type: text/plain; charset=UTF-8

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> (
https://pypi.python.org/pypi).
You can contribute to its development on GitHub
<https://github.com/LeastAuthority/txkube> (
https://github.com/LeastAuthority/txkube).

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

Jean-Paul Calderone
http://as.ynchrono.us/

--001a11372ecc2182c4054cd3cbfe
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello all,<div><br></div><div>I&#39;m pleased to announce =
the first release of txkube, a Twisted-based library for interacting with K=
ubernetes using the HTTP API.</div><div><br></div><div>This release support=
s several of the most commonly used basic Kubernetes objects, including Ser=
vices, ConfigMaps, Deployments, ReplicaSets, and Pods.=C2=A0 While Kubernet=
es has many, many more object kinds, this collection of kinds already suppo=
rts a very useful set of interactions.</div><div><br></div><div>Here is an =
example of txkube usage, taken from the README:</div><div><br></div><div><d=
iv><font face=3D"monospace, monospace">=C2=A0 =C2=A0from __future__ import =
print_function</font></div><div><font face=3D"monospace, monospace">=C2=A0 =
=C2=A0from twisted.internet.task import react</font></div><div><font face=
=3D"monospace, monospace"><br></font></div><div><font face=3D"monospace, mo=
nospace">=C2=A0 =C2=A0from txkube import v1, network_kubernetes_from_contex=
t</font></div><div><font face=3D"monospace, monospace"><br></font></div><di=
v><font face=3D"monospace, monospace">=C2=A0 =C2=A0@react</font></div><div>=
<font face=3D"monospace, monospace">=C2=A0 =C2=A0def main(reactor):</font><=
/div><div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0k8=
s =3D network_kubernetes_from_context(reactor, u&quot;minikube&quot;)</font=
></div><div><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0=
client =3D k8s.client()</font></div><div><font face=3D"monospace, monospace=
">=C2=A0 =C2=A0 =C2=A0 =C2=A0d =3D client.list(v1.Namespace)</font></div><d=
iv><font face=3D"monospace, monospace">=C2=A0 =C2=A0 =C2=A0 =C2=A0d.addCall=
back(print)</font></div><div><font face=3D"monospace, monospace">=C2=A0 =C2=
=A0 =C2=A0 =C2=A0return d</font></div></div><div><br></div><div>You can dow=
nload txkube from=C2=A0<a href=3D"https://pypi.python.org/pypi">PyPI</a>=C2=
=A0(<a href=3D"https://pypi.python.org/pypi">https://pypi.python.org/pypi</=
a>).</div><div>You can contribute to its development on=C2=A0<a href=3D"htt=
ps://github.com/LeastAuthority/txkube">GitHub</a>=C2=A0(<a href=3D"https://=
github.com/LeastAuthority/txkube">https://github.com/LeastAuthority/txkube<=
/a>).</div><div><br></div><div>Thanks to=C2=A0<a href=3D"https://leastautho=
rity.com/">Least Authority Enterprises</a>=C2=A0(<a href=3D"https://leastau=
thority.com/">https://leastauthority.com/</a>) for sponsoring this developm=
ent.</div><div><br></div><div>Jean-Paul Calderone</div><div><a href=3D"http=
://as.ynchrono.us/">http://as.ynchrono.us/</a><br></div><div><br></div></di=
v>

--001a11372ecc2182c4054cd3cbfe--


--===============2935714752830519036==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KVHdpc3RlZC13
ZWIgbWFpbGluZyBsaXN0ClR3aXN0ZWQtd2ViQHR3aXN0ZWRtYXRyaXguY29tCmh0dHA6Ly90d2lz
dGVkbWF0cml4LmNvbS9jZ2ktYmluL21haWxtYW4vbGlzdGluZm8vdHdpc3RlZC13ZWIK

--===============2935714752830519036==--