Skip to main content

Library for creating partial pydantic models (automatic converters) from different mappings

Project description

Pydantic Marshals

Library for creating partial pydantic models (automatic converters) from different mappings. Currently, it consists of basic boilerplate parts and functional implementation for sqlalchemy 2.0+ (included via extra)

Base Interface

TBA

Implementations

TBA

SQLAlchemy: Basic usage

TBA

Assert Contains

The "assert contains" is an interface for validating data, mainly used in testing. Use "assert-contains" extra to install this module:

pip install pydantic-marshals[assert-contains]

Documentation:

Local development

  1. Clone the repository
  2. Setup python (the library is made with python 3.11)
  3. Install poetry (should work with v1.5.1)
  4. Install dependencies
  5. Install pre-commit hooks

Commands to use:

pip install poetry==1.5.1
poetry install
pre-commit install

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

pydantic_marshals-0.2.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

pydantic_marshals-0.2.0-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file pydantic_marshals-0.2.0.tar.gz.

File metadata

  • Download URL: pydantic_marshals-0.2.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.1 CPython/3.11.1 Windows/10

File hashes

Hashes for pydantic_marshals-0.2.0.tar.gz
Algorithm Hash digest
SHA256 51de6f4e468d57e35bb4e6577d9d92b430845bdd9f2be816e9e53eb22d29cf7b
MD5 44e92411048d2957bafabbb6f6acb85d
BLAKE2b-256 c276fa50f35b4392dd497b3b08d18a0e28fe8300ea9c6c37e983eecfe64f4cd4

See more details on using hashes here.

Provenance

File details

Details for the file pydantic_marshals-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pydantic_marshals-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 527e807068ca78c880f165f45b6d544d08797e33a4fde5e00707758187fdee4a
MD5 8a3d0a42d2d5e134db6cf8d12131d4bf
BLAKE2b-256 bae50660739c487ef47cae907b5fb8935aaf7c58f95f1ebcbce420613a302c2c

See more details on using hashes here.

Provenance

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