python3-attrs-19.1.0-1.1.noarch.rpm


Advertisement

Description

python3-attrs - Attributes without boilerplate

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python3-attrs-19.1.0-1.1.noarch.rpm
Package name python3-attrs
Package version 19.1.0
Package release 1.1
Package architecture noarch
Package type rpm
Category Development/Languages/Python
Homepage https://github.com/hynek/attrs/
License MIT
Maintainer -
Download size 81.88 KB
Installed size 308.45 KB
attrs is an MIT-licensed 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 attrs gives you:
- a nice human-readable __repr__,
- a complete set of comparison methods,
- an initializer,
- and much more
without writing dull boilerplate code again and again.
This gives you the power to use actual classes with actual types in your code
instead of confusing tuples or confusingly behaving namedtuples.
So put down that type-less data structures and welcome some class into your
life!
python-attrs is the successor to python-characterstic

Alternatives

Package Version Architecture Repository
python3-attrs - - -

Requires

Name Value
python(abi) = 3.7

Provides

Name Value
python3-attrs = 19.1.0-1.1

Download

Type URL
Mirror widehat.opensuse.org
Binary Package python3-attrs-19.1.0-1.1.noarch.rpm
Source Package python-attrs-19.1.0-1.1.src.rpm

Install Howto

Install python3-attrs rpm package:

# zypper install python3-attrs

Files

Path
/usr/lib/python3.7/site-packages/attr/__init__.py
/usr/lib/python3.7/site-packages/attr/__init__.pyi
/usr/lib/python3.7/site-packages/attr/_compat.py
/usr/lib/python3.7/site-packages/attr/_config.py
/usr/lib/python3.7/site-packages/attr/_funcs.py
/usr/lib/python3.7/site-packages/attr/_make.py
/usr/lib/python3.7/site-packages/attr/converters.py
/usr/lib/python3.7/site-packages/attr/converters.pyi
/usr/lib/python3.7/site-packages/attr/exceptions.py
/usr/lib/python3.7/site-packages/attr/exceptions.pyi
/usr/lib/python3.7/site-packages/attr/filters.py
/usr/lib/python3.7/site-packages/attr/filters.pyi
/usr/lib/python3.7/site-packages/attr/py.typed
/usr/lib/python3.7/site-packages/attr/validators.py
/usr/lib/python3.7/site-packages/attr/validators.pyi
/usr/lib/python3.7/site-packages/attr/__pycache__/__init__.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/__init__.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_compat.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_compat.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_config.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_config.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_funcs.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_funcs.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_make.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/_make.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/converters.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/converters.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/exceptions.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/exceptions.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/filters.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/filters.cpython-37.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/validators.cpython-37.opt-1.pyc
/usr/lib/python3.7/site-packages/attr/__pycache__/validators.cpython-37.pyc
/usr/lib/python3.7/site-packages/attrs-19.1.0-py3.7.egg-info/PKG-INFO
/usr/lib/python3.7/site-packages/attrs-19.1.0-py3.7.egg-info/SOURCES.txt
/usr/lib/python3.7/site-packages/attrs-19.1.0-py3.7.egg-info/dependency_links.txt
/usr/lib/python3.7/site-packages/attrs-19.1.0-py3.7.egg-info/not-zip-safe
/usr/lib/python3.7/site-packages/attrs-19.1.0-py3.7.egg-info/requires.txt
/usr/lib/python3.7/site-packages/attrs-19.1.0-py3.7.egg-info/top_level.txt
/usr/share/doc/packages/python3-attrs/CHANGELOG.rst
/usr/share/doc/packages/python3-attrs/README.rst
/usr/share/licenses/python3-attrs/LICENSE

Changelog

