Pydmo: Build a database pydantic schema from its collection of data tables
Project description
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
- Might be useful if we want to integrate some features existing only on table schema: Pandas api for table schema
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pydmo-0.0.1.tar.gz.
File metadata
- Download URL: pydmo-0.0.1.tar.gz
- Upload date:
- Size: 10.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.9.5 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e0991bb081963692f57cf040a6f28b4c107a06d9583cfba2db7ab4a1794dfcf
|
|
| MD5 |
32a8a55dd3de3afeae3f17f6ebaa24f6
|
|
| BLAKE2b-256 |
f5b1ef898564bd23191bd769f5bccddf99506be32bfa230fa6f53a14e9997e0a
|
File details
Details for the file pydmo-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pydmo-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.10 CPython/3.9.5 Linux/5.10.16.3-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61fdadbb4b2dca7689c819f159afeab7a53a6a2a14e4eed7c24b9e2fd1eef89c
|
|
| MD5 |
43397ed6a981cc3baf14b4ece188cba6
|
|
| BLAKE2b-256 |
e87a882ec5593606ed490f409143c7c51a1bd3388ba67521b46d095286399d91
|