python3-characteristic-14.3.0-15.3.noarch.rpm


Advertisement

Description

python3-characteristic - Python class decorator to implement attribute-related object protocols

Property Value
Distribution openSUSE Tumbleweed
Repository Education all
Package filename python3-characteristic-14.3.0-15.3.noarch.rpm
Package name python3-characteristic
Package version 14.3.0
Package release 15.3
Package architecture noarch
Package type rpm
Category Development/Languages/Python
Homepage https://github.com/hynek/characteristic/
License MIT
Maintainer -
Download size 34.45 KB
Installed size 162.20 KB
This is a Python package with class decorators that ease the chores of
implementing the most common attribute-related object protocols.
The developer has to specify the attributes to work with, and
python-characteristic gives:
- a human-readable __repr__,
- a complete set of comparison methods,
- and a kwargs-based initializer (that cooperates with existing ones)
without writing boilerplate code.

Alternatives

Package Version Architecture Repository
python3-characteristic-14.3.0-4.2.noarch.rpm 14.3.0 noarch openSUSE Oss
python3-characteristic - - -

Requires

Name Value
python(abi) = 3.7

Provides

Name Value
python3-characteristic = 14.3.0-15.3

Download

Type URL
Mirror widehat.opensuse.org
Binary Package python3-characteristic-14.3.0-15.3.noarch.rpm
Source Package python-characteristic-14.3.0-15.3.src.rpm

Install Howto

  1. Add the Education repository:
    # zypper addrepo http://widehat.opensuse.org/opensuse/repositories/Education/openSUSE_Tumbleweed/ education
  2. Install python3-characteristic rpm package:
    # zypper install python3-characteristic

Files

Path
/usr/lib/python3.7/site-packages/characteristic.py
/usr/lib/python3.7/site-packages/test_characteristic.py
/usr/lib/python3.7/site-packages/__pycache__/characteristic.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/__pycache__/characteristic.cpython-37.pyc
/usr/lib/python3.7/site-packages/__pycache__/test_characteristic.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/__pycache__/test_characteristic.cpython-37.pyc
/usr/lib/python3.7/site-packages/characteristic-14.3.0-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/characteristic-14.3.0-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/characteristic-14.3.0-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/characteristic-14.3.0-py3.7.egg-info/top_level.txt
/usr/share/doc/packages/python3-characteristic/AUTHORS.rst
/usr/share/doc/packages/python3-characteristic/README.rst
/usr/share/licenses/python3-characteristic/LICENSE

Changelog

2019-01-04 - Jan Engelhardt <jengelh@inai.de>
- Trim rhetorics from description.
2018-12-04 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
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
python3-javapackages-5.3.0-86.1.noarch.rpm Module for handling various files for Java packaging
python3-numpy-1.16.2-28.8.i586.rpm NumPy array processing for numbers, strings, records and objects
python3-numpy-1.16.2-28.8.x86_64.rpm NumPy array processing for numbers, strings, records and objects
python3-numpy-devel-1.16.2-28.8.i586.rpm Development files for numpy applications
python3-numpy-devel-1.16.2-28.8.x86_64.rpm Development files for numpy applications
python3-opencv-3.4.3-122.17.i586.rpm Python 3 bindings for apps which use OpenCV
python3-opencv-3.4.3-122.17.x86_64.rpm Python 3 bindings for apps which use OpenCV
python3-service_identity-18.1.0-22.2.noarch.rpm Service identity verification for pyOpenSSL
python3-tbb-2019_20190320-65.1.i586.rpm Python 3 support for Threading Building Blocks (TBB)
python3-tbb-2019_20190320-65.1.x86_64.rpm Python 3 support for Threading Building Blocks (TBB)
qml-box2d-0+git.1451747535.1b37be7-9.35.i586.rpm QML Box2D plugin
qml-box2d-0+git.1451747535.1b37be7-9.35.x86_64.rpm QML Box2D plugin
qtlockedfile-2.4.1git.1366034362-1.35.i586.rpm TQFile extension with advisory locking functions
qtlockedfile-2.4.1git.1366034362-1.35.x86_64.rpm TQFile extension with advisory locking functions
qtlockedfile-devel-2.4.1git.1366034362-1.35.i586.rpm The QtLockedFile class extends QFile with advisory locking functions
Advertisement
Advertisement