Metadata-Version: 2.1
Name: dataclas
Version: 0.9.1
Summary: A slightly improved dataclasses
Home-page: https://github.com/rec/dataclass
Author: Tom Ritchford
Author-email: tom@swirly.com
License: MIT
Keywords: dataclass
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
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: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
License-File: LICENSE

========================================================
``dataclass``: slightly improved dataclasses
========================================================

* ``dataclass``: like ``dataclasses.dataclass``, except:
    * Adds three new instance methods to each dataclass
        * ``asdict()``, ``astuple()``, ``replace()``
    * ...and one new class method,
        * ``fields()``
    * ``frozen=True`` is now the default!
    * ``xmod`` -ed for less cruft

* ``dataclass.field``: Like ``dataclasses.field``, except:
      * ``default_factory`` is now a positional parameter
      * perfectly backward compatible


