mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-10 01:34:28 -06:00
feat: add dataclasses to Built-in Classes Enhancement
Comparisons treat dataclasses as the default for class boilerplate and attrs as the upgrade for validators, converters, and slots. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1051,6 +1051,7 @@ _Implementations of Python._
|
||||
_Libraries for enhancing Python built-in classes._
|
||||
|
||||
- Class Boilerplate
|
||||
- [dataclasses](https://docs.python.org/3/library/dataclasses.html) - (Python standard library) Adds generated special methods such as `__init__()` and `__repr__()` to your classes.
|
||||
- [attrs](https://github.com/python-attrs/attrs) - Writes `__init__`, `__eq__`, `__repr__`, and other boilerplate methods for your classes.
|
||||
- Mappings
|
||||
- [python-box](https://github.com/cdgriffith/Box) - Python dictionaries with advanced dot-notation access.
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"concurrent-futures": { "package": null, "reason": "stdlib module" },
|
||||
"conda": { "package": null, "reason": "installed via Miniforge or Anaconda installers; PyPI conda is a stale 2017 upload" },
|
||||
"cpython": { "package": null, "reason": "not pip-installable; the cpython PyPI name was squatted" },
|
||||
"dataclasses": { "package": null, "reason": "stdlib module; PyPI dataclasses is the Python 3.6 backport" },
|
||||
"devpi": { "package": "devpi-server", "reason": "devpi is a deprecated metapackage; the server package carries real usage" },
|
||||
"difflib": { "package": null, "reason": "stdlib module" },
|
||||
"django-ai-plugins": { "package": null, "reason": "GitHub-only so far; young project, remap if it publishes" },
|
||||
|
||||
Reference in New Issue
Block a user