Contents

datamodel-code-generator 0.26.1

0

Datamodel Code Generator

Datamodel Code Generator

Stars: 2679, Watchers: 2679, Forks: 295, Open Issues: 206

The koxudaxi/datamodel-code-generator repo was created 5 years ago and the last code push was 5 hours ago.
The project is very popular with an impressive 2679 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 206 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.115.0

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

apispec 6.6.1

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