Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!ecngs!feeder2.ecngs.de!81.171.118.61.MISMATCH!peer01.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Jean-Paul Calderone Newsgroups: comp.lang.python.announce Subject: [ANN] txkube 0.1.0 Date: Mon, 10 Apr 2017 14:12:29 -0400 Lines: 34 Sender: exarkun@twistedmatrix.com Approved: python-announce-list@python.org Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de ZUvHgHmKI6MclZfu2mOrQAWV6cPLk48VlZEp6RC6xTDg== Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'api.': 0.05; 'sponsoring': 0.05; 'url:github': 0.05; 'objects,': 0.07; 'pypi': 0.07; 'subject:ANN': 0.07; '__future__': 0.09; 'received:66.35': 0.09; 'usage,': 0.09; 'received:209.85.218': 0.10; '<>.': 0.13; 'def': 0.13; 'calderone': 0.16; 'interacting': 0.16; 'jean-paul': 0.16; 'kinds,': 0.16; 'received:184.173': 0.16; 'received:184.173.153': 0.16; 'received:mailgun.info': 0.16; 'contribute': 0.16; 'subject:] ': 0.17; 'library': 0.20; 'all,': 0.21; 'message-id:@mail.gmail.com': 0.24; 'least': 0.25; 'import': 0.26; "i'm": 0.29; 'example': 0.29; 'announce': 0.29; 'skip:u 20': 0.31; 'url:python': 0.31; 'received:google.com': 0.32; '8bit%:13': 0.34; 'release': 0.34; 'subject:[': 0.34; 'useful': 0.36; 'received:209.85': 0.36; 'url:org': 0.36; 'development.': 0.36; 'received:184': 0.36; 'thanks': 0.37; 'basic': 0.38; 'received:209': 0.38; 'proto:https': 0.39; '8bit%:14': 0.39; 'to:addr:python.org': 0.39; 'received:io': 0.39; 'received:psf.io': 0.39; 'received:ams1.psf.io': 0.40; 'received:mail1.ams1.psf.io': 0.40; 'collection': 0.62; 'more': 0.62; 'here': 0.66; 'to:addr:python-announce-list': 0.72; 'skip:n 40': 0.72; 'received:info': 0.73; 'url:as': 0.84; 'many,': 0.93 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=twistedmatrix.com; q=dns/txt; s=smtp; t=1491847952; h=Content-Type: To: Subject: Message-ID: Date: From: MIME-Version: Sender; bh=jvrYvF0puObu+P8ssSJpgZH+9jgtROS378dY324Cnro=; b=s8keLKqvn0RTiAjwfuxOCp10y5CIKguxDgrCpVJWtHxMLxeiSukctMHsUqyneK/ALMxcAsL3 n0rvaGi7nfx1wv5m0Ei6HoiuvFhEPN443n/cEtcL4y4ad5cpUXPv31H1rudSSZVnXlI0JeiQ hzYqMB64OTU06Kra6aEQZoG5nes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=twistedmatrix.com; s=smtp; q=dns; h=Sender: MIME-Version: From: Date: Message-ID: Subject: To: Content-Type; b=2llx8fo5WWy0b9kcvJWmKw2oAehsirv+PVLX1cUXoTO7zZF+9+B7OC2nCv5YPgPSWOt8cK iYZh45xQYu1o26PEfuJpGMYJrKfvZSyjZS6E+ZEhLp48YY04h2IKA+UuZsZIvE4gsjjq88CX DHHQzyogObBYK+k/1n69HLFLA7A5E= X-Mailgun-Sending-Ip: 184.173.153.217 X-Mailgun-Sid: WyIwOGIyMSIsICJweXRob24tYW5ub3VuY2UtbGlzdEBweXRob24ub3JnIiwgIjlmNWEyIl0= X-Gm-Message-State: AN3rC/5NMfvOewwE5OXk0lwX+8iZdSAdYZLAbc9u6VesRkjq3EmmwT1WiiTweDektz1fhB4iC66NGnyU3yQScA== X-Received: by 10.157.49.102 with SMTP id v35mr2027652otd.232.1491847949993; Mon, 10 Apr 2017 11:12:29 -0700 (PDT) X-Gmail-Original-Message-ID: X-Mailman-Approved-At: Mon, 10 Apr 2017 14:33:09 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Received-Bytes: 5408 X-Received-Body-CRC: 1092997101 Xref: csiph.com comp.lang.python.announce:2454 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 . You can contribute to its development on GitHub . Thanks to Least Authority Enterprises for sponsoring this development. Jean-Paul Calderone http://as.ynchrono.us/