├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ └── ci.yml ├── .gitignore ├── .python-version ├── CHANGELOG.md ├── CLAUDE.md ├── LICENSE ├── Makefile ├── README.md ├── benchmarks ├── __init__.py └── transaction_load_dump.py ├── context7.json ├── examples ├── 01_basic_usage.md ├── 02_nested_and_collections.md ├── 03_field_customization.md ├── 04_validation.md ├── 05_naming_case_conversion.md ├── 06_patch_operations.md ├── 07_generics.md ├── 08_global_overrides.md ├── 09_per_dataclass_overrides.md ├── 10_cyclic_references.md ├── 11_pre_load_hooks.md └── 12_validation_errors.md ├── marshmallow_recipe ├── __init__.py ├── bake.py ├── fields.py ├── generics.py ├── hooks.py ├── metadata.py ├── missing.py ├── naming_case.py ├── options.py ├── py.typed ├── serialization.py └── validation.py ├── pyproject.toml ├── tests ├── __init__.py ├── conftest.py ├── test_generics.py ├── test_get_field_for.py ├── test_metadata.py ├── test_missing.py ├── test_naming_case.py ├── test_order.py ├── test_pre_load.py ├── test_serialization.py ├── test_unknown_fields.py └── test_validation.py └── uv.lock /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @anna-money/backend 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.12 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CLAUDE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/CLAUDE.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/README.md -------------------------------------------------------------------------------- /benchmarks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /benchmarks/transaction_load_dump.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/benchmarks/transaction_load_dump.py -------------------------------------------------------------------------------- /context7.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/context7.json -------------------------------------------------------------------------------- /examples/01_basic_usage.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/01_basic_usage.md -------------------------------------------------------------------------------- /examples/02_nested_and_collections.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/02_nested_and_collections.md -------------------------------------------------------------------------------- /examples/03_field_customization.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/03_field_customization.md -------------------------------------------------------------------------------- /examples/04_validation.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/04_validation.md -------------------------------------------------------------------------------- /examples/05_naming_case_conversion.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/05_naming_case_conversion.md -------------------------------------------------------------------------------- /examples/06_patch_operations.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/06_patch_operations.md -------------------------------------------------------------------------------- /examples/07_generics.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/07_generics.md -------------------------------------------------------------------------------- /examples/08_global_overrides.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/08_global_overrides.md -------------------------------------------------------------------------------- /examples/09_per_dataclass_overrides.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/09_per_dataclass_overrides.md -------------------------------------------------------------------------------- /examples/10_cyclic_references.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/10_cyclic_references.md -------------------------------------------------------------------------------- /examples/11_pre_load_hooks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/11_pre_load_hooks.md -------------------------------------------------------------------------------- /examples/12_validation_errors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/examples/12_validation_errors.md -------------------------------------------------------------------------------- /marshmallow_recipe/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/__init__.py -------------------------------------------------------------------------------- /marshmallow_recipe/bake.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/bake.py -------------------------------------------------------------------------------- /marshmallow_recipe/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/fields.py -------------------------------------------------------------------------------- /marshmallow_recipe/generics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/generics.py -------------------------------------------------------------------------------- /marshmallow_recipe/hooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/hooks.py -------------------------------------------------------------------------------- /marshmallow_recipe/metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/metadata.py -------------------------------------------------------------------------------- /marshmallow_recipe/missing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/missing.py -------------------------------------------------------------------------------- /marshmallow_recipe/naming_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/naming_case.py -------------------------------------------------------------------------------- /marshmallow_recipe/options.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/options.py -------------------------------------------------------------------------------- /marshmallow_recipe/py.typed: -------------------------------------------------------------------------------- 1 | Marker -------------------------------------------------------------------------------- /marshmallow_recipe/serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/serialization.py -------------------------------------------------------------------------------- /marshmallow_recipe/validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/marshmallow_recipe/validation.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_generics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_generics.py -------------------------------------------------------------------------------- /tests/test_get_field_for.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_get_field_for.py -------------------------------------------------------------------------------- /tests/test_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_metadata.py -------------------------------------------------------------------------------- /tests/test_missing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_missing.py -------------------------------------------------------------------------------- /tests/test_naming_case.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_naming_case.py -------------------------------------------------------------------------------- /tests/test_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_order.py -------------------------------------------------------------------------------- /tests/test_pre_load.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_pre_load.py -------------------------------------------------------------------------------- /tests/test_serialization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_serialization.py -------------------------------------------------------------------------------- /tests/test_unknown_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_unknown_fields.py -------------------------------------------------------------------------------- /tests/test_validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/tests/test_validation.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anna-money/marshmallow-recipe/HEAD/uv.lock --------------------------------------------------------------------------------