Skip to main content

A package that enables using Pandera DataFrame Models to validate SQL Alchemy table schemas

Project description

Pandera Alchemy

pandera_alchemy logo

The pandera_alchemy package bridges Pandera and SQLAlchemy, allowing users to define the structure of a database table using Pandera DataFrameModels or DataFrameSchemas and validate that the table has the expected structure with SQLAlchemy.

Motivation

In modern data pipelines, ensuring that the structure of database tables matches the expected schema is crucial for maintaining data integrity and consistency. The pandera_alchemy package provides a seamless way to define and validate these structures, leveraging the power of Pandera for schema definitions and SQLAlchemy for database interactions.

Installation

As a Library

To install the pandera_alchemy package as a dependency, retrieve it from the Python Package Index (PyPI) using pip or poetry.

pip install pandera_alchemy

or

poetry add pandera_alchemy

Local Development

If you want to contribute to the development of pandera_alchemy, you can clone the repository and set up a local development environment.

Clone the repository:

git clone https://github.com/TCRichards/pandera-alchemy.git

Change into the project directory:

cd pandera-alchemy

Create a virtual environment and install dependencies with poetry:

poetry install

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

pandera_alchemy-1.1.0.tar.gz (7.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandera_alchemy-1.1.0-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file pandera_alchemy-1.1.0.tar.gz.

File metadata

  • Download URL: pandera_alchemy-1.1.0.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/24.4.0

File hashes

Hashes for pandera_alchemy-1.1.0.tar.gz
Algorithm Hash digest
SHA256 3b7c50742114abb2d6c0e2993e265ebda53b8a2b7b36bc5df5af5c3eb2760afb
MD5 cf47a69b24f731eb5a01800c3da015f8
BLAKE2b-256 150b9fd8452c0efb40614f4fd997743498ab7c15e1fa3bfa5cd7b41826ee6ada

See more details on using hashes here.

File details

Details for the file pandera_alchemy-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pandera_alchemy-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Darwin/24.4.0

File hashes

Hashes for pandera_alchemy-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ae5831016c19f645f90d84cf0ee54591ba118a3f750ff9fdb6c00c0f0a88a80c
MD5 d35a6df00dcb7350ca1814c2b39bcabf
BLAKE2b-256 9410d492c2fb487865cad3b579b45664441d1354c4841a2f478e8e9b6bf8ee0a

See more details on using hashes here.

Supported by

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