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


Groups > comp.lang.python.announce > #2566 > unrolled thread

pytypes 1.0 beta 1 released

Started by"Stefan Richthofer" <Stefan.Richthofer@gmx.de>
First post2017-07-10 22:23 +0200
Last post2017-07-10 22:23 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  pytypes 1.0 beta 1 released "Stefan Richthofer" <Stefan.Richthofer@gmx.de> - 2017-07-10 22:23 +0200

#2566 — pytypes 1.0 beta 1 released

From"Stefan Richthofer" <Stefan.Richthofer@gmx.de>
Date2017-07-10 22:23 +0200
Subjectpytypes 1.0 beta 1 released
Message-ID<mailman.20.1499758401.29743.python-announce-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web