Metadata-Version: 2.1
Name: attr-utils
Version: 0.7.0
Summary: Utilities to augment attrs.
Author-email: Dominic Davis-Foster <dominic@davis-foster.co.uk>
License: MIT
Keywords: attrs,documentation,serde,sphinx
Home-page: https://github.com/domdfcoding/attr_utils
Project-URL: Issue Tracker, https://github.com/domdfcoding/attr_utils/issues
Project-URL: Source Code, https://github.com/domdfcoding/attr_utils
Project-URL: Documentation, https://attr_utils.readthedocs.io/en/latest
Platform: Windows
Platform: macOS
Platform: Linux
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.6
Requires-Dist: attrs>=19.3.0
Requires-Dist: domdf-python-tools>=2.9.0
Requires-Dist: toolz>=0.11.1
Requires-Dist: typing-extensions>=3.7.4.3
Requires-Dist: typing-inspect>=0.6.0; python_version == "3.6"
Provides-Extra: pprint
Requires-Dist: prettyprinter==0.18.0; extra == 'pprint'
Provides-Extra: sphinx
Requires-Dist: sphinx<3.4.0,>=3.2.0; extra == 'sphinx'
Requires-Dist: sphinx-toolbox>=2.12.1; extra == 'sphinx'
Provides-Extra: all
Requires-Dist: prettyprinter==0.18.0; extra == 'all'
Requires-Dist: sphinx<3.4.0,>=3.2.0; extra == 'all'
Requires-Dist: sphinx-toolbox>=2.12.1; extra == 'all'
Description-Content-Type: text/x-rst


###########
attr_utils
###########

.. start short_desc

**Utilities to augment attrs.**

.. end short_desc


.. start shields

.. list-table::
	:stub-columns: 1
	:widths: 10 90

	* - Docs
	  - |docs| |docs_check|
	* - Tests
	  - |actions_linux| |actions_windows| |actions_macos| |coveralls|
	* - PyPI
	  - |pypi-version| |supported-versions| |supported-implementations| |wheel|
	* - Anaconda
	  - |conda-version| |conda-platform|
	* - Activity
	  - |commits-latest| |commits-since| |maintained| |pypi-downloads|
	* - QA
	  - |codefactor| |actions_flake8| |actions_mypy|
	* - Other
	  - |license| |language| |requires|

.. |docs| image:: https://img.shields.io/readthedocs/attr_utils/latest?logo=read-the-docs
	:target: https://attr_utils.readthedocs.io/en/latest
	:alt: Documentation Build Status

.. |docs_check| image:: https://github.com/domdfcoding/attr_utils/workflows/Docs%20Check/badge.svg
	:target: https://github.com/domdfcoding/attr_utils/actions?query=workflow%3A%22Docs+Check%22
	:alt: Docs Check Status

.. |actions_linux| image:: https://github.com/domdfcoding/attr_utils/workflows/Linux/badge.svg
	:target: https://github.com/domdfcoding/attr_utils/actions?query=workflow%3A%22Linux%22
	:alt: Linux Test Status

.. |actions_windows| image:: https://github.com/domdfcoding/attr_utils/workflows/Windows/badge.svg
	:target: https://github.com/domdfcoding/attr_utils/actions?query=workflow%3A%22Windows%22
	:alt: Windows Test Status

.. |actions_macos| image:: https://github.com/domdfcoding/attr_utils/workflows/macOS/badge.svg
	:target: https://github.com/domdfcoding/attr_utils/actions?query=workflow%3A%22macOS%22
	:alt: macOS Test Status

.. |actions_flake8| image:: https://github.com/domdfcoding/attr_utils/workflows/Flake8/badge.svg
	:target: https://github.com/domdfcoding/attr_utils/actions?query=workflow%3A%22Flake8%22
	:alt: Flake8 Status

.. |actions_mypy| image:: https://github.com/domdfcoding/attr_utils/workflows/mypy/badge.svg
	:target: https://github.com/domdfcoding/attr_utils/actions?query=workflow%3A%22mypy%22
	:alt: mypy status

.. |requires| image:: https://dependency-dash.herokuapp.com/github/domdfcoding/attr_utils/badge.svg
	:target: https://dependency-dash.herokuapp.com/github/domdfcoding/attr_utils/
	:alt: Requirements Status

.. |coveralls| image:: https://img.shields.io/coveralls/github/domdfcoding/attr_utils/master?logo=coveralls
	:target: https://coveralls.io/github/domdfcoding/attr_utils?branch=master
	:alt: Coverage

.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/attr_utils?logo=codefactor
	:target: https://www.codefactor.io/repository/github/domdfcoding/attr_utils
	:alt: CodeFactor Grade

.. |pypi-version| image:: https://img.shields.io/pypi/v/attr_utils
	:target: https://pypi.org/project/attr_utils/
	:alt: PyPI - Package Version

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/attr_utils?logo=python&logoColor=white
	:target: https://pypi.org/project/attr_utils/
	:alt: PyPI - Supported Python Versions

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/attr_utils
	:target: https://pypi.org/project/attr_utils/
	:alt: PyPI - Supported Implementations

.. |wheel| image:: https://img.shields.io/pypi/wheel/attr_utils
	:target: https://pypi.org/project/attr_utils/
	:alt: PyPI - Wheel

.. |conda-version| image:: https://img.shields.io/conda/v/domdfcoding/attr_utils?logo=anaconda
	:target: https://anaconda.org/domdfcoding/attr_utils
	:alt: Conda - Package Version

.. |conda-platform| image:: https://img.shields.io/conda/pn/domdfcoding/attr_utils?label=conda%7Cplatform
	:target: https://anaconda.org/domdfcoding/attr_utils
	:alt: Conda - Platform

.. |license| image:: https://img.shields.io/github/license/domdfcoding/attr_utils
	:target: https://github.com/domdfcoding/attr_utils/blob/master/LICENSE
	:alt: License

.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/attr_utils
	:alt: GitHub top language

.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/attr_utils/v0.7.0
	:target: https://github.com/domdfcoding/attr_utils/pulse
	:alt: GitHub commits since tagged version

.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/attr_utils
	:target: https://github.com/domdfcoding/attr_utils/commit/master
	:alt: GitHub last commit

.. |maintained| image:: https://img.shields.io/maintenance/yes/2022
	:alt: Maintenance

.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/attr_utils
	:target: https://pypi.org/project/attr_utils/
	:alt: PyPI - Downloads

.. end shields

|

Installation
--------------

.. start installation

``attr_utils`` can be installed from PyPI or Anaconda.

To install with ``pip``:

.. code-block:: bash

	$ python -m pip install attr_utils

To install with ``conda``:

	* First add the required channels

	.. code-block:: bash

		$ conda config --add channels https://conda.anaconda.org/conda-forge
		$ conda config --add channels https://conda.anaconda.org/domdfcoding

	* Then install

	.. code-block:: bash

		$ conda install attr_utils

.. end installation

.. attention::

	In v0.6.0 and above the ``pprinter`` module requires the ``pprint`` extra to be installed:

	.. code-block:: bash

		$ python -m pip install attr-utils[pprint]
