Contents

datamodel-code-generator 0.13.1

0

Datamodel Code Generator

Datamodel Code Generator

Stars: 1171, Watchers: 1171, Forks: 124, Open Issues: 97

The koxudaxi/datamodel-code-generator repo was created 3 years ago and was last updated 7 hours ago.
The project is very popular with an impressive 1171 github stars!

How to Install datamodel-code-generator

You can install datamodel-code-generator using pip

pip install datamodel-code-generator

or add it to a project with poetry

poetry add datamodel-code-generator

Package Details

Author
Koudai Aono
License
MIT
Homepage
https://github.com/koxudaxi/datamodel-code-generator
PyPi
https://pypi.org/project/datamodel-code-generator/
GitHub Repo
https://github.com/koxudaxi/datamodel-code-generator

Classifiers

No  datamodel-code-generator  pypi packages just yet.

Errors

A list of common datamodel-code-generator errors.

Code Examples

Here are some datamodel-code-generator code examples and snippets.

GitHub Issues

The datamodel-code-generator package has 97 open issues on GitHub

  • Support class generation from Avro Schema
  • Bump mkdocs-material from 8.1.7 to 8.1.8
  • Bump typed-ast from 1.5.1 to 1.5.2
  • Bump pyparsing from 2.4.7 to 3.0.7
  • No Enum generated for underlying type of array
  • Support for extends
  • jsonschema example command from documentation errs
  • Needs support for new version of pydantic released (v1.9.0 (2021-12-31))
  • WIP: Differentiate "nullable" and "not-required" properties
  • Handle multiple pattern properties
  • Multiple pattern properties are not handled correctly
  • Creation from an "empty" object schema results with a Model containing an empty dict or None
  • Missing support for "const" keyword
  • datamodel-codegen isn't creating all models from jsonschema
  • It's not possible to run pydantic validation using objects nested from Enum

See more issues on GitHub

Related Packages & Articles

fastapi 0.85.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production

apispec 5.2.2

A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification).

connexion 2.14.1

Connexion - API first applications with OpenAPI/Swagger and Flask

pydantic 1.10.2

Data validation and settings management using python type hints