www.attrs.org

https://www.attrs.org/en/latest

py:module

Identifier Project Name Version Location Display Name Usage example
attr attrs UNRELEASED api-attr.html#module-attr - :py:mod:`attr`
attr.converters attrs UNRELEASED api-attr.html#module-attr.converters - :py:mod:`attr.converters`
attr.exceptions attrs UNRELEASED api-attr.html#module-attr.exceptions - :py:mod:`attr.exceptions`
attr.filters attrs UNRELEASED api-attr.html#module-attr.filters - :py:mod:`attr.filters`
attr.setters attrs UNRELEASED api-attr.html#module-attr.setters - :py:mod:`attr.setters`
attr.validators attrs UNRELEASED api-attr.html#module-attr.validators - :py:mod:`attr.validators`
attrs attrs UNRELEASED api.html#module-attrs - :py:mod:`attrs`
attrs.converters attrs UNRELEASED api.html#module-attrs.converters - :py:mod:`attrs.converters`
attrs.exceptions attrs UNRELEASED api.html#module-attrs.exceptions - :py:mod:`attrs.exceptions`
attrs.filters attrs UNRELEASED api.html#module-attrs.filters - :py:mod:`attrs.filters`
attrs.setters attrs UNRELEASED api.html#module-attrs.setters - :py:mod:`attrs.setters`
attrs.validators attrs UNRELEASED api.html#module-attrs.validators - :py:mod:`attrs.validators`

py:class

Identifier Project Name Version Location Display Name Usage example
attr.Attribute attrs UNRELEASED api-attr.html#attr.Attribute - :py:class:`attr.Attribute`
attr.VersionInfo attrs UNRELEASED api-attr.html#attr.VersionInfo - :py:class:`attr.VersionInfo`
attr._make.Attribute attrs UNRELEASED api.html#attrs.Attribute - :py:class:`attr._make.Attribute`
attr._make.Factory attrs UNRELEASED api.html#attrs.Factory - :py:class:`attr._make.Factory`
attr._version_info.VersionInfo attrs UNRELEASED api-attr.html#attr.VersionInfo - :py:class:`attr._version_info.VersionInfo`
attrs.Attribute attrs UNRELEASED api.html#attrs.Attribute - :py:class:`attrs.Attribute`
attrs.Factory attrs UNRELEASED api.html#attrs.Factory - :py:class:`attrs.Factory`

py:data

Identifier Project Name Version Location Display Name Usage example
attr.NOTHING attrs UNRELEASED api-attr.html#attr.NOTHING - :py:data:`attr.NOTHING`
attrs.NOTHING attrs UNRELEASED api.html#attrs.NOTHING - :py:data:`attrs.NOTHING`
attrs.setters.NO_OP attrs UNRELEASED api.html#attrs.setters.NO_OP - :py:data:`attrs.setters.NO_OP`

py:function

