Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python312-cattrs | Distribution: openSUSE:Factory:zSystems |
Version: 23.2.3 | Vendor: openSUSE |
Release: 2.1 | Build date: Mon Apr 8 12:41:21 2024 |
Group: Unspecified | Build host: reproducible |
Size: 477885 | Source RPM: python-cattrs-23.2.3-2.1.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/python-attrs/cattrs | |
Summary: Composable complex class support for attrs and dataclasses |
Composable complex class support for attrs and dataclasses.
MIT
* Mon Apr 08 2024 Dirk Müller <dmueller@suse.com> - add sle15_python_module_pythons * Thu Dec 14 2023 Petr Gajdos <pgajdos@suse.com> - update to 23.2.3: * Fix a regression when unstructuring dictionary values typed as `Any`. * (#453 #462) * Fix a regression when unstructuring unspecialized generic classes. * (#465 #466) * Optimize function source code caching. * (#445 #464) * Generate unique files only in case of linecache enabled. * (#445 #441) * ## 23.2.2 (2023-11-21) * Fix a regression when unstructuring `Any | None`. * (#453 #454) * ## 23.2.1 (2023-11-18) * Fix unnecessary `typing_extensions` import on Python 3.11. * (#446 #447) * ## 23.2.0 (2023-11-17) * **Potentially breaking**: skip _attrs_ fields marked as `init=False` by default. This change is potentially breaking for unstructuring. * See here for instructions on how to restore the old behavior. * (#40 #395) * **Potentially breaking**: {py:func}`cattrs.gen.make_dict_structure_fn` and {py:func}`cattrs.gen.typeddicts.make_dict_structure_fn` will use the values for the `detailed_validation` and `forbid_extra_keys` parameters from the given converter by default now. * If you're using these functions directly, the old behavior can be restored by passing in the desired values directly. * (#410 #411) * **Potentially breaking**: The default union structuring strategy will also use fields annotated as `typing.Literal` to help guide structuring. * See here for instructions on how to restore the old behavior. * (#391) * Python 3.12 is now supported. Python 3.7 is no longer supported; use older releases there. * (#424) * Implement the `union passthrough` strategy, enabling much richer union handling for preconfigured converters. Learn more here. * Introduce the `use_class_methods` strategy. Learn more here. * (#405) * The `omit` parameter of {py:func}`cattrs.override` is now of type `bool | None` (from `bool`). * `None` is the new default and means to apply default _cattrs_ handling to the attribute, which is to omit the attribute if it's marked as `init=False`, and keep it otherwise. * Converters can now be initialized with custom fallback hook factories for un/structuring. * (#331 #441) * Add support for `date` to preconfigured converters. * (#420) * Add support for `datetime.date`s to the PyYAML preconfigured converter. * (#393) * Fix {py:func}`format_exception() <cattrs.v.format_exception>` parameter working for recursive calls to {py:func}`transform_error <cattrs.transform_error>`. * (#389) * _attrs_ aliases are now supported, although aliased fields still map to their attribute name instead of their alias by default when un/structuring. * (#322 #391) * Fix TypedDicts with periods in their field names. * (#376 #377) * Optimize and improve unstructuring of `Optional` (unions of one type and `None`). * (#380 #381) * Fix {py:func}`format_exception <cattrs.v.format_exception>` and {py:func}`transform_error <cattrs.transform_error>` type annotations. * Improve the implementation of `cattrs._compat.is_typeddict`. The implementation is now simpler, and relies on fewer private implementation details from `typing` and typing_extensions. * (#384) * Improve handling of TypedDicts with forward references. * Speed up generated _attrs_ and TypedDict structuring functions by changing their signature slightly. * (#388) * Fix copying of converters with function hooks. * (#398 #399) * Broaden {py:func}`loads' <cattrs.preconf.orjson.OrjsonConverter.loads>` type definition for the preconf orjson converter. * (#400) * {py:class}`AttributeValidationNote <cattrs.AttributeValidationNote>` and {py:class}`IterableValidationNote <cattrs.IterableValidationNote>` are now picklable. * (#408) * Fix structuring `Final` lists. * (#412) * Fix certain cases of structuring `Annotated` types. * (#418) * Fix the tagged union strategy to work with `forbid_extra_keys`. * (#402 #443) * Use PDM instead of Poetry. * _cattrs_ is now linted with Ruff. * Remove some unused lines in the unstructuring code. * (#416) * Fix handling classes inheriting from non-generic protocols. * (#374 #436) * The documentation Makefile now supports the `htmlview` and `htmllive` targets. (#442) * _cattrs_ is now published using PyPI Trusted Publishers, and `main` branch commits are automatically deployed to Test PyPI. * ## 23.1.2 (2023-06-02) * Improve `typing_extensions` version bound. (#372) * ## 23.1.1 (2023-05-30) * Add `typing_extensions` as a direct dependency on 3.10. * (#369 #370) * ## 23.1.0 (2023-05-30) * Introduce the `tagged_union` strategy. * (#318 #317) * Introduce the `cattrs.transform_error` helper function for formatting validation exceptions. (258 342) * Add support for `typing.TypedDict` and `typing_extensions.TypedDict`. * (#296 #364) * Add support for `typing.Final`. * (#340 #349) * Introduce `override.struct_hook` and `override.unstruct_hook`. Learn more here. * (#326) * Fix generating structuring functions for types with angle brackets (`<>`) and pipe symbols (`|`) in the name. * (#319 #327) * `pathlib.Path` is now supported by default. * (#81) * Add `cbor2` serialization library to the `cattrs.preconf` package. * Add optional dependencies for `cattrs.preconf` third-party libraries. (#337) * All preconf converters now allow overriding the default `unstruct_collection_overrides` in `make_converter`. * (#350 #353) * Subclasses structuring and unstructuring is now supported via a custom `include_subclasses` strategy. * (#312) * Add support for `typing_extensions.Annotated` when the python version is less than `3.9`. (#366) * Add unstructuring and structuring support for the standard library `deque`. * (#355) * Mon May 08 2023 Ben Greiner <code@bnavigator.de> - Slim down build requirement to poetry-core - Explicitily require a bunch of test dependencies instead * Mon Jan 23 2023 Steve Kowalik <steven.kowalik@suse.com> - Initial release of 22.2.0.
/usr/lib/python3.12/site-packages/cattr /usr/lib/python3.12/site-packages/cattr/__init__.py /usr/lib/python3.12/site-packages/cattr/__pycache__ /usr/lib/python3.12/site-packages/cattr/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/converters.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/converters.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/disambiguators.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/disambiguators.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/dispatch.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/dispatch.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/errors.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/errors.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/gen.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/__pycache__/gen.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/converters.py /usr/lib/python3.12/site-packages/cattr/disambiguators.py /usr/lib/python3.12/site-packages/cattr/dispatch.py /usr/lib/python3.12/site-packages/cattr/errors.py /usr/lib/python3.12/site-packages/cattr/gen.py /usr/lib/python3.12/site-packages/cattr/preconf /usr/lib/python3.12/site-packages/cattr/preconf/__init__.py /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__ /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/bson.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/bson.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/json.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/json.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/msgpack.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/msgpack.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/orjson.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/orjson.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/pyyaml.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/pyyaml.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/tomlkit.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/tomlkit.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/ujson.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattr/preconf/__pycache__/ujson.cpython-312.pyc /usr/lib/python3.12/site-packages/cattr/preconf/bson.py /usr/lib/python3.12/site-packages/cattr/preconf/json.py /usr/lib/python3.12/site-packages/cattr/preconf/msgpack.py /usr/lib/python3.12/site-packages/cattr/preconf/orjson.py /usr/lib/python3.12/site-packages/cattr/preconf/pyyaml.py /usr/lib/python3.12/site-packages/cattr/preconf/tomlkit.py /usr/lib/python3.12/site-packages/cattr/preconf/ujson.py /usr/lib/python3.12/site-packages/cattr/py.typed /usr/lib/python3.12/site-packages/cattrs /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info/INSTALLER /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info/METADATA /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info/RECORD /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info/REQUESTED /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info/WHEEL /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info/licenses /usr/lib/python3.12/site-packages/cattrs-23.2.3.dist-info/licenses/LICENSE /usr/lib/python3.12/site-packages/cattrs/__init__.py /usr/lib/python3.12/site-packages/cattrs/__pycache__ /usr/lib/python3.12/site-packages/cattrs/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/_compat.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/_compat.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/_generics.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/_generics.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/converters.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/converters.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/disambiguators.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/disambiguators.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/dispatch.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/dispatch.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/errors.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/errors.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/fns.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/fns.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/v.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/__pycache__/v.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/_compat.py /usr/lib/python3.12/site-packages/cattrs/_generics.py /usr/lib/python3.12/site-packages/cattrs/converters.py /usr/lib/python3.12/site-packages/cattrs/disambiguators.py /usr/lib/python3.12/site-packages/cattrs/dispatch.py /usr/lib/python3.12/site-packages/cattrs/errors.py /usr/lib/python3.12/site-packages/cattrs/fns.py /usr/lib/python3.12/site-packages/cattrs/gen /usr/lib/python3.12/site-packages/cattrs/gen/__init__.py /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__ /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_consts.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_consts.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_generics.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_generics.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_lc.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_lc.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_shared.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/_shared.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/typeddicts.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/gen/__pycache__/typeddicts.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/gen/_consts.py /usr/lib/python3.12/site-packages/cattrs/gen/_generics.py /usr/lib/python3.12/site-packages/cattrs/gen/_lc.py /usr/lib/python3.12/site-packages/cattrs/gen/_shared.py /usr/lib/python3.12/site-packages/cattrs/gen/typeddicts.py /usr/lib/python3.12/site-packages/cattrs/preconf /usr/lib/python3.12/site-packages/cattrs/preconf/__init__.py /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__ /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/bson.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/bson.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/cbor2.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/cbor2.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/json.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/json.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/msgpack.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/msgpack.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/orjson.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/orjson.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/pyyaml.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/pyyaml.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/tomlkit.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/tomlkit.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/ujson.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/__pycache__/ujson.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/preconf/bson.py /usr/lib/python3.12/site-packages/cattrs/preconf/cbor2.py /usr/lib/python3.12/site-packages/cattrs/preconf/json.py /usr/lib/python3.12/site-packages/cattrs/preconf/msgpack.py /usr/lib/python3.12/site-packages/cattrs/preconf/orjson.py /usr/lib/python3.12/site-packages/cattrs/preconf/pyyaml.py /usr/lib/python3.12/site-packages/cattrs/preconf/tomlkit.py /usr/lib/python3.12/site-packages/cattrs/preconf/ujson.py /usr/lib/python3.12/site-packages/cattrs/py.typed /usr/lib/python3.12/site-packages/cattrs/strategies /usr/lib/python3.12/site-packages/cattrs/strategies/__init__.py /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__ /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/__init__.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/__init__.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/_class_methods.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/_class_methods.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/_subclasses.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/_subclasses.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/_unions.cpython-312.opt-1.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/__pycache__/_unions.cpython-312.pyc /usr/lib/python3.12/site-packages/cattrs/strategies/_class_methods.py /usr/lib/python3.12/site-packages/cattrs/strategies/_subclasses.py /usr/lib/python3.12/site-packages/cattrs/strategies/_unions.py /usr/lib/python3.12/site-packages/cattrs/v.py /usr/share/doc/packages/python312-cattrs /usr/share/doc/packages/python312-cattrs/CONTRIBUTING.md /usr/share/doc/packages/python312-cattrs/HISTORY.md /usr/share/doc/packages/python312-cattrs/README.md /usr/share/licenses/python312-cattrs /usr/share/licenses/python312-cattrs/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Jan 14 23:24:16 2025