Pydantic support for Ex-DRF
exdrf-pd connects Pydantic v2 models to the exdrf dataset tree. It
is the usual path for HTTP APIs and validators that prefer BaseModel over
SQLAlchemy declarative classes.
What it provides
ExModelsubclasses and visitors that expose resources and fields in the same shapes exdrf uses elsewhere, so codegen and tooling can treat ORM and Pydantic sources uniformly where supported.dataset_from_pydantic(and related imports underexdrf_pd) for building anExDatasetfrom your model modules—used by plugins such as exdrf-gen-pd2dare.
Dependencies
exdrf and pydantic (see pyproject.toml). Python 3.12.2+ is
required.
Related packages
- exdrf-gen-al2pd — emits Pydantic
Xxx/XxxEx/XxxCreate/XxxEditfrom SQLAlchemy metadata (often paired with exdrf-gen-al2r). - exdrf-ts — maps field types and Python annotations to TypeScript for DARE and other TS emitters; depends on exdrf-pd.
- exdrf-gen-pd2dare — generates DARE TypeScript from
ExModelclasses.
Install exdrf-gen and the plugin you need; see exdrf-gen README for
the plugin entry-point pattern.
Metadata
Release files for exdrf-pd 0.1.18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| exdrf_pd-0.1.18.tar.gz | 13.4 kB | Without provenance | Details for exdrf_pd-0.1.18.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| exdrf_pd-0.1.18-py3-none-any.whl | Python 3 | none | any | Details for exdrf_pd-0.1.18-py3-none-any.whl |
Total release size: 29.3 kB
Release files / exdrf_pd-0.1.18.tar.gz
| Download URL | exdrf_pd-0.1.18.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
522d93f99028c004d4d30ed4373ee3a457515768210e1619fa3bb456e9e9a6c6
|
|
BLAKE2b-256 checksum How to use checksums |
ac1012ae54b899d07ee0b683f475ceda7a2f1a7224d8c72aa9476e1b509d39c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / exdrf_pd-0.1.18-py3-none-any.whl
| Download URL | exdrf_pd-0.1.18-py3-none-any.whl |
|---|---|
| Size | 15.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b55d6e2146015c2501a678243b564bb37dd503cadec0db61bf5094319135ab6b
|
|
BLAKE2b-256 checksum How to use checksums |
bc8de5a0e4d0c6a30aba52575b9e2931d8c10de7214d6ab5673b4215766f165b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for exdrf-pd 0.1.18
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.