Identifier Project Name Version Location Display Name Usage example
attr.asdict attrs UNRELEASED api-attr.html#attr.asdict - :py:function:`attr.asdict`
attr.assoc attrs UNRELEASED api-attr.html#attr.assoc - :py:function:`attr.assoc`
attr.astuple attrs UNRELEASED api-attr.html#attr.astuple - :py:function:`attr.astuple`
attr.cmp_using attrs UNRELEASED api-attr.html#attr.cmp_using - :py:function:`attr.cmp_using`
attr.define attrs UNRELEASED api-attr.html#attr.define - :py:function:`attr.define`
attr.evolve attrs UNRELEASED api-attr.html#attr.evolve - :py:function:`attr.evolve`
attr.field attrs UNRELEASED api-attr.html#attr.field - :py:function:`attr.field`
attr.fields attrs UNRELEASED api-attr.html#attr.fields - :py:function:`attr.fields`
attr.fields_dict attrs UNRELEASED api-attr.html#attr.fields_dict - :py:function:`attr.fields_dict`
attr.filters.exclude attrs UNRELEASED api-attr.html#attr.filters.exclude - :py:function:`attr.filters.exclude`
attr.filters.include attrs UNRELEASED api-attr.html#attr.filters.include - :py:function:`attr.filters.include`
attr.frozen attrs UNRELEASED api-attr.html#attr.frozen - :py:function:`attr.frozen`
attr.get_run_validators attrs UNRELEASED api-attr.html#attr.get_run_validators - :py:function:`attr.get_run_validators`
attr.has attrs UNRELEASED api-attr.html#attr.has - :py:function:`attr.has`
attr.ib attrs UNRELEASED api-attr.html#attr.ib - :py:function:`attr.ib`
attr.make_class attrs UNRELEASED api-attr.html#attr.make_class - :py:function:`attr.make_class`
attr.mutable attrs UNRELEASED api-attr.html#attr.mutable - :py:function:`attr.mutable`
attr.resolve_types attrs UNRELEASED api-attr.html#attr.resolve_types - :py:function:`attr.resolve_types`
attr.s attrs UNRELEASED api-attr.html#attr.s - :py:function:`attr.s`
attr.set_run_validators attrs UNRELEASED api-attr.html#attr.set_run_validators - :py:function:`attr.set_run_validators`
attr.validate attrs UNRELEASED api-attr.html#attr.validate - :py:function:`attr.validate`
attrs.asdict attrs UNRELEASED api.html#attrs.asdict - :py:function:`attrs.asdict`
attrs.astuple attrs UNRELEASED api.html#attrs.astuple - :py:function:`attrs.astuple`
attrs.cmp_using attrs UNRELEASED api.html#attrs.cmp_using - :py:function:`attrs.cmp_using`
attrs.converters.default_if_none attrs UNRELEASED api.html#attrs.converters.default_if_none - :py:function:`attrs.converters.default_if_none`
attrs.converters.optional attrs UNRELEASED api.html#attrs.converters.optional - :py:function:`attrs.converters.optional`
attrs.converters.pipe attrs UNRELEASED api.html#attrs.converters.pipe - :py:function:`attrs.converters.pipe`
attrs.converters.to_bool attrs UNRELEASED api.html#attrs.converters.to_bool - :py:function:`attrs.converters.to_bool`
attrs.define attrs UNRELEASED api.html#attrs.define - :py:function:`attrs.define`
attrs.evolve attrs UNRELEASED api.html#attrs.evolve - :py:function:`attrs.evolve`
attrs.field attrs UNRELEASED api.html#attrs.field - :py:function:`attrs.field`
attrs.fields attrs UNRELEASED api.html#attrs.fields - :py:function:`attrs.fields`
attrs.fields_dict attrs UNRELEASED api.html#attrs.fields_dict - :py:function:`attrs.fields_dict`
attrs.filters.exclude attrs UNRELEASED api.html#attrs.filters.exclude - :py:function:`attrs.filters.exclude`
attrs.filters.include attrs UNRELEASED api.html#attrs.filters.include - :py:function:`attrs.filters.include`
attrs.frozen attrs UNRELEASED api.html#attrs.frozen - :py:function:`attrs.frozen`
attrs.has attrs UNRELEASED api.html#attrs.has - :py:function:`attrs.has`
attrs.make_class attrs UNRELEASED api.html#attrs.make_class - :py:function:`attrs.make_class`
attrs.mutable attrs UNRELEASED api.html#attrs.mutable - :py:function:`attrs.mutable`
attrs.resolve_types attrs UNRELEASED api.html#attrs.resolve_types - :py:function:`attrs.resolve_types`
attrs.setters.convert attrs UNRELEASED api.html#attrs.setters.convert - :py:function:`attrs.setters.convert`
attrs.setters.frozen attrs UNRELEASED api.html#attrs.setters.frozen - :py:function:`attrs.setters.frozen`
attrs.setters.pipe attrs UNRELEASED api.html#attrs.setters.pipe - :py:function:`attrs.setters.pipe`
attrs.setters.validate attrs UNRELEASED api.html#attrs.setters.validate - :py:function:`attrs.setters.validate`
attrs.validate attrs UNRELEASED api.html#attrs.validate - :py:function:`attrs.validate`
attrs.validators.and_ attrs UNRELEASED api.html#attrs.validators.and_ - :py:function:`attrs.validators.and_`
attrs.validators.deep_iterable attrs UNRELEASED api.html#attrs.validators.deep_iterable - :py:function:`attrs.validators.deep_iterable`
attrs.validators.deep_mapping attrs UNRELEASED api.html#attrs.validators.deep_mapping - :py:function:`attrs.validators.deep_mapping`
attrs.validators.disabled attrs UNRELEASED api.html#attrs.validators.disabled - :py:function:`attrs.validators.disabled`
attrs.validators.ge attrs UNRELEASED api.html#attrs.validators.ge - :py:function:`attrs.validators.ge`
attrs.validators.get_disabled attrs UNRELEASED api.html#attrs.validators.get_disabled - :py:function:`attrs.validators.get_disabled`
attrs.validators.gt attrs UNRELEASED api.html#attrs.validators.gt - :py:function:`attrs.validators.gt`
attrs.validators.in_ attrs UNRELEASED api.html#attrs.validators.in_ - :py:function:`attrs.validators.in_`
attrs.validators.instance_of attrs UNRELEASED api.html#attrs.validators.instance_of - :py:function:`attrs.validators.instance_of`
attrs.validators.is_callable attrs UNRELEASED api.html#attrs.validators.is_callable - :py:function:`attrs.validators.is_callable`
attrs.validators.le attrs UNRELEASED api.html#attrs.validators.le - :py:function:`attrs.validators.le`
attrs.validators.lt attrs UNRELEASED api.html#attrs.validators.lt - :py:function:`attrs.validators.lt`
attrs.validators.matches_re attrs UNRELEASED api.html#attrs.validators.matches_re - :py:function:`attrs.validators.matches_re`
attrs.validators.max_len attrs UNRELEASED api.html#attrs.validators.max_len - :py:function:`attrs.validators.max_len`
attrs.validators.min_len attrs UNRELEASED api.html#attrs.validators.min_len - :py:function:`attrs.validators.min_len`
attrs.validators.not_ attrs UNRELEASED api.html#attrs.validators.not_ - :py:function:`attrs.validators.not_`
attrs.validators.optional attrs UNRELEASED api.html#attrs.validators.optional - :py:function:`attrs.validators.optional`
attrs.validators.set_disabled attrs UNRELEASED api.html#attrs.validators.set_disabled - :py:function:`attrs.validators.set_disabled`

