Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: "Stefan Richthofer" Newsgroups: comp.lang.python.announce Subject: pytypes 1.0 beta 1 released Date: Mon, 10 Jul 2017 22:23:06 +0200 Lines: 30 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 BSE5h0JyW2LCTGhjEcjfPQiOiSAohmrFJ0VolIlAAMUA== 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; 'url:github': 0.05; 'override': 0.07; 'pypy': 0.07; 'subject:released': 0.07; 'url:releases': 0.07; 'variant': 0.07; 'python': 0.09; 'methods,': 0.09; 'oop,': 0.09; 'received:gmx.net': 0.09; 'runtime': 0.09; '2.7': 0.11; 'apache': 0.14; 'explicitly': 0.15; 'static': 0.15; '3.3,': 0.16; 'from:addr:gmx.de': 0.16; 'github:': 0.16; 'license:': 0.16; 'subject:1.0': 0.16; 'subject:beta': 0.16; 'toolbox': 0.16; 'decorator': 0.22; 'pep': 0.22; 'code.': 0.23; '2.0': 0.24; 'properties': 0.24; 'testing': 0.25; 'equally': 0.29; 'suites': 0.29; 'announce': 0.29; 'checking': 0.31; 'extend': 0.31; 'work,': 0.31; 'url:python': 0.31; 'decorators': 0.33; 'utility': 0.33; 'release': 0.34; 'but': 0.34; 'i.e.': 0.35; 'class': 0.36; 'url:org': 0.36; 'skip:_ 10': 0.37; 'takes': 0.37; 'easily': 0.38; 'proto:https': 0.39; 'received:io': 0.39; 'received:psf.io': 0.39; 'to:addr:python.org': 0.39; 'received:ams1.psf.io': 0.40; 'received:mail1.ams1.psf.io': 0.40; 'received:net': 0.60; 'your': 0.61; 'information': 0.63; 'real-world': 0.66; 'account': 0.66; 'approaches': 0.72; 'to:addr:python-announce-list': 0.72; 'observed': 0.84; 'proudly': 0.91 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:nt8eVKPkyqMr6ZvQZFfbew6LUZYIZP24BN/0ZPB8fGW n4bAeq0b2FIwbPEaRqwAYSm3SJCzcSAQxnbcOKQNfhKP3KRVRd dA6xC3+/uE0KXGNADZkZGnZxI7g44SnieenIyyB1Ju2MuxMlTu KzDh0jUr+DVmx5DXRa4BSaGmNAhxxJfL2DU/HNv3O3JK0JfpLK 6SOw4y9XN4Cys/ufL+NhLTul727ypazpN7jBsfMFweGp8iGezk yftJA19f1cZKcM3Wlk0xCiz3fElgzo/dno50gvvPq4NiJGKZmg xSkZP4= X-UI-Out-Filterresults: notjunk:1;V01:K0:hfcAkWuxyPc=:nYyO09fvRbS/q3oxZJyv9U 9FdvusN8VXPxFeq7103CWhQlYmbXhNfgYyIKhj+/oxDHYU4jzH809eF+bXiGNT8ObghSKDoEf bwFiKK7wU1O/ckjEhwhG+fmMMFrKALlskh6cvUK/2Hzpyns7YIp3aK0frmlxuzQbzXJrqUDCK skWGWyOj0TTGM6FjRrgYT5+MDYUWPcr1JQ3iXhGn8BdhH0K0LdhB+lEOgyx1sYABBcMz6VuVj mnzV386hQERsiiwL+bKy2arMmASel3BZ+DZyUrUt8Gs7yE5CMM5mEaNSQlexOPyXY66779mvr VsOM5pV+fbtQcmRtH0MFWc6Mk04O25hV4f0GnaoceK001hQXRfNcRoFYYtcybckwos7V8kU/v cT4B0s7v8+vx5RIyr5CpEJZRKgnLsYACk6I9jWwfWEuJmetPepoFVU3qt4nld2mNb6i1+W9HG aBXqXsGPjw== X-Mailman-Approved-At: Tue, 11 Jul 2017 03:33:20 -0400 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.24 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: Xref: csiph.com comp.lang.python.announce:2566 After many months of work, we proudly announce the first beta release of pytypes. (https://github.com/Stewori/pytypes) pytypes is a toolbox for PEP-484 style typing, explicitly supporting Python >= 3.3, Python 2.7, Jython >= 2.7.1, PyPy 3 (others not tested, but might work). Its main features are - decorators and profiler for runtime typechecking - decorators for typesafe override checking of methods - easily pull type information from stubfiles into __annotations__ - get_type_hints: workable backport to Python 2.7 (based on type comments) - get_type_hints: variant that also takes stubfiles into account - utility functions is_of_type(obj, tp) and is_subtype(subtype, supertype) for use with PEP 484 types - decorator and profiler for generating stubfiles from type information observed and logged at runtime - all these features work equally well on Python 2.7 - all these features smoothly work with OOP, i.e. methods, static methods, class methods, properties This beta release is intended to allow testing of pytypes' approaches in real-world code. Please check to what extend it suites your needs and help us to improve it. Github: https://github.com/Stewori/pytypes/releases PyPI: https://pypi.python.org/pypi/pytypes License: Apache 2.0 Enjoy! -Stefan