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.…
[View More]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/
[View Less]
Hi everyone,
Fresh from PyCon US, comes a 17.5 prerelease. Fancy things in this release:
- twisted.python.url has been spun out into the new 'hyperlink' package;
importing twisted.python.url is now a compatibility alias
- Support for OpenSSL 1.1.0.
- Fixes around the reactor DNS resolver changes in 17.1, solving all known
regressions
- Deferred.asFuture and Deferred.fromFuture, to allow you to map asyncio
Futures to Twisted Deferreds and vice versa, for use the with Python 3+
asyncioreactor …
[View More]in Twisted
- Support for TLS 1.3 ciphersuites, in advance of a released OpenSSL to
enable the protocol
- Further Python 3 support in twisted.web, initial support in
twisted.mail.smtp
Please see the NEWS.rst file and download the tarball at
https://twistedmatrix.com/Releases/rc/17.5.0rc2/ . (rc1 fell to metadata
mishaps!)
Let me know if you notice anything out of the ordinary. If there's no
problems, it'll release in the next week or so.
Twisted Regards,
Amber Brown (HawkOwl)
[View Less]