python-characteristic-14.3.0-5.2.noarch.rpm


Advertisement

Description

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 ftp.gwdg.de
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!

Alternatives

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

Requires

Name Value
python(abi) = 2.7

Provides

Name Value
python-characteristic = 14.3.0-5.2

Download

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 http://ftp.gwdg.de/pub/opensuse/repositories/Education/openSUSE_Leap_42.2/ opensuse-education
  2. Install python-characteristic rpm package:
    # zypper install python-characteristic

Files

Path
/usr/lib/python2.7/site-packages/characteristic.py
/usr/lib/python2.7/site-packages/characteristic.pyc
/usr/lib/python2.7/site-packages/test_characteristic.py
/usr/lib/python2.7/site-packages/test_characteristic.pyc
/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/share/doc/packages/python-characteristic/AUTHORS.rst
/usr/share/doc/packages/python-characteristic/LICENSE
/usr/share/doc/packages/python-characteristic/README.rst

Changelog

2015-03-26 - 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.
2014-07-30 - toddrme2178@gmail.com
- 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
Advertisement
Advertisement