python-characteristic - Say 'yes' to types but 'no' to typing in python

Property Value
Distribution openSUSE Leap 42.2
Repository openSUSE Education all
Package name python-characteristic
Package version 14.3.0
Package release 5.2
Package architecture noarch
Package type rpm
Installed size 115.29 KB
Download size 26.54 KB
Official Mirror
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


Package Version Architecture Repository
python-characteristic-14.3.0-1.1.noarch.rpm 14.3.0 noarch openSUSE Oss
python-characteristic - - -


Name Value
python(abi) = 2.7


Name Value
python-characteristic = 14.3.0-5.2


Type URL
Binary Package python-characteristic-14.3.0-5.2.noarch.rpm
Source Package python-characteristic-14.3.0-5.2.src.rpm

Install Howto

  1. Add the openSUSE Education repository:
    # zypper addrepo opensuse-education
  2. Install python-characteristic rpm package:
    # zypper install python-characteristic




2015-03-26 -
- 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
2014-07-30 -
- Initial version

See Also

Package Description
python-espressomd-3.3.1+git20160803.6ed0518-50.8.x86_64.rpm Python module for ESPResSo
python-mpi4py-1.3.1-12.1.x86_64.rpm MPI for Python
python-mpi4py-devel-1.3.1-12.1.x86_64.rpm Development files for python-mpi4py
python-openbabel-2.4.1-18.1.x86_64.rpm Python bindings for Open Babel, a chemistry toolbox
python-pyxb-1.2.4-1.2.noarch.rpm Python class code generator based on XMLSchemas
python-service_identity-16.0.0-7.2.noarch.rpm Service identity verification for pyOpenSSL
python-whiteboard-1.0.git.1514648472.61431aa-4.1.noarch.rpm Build and operate a low-cost electronic whiteboard
python2-opencv-3.3.1-118.1.x86_64.rpm Python 2 bindings for apps which use OpenCV
python3-opencv-3.3.1-118.1.x86_64.rpm Python 3 bindings for apps which use OpenCV
pythoncad-DS1_R36-197.4.x86_64.rpm PythonCAD--CAD in Python
qml-box2d-0+git.1451747535.1b37be7-7.4.x86_64.rpm QML Box2D plugin
qtlockedfile-2.4.1git.1366034362-1.4.x86_64.rpm TQFile extension with advisory locking functions
qtlockedfile-devel-2.4.1git.1366034362-1.4.x86_64.rpm The QtLockedFile class extends QFile with advisory locking functions
qtsingleapplication-2.4.1git.1366034362-3.4.x86_64.rpm Provides support for applications that can be only started once per user
qtsingleapplication-devel-2.4.1git.1366034362-3.4.x86_64.rpm Provides support for applications that can be only started once per user