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


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

pytypes 1.0 beta 3 released

From "Stefan Richthofer" <Stefan.Richthofer@gmx.de>
Newsgroups comp.lang.python.announce
Subject pytypes 1.0 beta 3 released
Date 2017-11-20 19:02 +0100
Message-ID <mailman.7.1511357847.1982.python-announce-list@python.org> (permalink)
References <trinity-934e8270-c63c-4f9c-93d2-e0bf098da299-1499718186367@3capp-gmx-bs44> <trinity-f88a006f-8939-4c97-8ea4-1cf1ff82516b-1511200956759@3c-app-gmx-bs27>

Show all headers | View raw


pytypes 1.0 beta 3 has been released.
https://github.com/Stewori/pytypes

The most notable new feature is enhanced support for TypeVars.
Besides this it is mainly a bugfix release.


pytypes is a toolbox for PEP-484 style typing, explicitly supporting
Python >= 3.3, Python 2.7, Jython >= 2.7.1, PyPy 3.

Its main features include:

- Runtime typechecking

- Auto-annotating code from runtime observations in form of stubfiles

- Utility functions:
  * PEP 484 aware subtype and instance checking: is_of_type(obj, tp) and is_subtype(subtype, supertype)
  * get_type_hints that takes stubfiles and type comments into account

- Typesafe method overriding

- Pull type information from stubfiles or type comments into __annotations__ for use by other tools

- support for all versions of typing module

- support for Python 2.7, 3.3, 3.4, 3.5, 3.6, Jython 2.7.1, PyPy

- all features smoothly work with OOP, i.e. methods, static methods, class methods, properties


pytypes is still in beta phase. File issues as the occur. Help is welcome!

Github: https://github.com/Stewori/pytypes/releases
PyPI: https://pypi.python.org/pypi/pytypes

License: Apache 2.0

Enjoy!


-Stefan

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


Thread

pytypes 1.0 beta 3 released "Stefan Richthofer" <Stefan.Richthofer@gmx.de> - 2017-11-20 19:02 +0100

csiph-web