2019-03-04 - Ond?ej Súkup <mimi.vx@gmail.com>
- update to 19.1.0
* Fixed a bug where deserialized objects with cache_hash=True could have
incorrect hash code values
* Add is_callable, deep_iterable, and deep_mapping validators.
* Fixed stub files to prevent errors raised by mypy's
disallow_any_generics = True option.
* Attributes with init=False now can follow after kw_only=True attributes.
* attrs now has first class support for defining exception classes.
* Clarified documentation for hashing to warn that hashable objects should
be deeply immutable
2018-12-06 - Tomá? Chvátal <tchvatal@suse.com>
- Fix fdupes call
2018-09-01 - arun@gmx.de
- specfile:
- removed devel from noarch package
- be more specific in %files section
- update to version 18.2.0:
* Deprecations
+ Comparing subclasses using "<", ">", "<=", and ">=" is now
deprecated.  The docs always claimed that instances are only
compared if the types are identical, so this is a first step to
conform to the docs.  Equality operators ("==" and "!=") were
always strict in this regard.  issue 394
* Changes
+ "attrs" now ships its own PEP 484 type hints.  Together with
mypy's "attrs" plugin, you've got all you need for writing
statically typed code in both Python 2 and 3!  At that occasion,
we've also added `narrative docs` about type annotations in
"attrs".  issue #238
+ Added *kw_only* arguments to "attr.ib" and "attr.s", and a
corresponding *kw_only* attribute to "attr.Attribute".  This
change makes it possible to have a generated "__init__" with
keyword-only arguments on Python 3, relaxing the required
ordering of default and non-default valued attributes.  issues #281, #411
+ The test suite now runs with "hypothesis.HealthCheck.too_slow"
disabled to prevent CI breakage on slower computers. issues
[#364], #396
+ "attr.validators.in_()" now raises a "ValueError" with a useful
message even if the options are a string and the value is not a
string. issue #383
+ "attr.asdict()" now properly handles deeply nested lists and
dictionaries. issue #395
+ Added "attr.converters.default_if_none()" that allows to replace
"None" values in attributes.  For example
"attr.ib(converter=default_if_none(""))" replaces "None" by
empty strings. issues #400, #414
+ Fixed a reference leak where the original class would remain
live after being replaced when "slots=True" is set. isue #407
+ Slotted classes can now be made weakly referenceable by passing
"@attr.s(weakref_slot=True)". issue #420
+ Added *cache_hash* option to "@attr.s" which causes the hash
code to be computed once and stored on the object. issue #425
+ Attributes can be named "property" and "itemgetter" now. issue
[#430]
+ It is now possible to override a base class' class variable
using only class annotations. issue #431

See Also

Package Description
python3-aubio-0.4.9-1.1.i586.rpm A collection of tools for music analysis
python3-aubio-0.4.9-1.1.x86_64.rpm A collection of tools for music analysis
python3-audiogrep-0.1.5-1.2.noarch.rpm Python package to create audio supercuts
python3-audiolazy-0.6-3.2.noarch.rpm Real-Time Expressive Digital Signal Processing (DSP) Package for Python!
python3-audiomate-3.0.0-1.2.noarch.rpm A library for working with audio datasets
python3-audioread-2.1.6-3.1.noarch.rpm Wrapper for audio decoding via selectable backends
python3-audit-2.8.4-1.5.i586.rpm Python3 Bindings for libaudit
python3-audit-2.8.4-1.5.x86_64.rpm Python3 Bindings for libaudit
python3-augeas-0.5.0-3.2.noarch.rpm Python bindings for Augeas
python3-autobahn-19.3.3-1.1.i586.rpm WebSocket and WAMP in Python for Twisted and asyncio
python3-autobahn-19.3.3-1.1.x86_64.rpm WebSocket and WAMP in Python for Twisted and asyncio
python3-autodoc-0.5.0-1.1.noarch.rpm Autodoc Python implementation
python3-autoflake-1.2-1.1.noarch.rpm Program to removes unused Python imports and variables
python3-automaton-1.16.0-1.1.noarch.rpm Friendly state machines for python
python3-autopep8-1.4.4-1.1.noarch.rpm Automatic generated to pep8 checked code
Advertisement
Advertisement