Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python2-characteristic | Distribution: openSUSE Leap 15.2 |
Version: 14.3.0 | Vendor: openSUSE |
Release: lp152.3.3 | Build date: Sun Mar 1 13:07:04 2020 |
Group: Development/Languages/Python | Build host: lamb06 |
Size: 177968 | Source RPM: python-characteristic-14.3.0-lp152.3.3.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/hynek/characteristic/ | |
Summary: Say 'yes' to types but 'no' to typing in python |
characteristic Python package with class decorators that ease the chores of implementing the most common attribute-related object protocols. You just specify the attributes to work with and characteristic gives you: - a nice human-readable __repr__, - a complete set of comparison methods, - and a kwargs-based initializer (that cooperates with your existing one) *without* writing dull boilerplate code again and again. So put down that type-less data structures and welcome some class into your life!
MIT
* Thu Aug 24 2017 jmatejek@suse.com - singlespec auto-conversion * Thu Mar 26 2015 termim@gmail.com - update to version 14.3.0: * All decorators now gracefully accept empty attribute lists. [22]. - changes from version 14.2.0: * Attributes set by :func:`characteristic.attributes` are now stored on the class as well. [20] * __init__ methods that are created by :func:`characteristic.with_init` are now generated on the fly and optimized for each class. [9] - changes from version 14.1.0: * Fix stray deprecation warnings. * Don't rely on warnings being switched on by command line. [17] - changes from version 14.0.0: * Deprecations: + The defaults argument of :func:`~characteristic.with_init` and :func:`~characteristic.attributes` has been deprecated in favor of the new explicit :class:`~characteristic.Attribute` class and it's superior default_value and default_factory arguments. + The create_init argument of :func:`~characteristic.attributes` has been deprecated in favor of the new apply_with_init argument for the sake of consistency. * Changes: + Switch to a year-based version scheme. + Add :func:`~characteristic.immutable` to make certain attributes of classes immutable. Also add apply_immutable argument to :func:`~characteristic.attributes`. [14] + Add explicit :class:`~characteristic.Attribute` class and use it for default factories. [8] + Add aliasing of private attributes for :func:`~characteristic.with_init`?s initializer when used together with :class:`~characteristic.Attribute`. Allow for custom aliasing via a callable. [6, 13] + Add type checks to :func:`~characteristic.with_init`?s initializer. [12] + Add possibility to hand-pick which decorators are applied from within :func:`~characteristic.attributes`. + Add possibility to exclude single attributes from certain decorators. * Wed Jul 30 2014 toddrme2178@gmail.com - Initial version
/usr/lib/python2.7/site-packages/characteristic-14.3.0-py2.7.egg-info /usr/lib/python2.7/site-packages/characteristic-14.3.0-py2.7.egg-info/PKG-INFO /usr/lib/python2.7/site-packages/characteristic-14.3.0-py2.7.egg-info/SOURCES.txt /usr/lib/python2.7/site-packages/characteristic-14.3.0-py2.7.egg-info/dependency_links.txt /usr/lib/python2.7/site-packages/characteristic-14.3.0-py2.7.egg-info/top_level.txt /usr/lib/python2.7/site-packages/characteristic.py /usr/lib/python2.7/site-packages/characteristic.pyc /usr/lib/python2.7/site-packages/characteristic.pyo /usr/lib/python2.7/site-packages/test_characteristic.py /usr/lib/python2.7/site-packages/test_characteristic.pyc /usr/lib/python2.7/site-packages/test_characteristic.pyo /usr/share/doc/packages/python2-characteristic /usr/share/doc/packages/python2-characteristic/AUTHORS.rst /usr/share/doc/packages/python2-characteristic/LICENSE /usr/share/doc/packages/python2-characteristic/README.rst
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Apr 9 11:50:38 2024