python2-characteristic-14.3.0-lp150.8.1.noarch.rpm


Advertisement

Description

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

Property Value
Distribution openSUSE Leap 15.0
Repository openSUSE Education all
Package name python2-characteristic
Package version 14.3.0
Package release lp150.8.1
Package architecture noarch
Package type rpm
Installed size 173.83 KB
Download size 33.66 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
python2-characteristic-14.3.0-lp150.1.3.noarch.rpm 14.3.0 noarch openSUSE Oss
python2-characteristic - - -

Requires

Name Value
python(abi) = 2.7

Provides

Name Value
python-characteristic = 14.3.0-lp150.8.1
python2-characteristic = 14.3.0-lp150.8.1

Obsoletes

Name Value
python-characteristic < 14.3.0-lp150.8.1

Download

Type URL
Binary Package python2-characteristic-14.3.0-lp150.8.1.noarch.rpm
Source Package python-characteristic-14.3.0-lp150.8.1.src.rpm

Install Howto

  1. Add the openSUSE Education repository:
    # zypper addrepo http://ftp.gwdg.de/pub/opensuse/repositories/Education/openSUSE_Leap_15.0/ opensuse-education
  2. Install python2-characteristic rpm package:
    # zypper install python2-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/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/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/python2-characteristic/AUTHORS.rst
/usr/share/doc/packages/python2-characteristic/LICENSE
/usr/share/doc/packages/python2-characteristic/README.rst

Changelog

2017-08-24 - jmatejek@suse.com
- singlespec auto-conversion
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
python2-mpi4py-3.0.0-lp150.23.1.x86_64.rpm MPI for Python
python2-mpi4py-devel-3.0.0-lp150.23.1.x86_64.rpm Development files for python2-mpi4py
python2-opencv-3.4.1-lp150.120.2.x86_64.rpm Python 2 bindings for apps which use OpenCV
python2-service_identity-16.0.0-lp150.10.1.noarch.rpm Service identity verification for pyOpenSSL
python2-tbb-2018_20171205-lp150.60.1.x86_64.rpm Python 2 support for Threading Building Blocks (TBB)
python3-PyAudio-0.2.11-lp150.7.2.x86_64.rpm Python Bindings for PortAudio v19
python3-characteristic-14.3.0-lp150.8.1.noarch.rpm Say 'yes' to types but 'no' to typing in python
python3-javapackages-5.2.0+git20180620.70fa2258-lp150.60.1.x86_64.rpm Module for handling various files for Java packaging
python3-mpi4py-3.0.0-lp150.23.1.x86_64.rpm MPI for Python
python3-mpi4py-devel-3.0.0-lp150.23.1.x86_64.rpm Development files for python3-mpi4py
python3-opencv-3.4.1-lp150.120.2.x86_64.rpm Python 3 bindings for apps which use OpenCV
python3-service_identity-16.0.0-lp150.10.1.noarch.rpm Service identity verification for pyOpenSSL
python3-tbb-2018_20171205-lp150.60.1.x86_64.rpm Python 3 support for Threading Building Blocks (TBB)
pythoncad-DS1_R36-lp150.197.1.x86_64.rpm PythonCAD--CAD in Python
qml-box2d-0+git.1451747535.1b37be7-lp150.9.1.x86_64.rpm QML Box2D plugin
Advertisement
Advertisement