├── .github ├── CODEOWNERS ├── dependabot.yaml └── workflows │ ├── publish-to-pypi.yaml │ ├── publish-to-test-pypi.yaml │ └── qa.yaml ├── .gitignore ├── LICENSE ├── README.md ├── docs.md ├── example.gif ├── examples ├── __init__.py ├── compiler_scripting.py └── eshop.py ├── poetry.lock ├── pydantic2zod ├── __init__.py ├── __main__.py ├── _codegen.py ├── _compiler.py ├── _parser.py └── model.py ├── pyproject.toml └── tests ├── __init__.py ├── fixtures ├── __init__.py ├── all_in_one.py ├── annotated_fields.py ├── builtin_types.py ├── class_vars.py ├── default_values_dict.py ├── default_values_list.py ├── external.py ├── generic_models.py ├── ignore_parsing.py ├── import_alias.py ├── type_alias.py ├── unique_names.py ├── user_defined_types.py └── with_model_config.py ├── snapshots ├── __init__.py └── snap_test_compile.py ├── test_compile.py └── test_parse.py /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Default owners for the whole repo 2 | 3 | * @povilasb 4 | -------------------------------------------------------------------------------- /.github/dependabot.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/.github/dependabot.yaml -------------------------------------------------------------------------------- /.github/workflows/publish-to-pypi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/.github/workflows/publish-to-pypi.yaml -------------------------------------------------------------------------------- /.github/workflows/publish-to-test-pypi.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/.github/workflows/publish-to-test-pypi.yaml -------------------------------------------------------------------------------- /.github/workflows/qa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/.github/workflows/qa.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/*.pyc 2 | .vscode 3 | .coverage 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/README.md -------------------------------------------------------------------------------- /docs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/docs.md -------------------------------------------------------------------------------- /example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/example.gif -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/compiler_scripting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/examples/compiler_scripting.py -------------------------------------------------------------------------------- /examples/eshop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/examples/eshop.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/poetry.lock -------------------------------------------------------------------------------- /pydantic2zod/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/pydantic2zod/__init__.py -------------------------------------------------------------------------------- /pydantic2zod/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/pydantic2zod/__main__.py -------------------------------------------------------------------------------- /pydantic2zod/_codegen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/pydantic2zod/_codegen.py -------------------------------------------------------------------------------- /pydantic2zod/_compiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/pydantic2zod/_compiler.py -------------------------------------------------------------------------------- /pydantic2zod/_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/pydantic2zod/_parser.py -------------------------------------------------------------------------------- /pydantic2zod/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/pydantic2zod/model.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/fixtures/all_in_one.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/all_in_one.py -------------------------------------------------------------------------------- /tests/fixtures/annotated_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/annotated_fields.py -------------------------------------------------------------------------------- /tests/fixtures/builtin_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/builtin_types.py -------------------------------------------------------------------------------- /tests/fixtures/class_vars.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/class_vars.py -------------------------------------------------------------------------------- /tests/fixtures/default_values_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/default_values_dict.py -------------------------------------------------------------------------------- /tests/fixtures/default_values_list.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/default_values_list.py -------------------------------------------------------------------------------- /tests/fixtures/external.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/external.py -------------------------------------------------------------------------------- /tests/fixtures/generic_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/generic_models.py -------------------------------------------------------------------------------- /tests/fixtures/ignore_parsing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/ignore_parsing.py -------------------------------------------------------------------------------- /tests/fixtures/import_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/import_alias.py -------------------------------------------------------------------------------- /tests/fixtures/type_alias.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/type_alias.py -------------------------------------------------------------------------------- /tests/fixtures/unique_names.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/unique_names.py -------------------------------------------------------------------------------- /tests/fixtures/user_defined_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/user_defined_types.py -------------------------------------------------------------------------------- /tests/fixtures/with_model_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/fixtures/with_model_config.py -------------------------------------------------------------------------------- /tests/snapshots/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/snapshots/snap_test_compile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/snapshots/snap_test_compile.py -------------------------------------------------------------------------------- /tests/test_compile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/test_compile.py -------------------------------------------------------------------------------- /tests/test_parse.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/argyle-engineering/pydantic2zod/HEAD/tests/test_parse.py --------------------------------------------------------------------------------