py:exception

Identifier Project Name Version Location Display Name Usage example
attr.exceptions.AttrsAttributeNotFoundError attrs UNRELEASED api.html#attrs.exceptions.AttrsAttributeNotFoundError - :py:exception:`attr.exceptions.AttrsAttributeNotFoundError`
attr.exceptions.DefaultAlreadySetError attrs UNRELEASED api.html#attrs.exceptions.DefaultAlreadySetError - :py:exception:`attr.exceptions.DefaultAlreadySetError`
attr.exceptions.FrozenAttributeError attrs UNRELEASED api.html#attrs.exceptions.FrozenAttributeError - :py:exception:`attr.exceptions.FrozenAttributeError`
attr.exceptions.FrozenError attrs UNRELEASED api.html#attrs.exceptions.FrozenError - :py:exception:`attr.exceptions.FrozenError`
attr.exceptions.FrozenInstanceError attrs UNRELEASED api.html#attrs.exceptions.FrozenInstanceError - :py:exception:`attr.exceptions.FrozenInstanceError`
attr.exceptions.NotAnAttrsClassError attrs UNRELEASED api.html#attrs.exceptions.NotAnAttrsClassError - :py:exception:`attr.exceptions.NotAnAttrsClassError`
attr.exceptions.NotCallableError attrs UNRELEASED api.html#attrs.exceptions.NotCallableError - :py:exception:`attr.exceptions.NotCallableError`
attr.exceptions.PythonTooOldError attrs UNRELEASED api.html#attrs.exceptions.PythonTooOldError - :py:exception:`attr.exceptions.PythonTooOldError`
attr.exceptions.UnannotatedAttributeError attrs UNRELEASED api.html#attrs.exceptions.UnannotatedAttributeError - :py:exception:`attr.exceptions.UnannotatedAttributeError`
attrs.exceptions.AttrsAttributeNotFoundError attrs UNRELEASED api.html#attrs.exceptions.AttrsAttributeNotFoundError - :py:exception:`attrs.exceptions.AttrsAttributeNotFoundError`
attrs.exceptions.DefaultAlreadySetError attrs UNRELEASED api.html#attrs.exceptions.DefaultAlreadySetError - :py:exception:`attrs.exceptions.DefaultAlreadySetError`
attrs.exceptions.FrozenAttributeError attrs UNRELEASED api.html#attrs.exceptions.FrozenAttributeError - :py:exception:`attrs.exceptions.FrozenAttributeError`
attrs.exceptions.FrozenError attrs UNRELEASED api.html#attrs.exceptions.FrozenError - :py:exception:`attrs.exceptions.FrozenError`
attrs.exceptions.FrozenInstanceError attrs UNRELEASED api.html#attrs.exceptions.FrozenInstanceError - :py:exception:`attrs.exceptions.FrozenInstanceError`
attrs.exceptions.NotAnAttrsClassError attrs UNRELEASED api.html#attrs.exceptions.NotAnAttrsClassError - :py:exception:`attrs.exceptions.NotAnAttrsClassError`
attrs.exceptions.NotCallableError attrs UNRELEASED api.html#attrs.exceptions.NotCallableError - :py:exception:`attrs.exceptions.NotCallableError`
attrs.exceptions.PythonTooOldError attrs UNRELEASED api.html#attrs.exceptions.PythonTooOldError - :py:exception:`attrs.exceptions.PythonTooOldError`
attrs.exceptions.UnannotatedAttributeError attrs UNRELEASED api.html#attrs.exceptions.UnannotatedAttributeError - :py:exception:`attrs.exceptions.UnannotatedAttributeError`

