From 6b39e514e1079ccf67ccc6e98e126a83f4f9d25d Mon Sep 17 00:00:00 2001 From: Vinta Chen Date: Sun, 8 Nov 2026 20:40:47 +0800 Subject: [PATCH] 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 --- README.md | 1 + website/data/pypi_name_overrides.json | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index c9559cc7..7a37c4b9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/website/data/pypi_name_overrides.json b/website/data/pypi_name_overrides.json index 0ee6dfa6..ee534c13 100644 --- a/website/data/pypi_name_overrides.json +++ b/website/data/pypi_name_overrides.json @@ -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" },