Skip to main content

Pydmo: Build a database pydantic schema from its collection of data tables

Project description

coverage

pydmo

Documentation: https://strayMat.gitlab.io/pydmo

Source Code: https://gitlab.com/strayMat/pydmo

This projects implements the creation of [pydantic] data models from a collection of dataset (eg. pandas dataset).

Motivation

Having typed data models in python files is very useful for :

  • Code testing thanks to dummy data generation
  • Data validation
  • Documentation generation

These usages are motivated by the data templates with pydantic blog post.

Links with other projects

The Table-schema-translator takes yaml as input to generate scala data models for spark.

We use the pydantic code generation package.

The python API should be installed with pip as recommanded in the documentation.

📝 Note

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydmo-0.0.1.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

pydmo-0.0.1-py3-none-any.whl (9.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page