py:method

Identifier Project Name Version Location Display Name Usage example
attrs.Attribute.evolve attrs UNRELEASED api.html#attrs.Attribute.evolve - :py:method:`attrs.Attribute.evolve`

std:doc

Identifier Project Name Version Location Display Name Usage example
api attrs UNRELEASED api.html API Reference :std:doc:`api`
api-attr attrs UNRELEASED api-attr.html API Reference for the attr Namespace :std:doc:`api-attr`
changelog attrs UNRELEASED changelog.html Changelog :std:doc:`changelog`
comparison attrs UNRELEASED comparison.html Comparison :std:doc:`comparison`
examples attrs UNRELEASED examples.html attrs by Example :std:doc:`examples`
extending attrs UNRELEASED extending.html Extending :std:doc:`extending`
glossary attrs UNRELEASED glossary.html Glossary :std:doc:`glossary`
hashing attrs UNRELEASED hashing.html Hashing :std:doc:`hashing`
how-does-it-work attrs UNRELEASED how-does-it-work.html How Does It Work? :std:doc:`how-does-it-work`
index attrs UNRELEASED index.html attrs: Classes Without Boilerplate :std:doc:`index`
init attrs UNRELEASED init.html Initialization :std:doc:`init`
license attrs UNRELEASED license.html License and Credits :std:doc:`license`
names attrs UNRELEASED names.html On The Core API Names :std:doc:`names`
overview attrs UNRELEASED overview.html Overview :std:doc:`overview`
types attrs UNRELEASED types.html Type Annotations :std:doc:`types`
why attrs UNRELEASED why.html Why not… :std:doc:`why`

std:label

Identifier Project Name Version Location Display Name Usage example
api-validators attrs UNRELEASED api.html#api-validators Validators :std:ref:`api-validators`
api_setters attrs UNRELEASED api.html#api-setters Setters :std:ref:`api_setters`
asdict attrs UNRELEASED examples.html#asdict Converting to Collections Types :std:ref:`asdict`
converters attrs UNRELEASED init.html#converters Converters :std:ref:`converters`
custom-comparison attrs UNRELEASED comparison.html#custom-comparison Customization :std:ref:`custom-comparison`
defaults attrs UNRELEASED init.html#defaults Defaults :std:ref:`defaults`
examples-validators attrs UNRELEASED examples.html#examples-validators Validators :std:ref:`examples-validators`
extending-metadata attrs UNRELEASED extending.html#extending-metadata Metadata :std:ref:`extending-metadata`
genindex attrs UNRELEASED genindex.html Index :std:ref:`genindex`
helpers attrs UNRELEASED api.html#helpers Helpers :std:ref:`helpers`
how attrs UNRELEASED how-does-it-work.html#how How Does It Work? :std:ref:`how`
how-frozen attrs UNRELEASED how-does-it-work.html#how-frozen Immutability :std:ref:`how-frozen`
how-slotted-cached_property attrs UNRELEASED how-does-it-work.html#how-slotted-cached-property Cached Properties on Slotted Classes :std:ref:`how-slotted-cached_property`
metadata attrs UNRELEASED examples.html#metadata Metadata :std:ref:`metadata`
modindex attrs UNRELEASED py-modindex.html Module Index :std:ref:`modindex`
private-attributes attrs UNRELEASED init.html#private-attributes Private Attributes and Aliases :std:ref:`private-attributes`
py-modindex attrs UNRELEASED py-modindex.html Python Module Index :std:ref:`py-modindex`
search attrs UNRELEASED search.html Search Page :std:ref:`search`
transform-fields attrs UNRELEASED extending.html#transform-fields Automatic Field Transformation and Modification :std:ref:`transform-fields`
validators attrs UNRELEASED init.html#validators Validators :std:ref:`validators`

std:term

Identifier Project Name Version Location Display Name Usage example
dict classes attrs UNRELEASED glossary.html#term-dict-classes - :std:term:`dict classes`
dunder methods attrs UNRELEASED glossary.html#term-dunder-methods - :std:term:`dunder methods`
slotted classes attrs UNRELEASED glossary.html#term-slotted-classes - :std:term:`slotted classes`