python3-characteristic-14.3.0-4.2.noarch.rpm


Advertisement

Description

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

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python3-characteristic-14.3.0-4.2.noarch.rpm
Package name python3-characteristic
Package version 14.3.0
Package release 4.2
Package architecture noarch
Package type rpm
Category Development/Languages/Python
Homepage https://github.com/hynek/characteristic/
License MIT
Maintainer -
Download size 34.87 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-15.3.noarch.rpm 14.3.0 noarch Education
python3-characteristic - - -

Requires

Name Value
python(abi) = 3.7

Provides

Name Value
python3-characteristic = 14.3.0-4.2

Download

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

Install Howto

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-chardet-3.0.4-6.1.noarch.rpm Universal encoding detector
python3-check-manifest-0.37-1.2.noarch.rpm Check MANIFEST in a Python source package for completeness
python3-cheroot-6.5.4-1.1.noarch.rpm Highly-optimized, pure-python HTTP server
python3-chest-0.2.3-1.2.noarch.rpm Spill-to-disk dictionary for Python
python3-cinderclient-4.1.0-1.1.noarch.rpm Python API and CLI for OpenStack Cinder
python3-ciscoconfparse-1.3.32-1.1.noarch.rpm Library for parsing, querying and modifying Cisco IOS-style configurations
python3-cl-0.0.3-14.2.noarch.rpm Kombu actor framework
python3-clang-7.0.1-6.1.noarch.rpm Python bindings for libclang
python3-cli-helpers-1.1.0-1.1.noarch.rpm Helpers for building command-line apps
python3-click-7.0-1.2.noarch.rpm A wrapper around optparse for command line utilities
python3-click-completion-0.5.1-1.1.noarch.rpm Fish, Bash, Zsh and PowerShell completion for Click
python3-click-didyoumean-0.0.3-2.1.noarch.rpm Plugin to enable git-like did-you-mean feature in python-click
python3-click-log-0.3.2-1.2.noarch.rpm Logging integration for Click
python3-click-plugins-1.1.1-1.1.noarch.rpm An extension for click to register CLI commands via setuptools entry-points
python3-click-threading-0.4.4-1.1.noarch.rpm Multithreaded Click apps made easy
Advertisement
Advertisement