Skip to main content

SQLAlchemy dialect for Pivotal Greenplum

This dialect allows you to use the Pivotal Greenplum database with SQLAlchemy, extending the features of the PostgreSQL dialect and adding in some Greenplum specific options. The install will also integrate with Alembic for generation of migration scripts.

Prerequisites

Python 3.X

Installation

git clone https://github.com/PlaidCloud/sqlalchemy-greenplum.git
cd sqlalchemy-greenplum
python setup.py install

Tests

To run the tests, alter the db entry in setup.cfg and create that database and a schema within it named 'test_schema' on the server Then run from the project root folder

python setup.py test

There is a random failure for ServerSideCursorsTest_greenplum+psycopg2_8_3_23.test_roundtrip because it seems that Greenplum doesn't always return the records in the same order. Perhaps the test result needs to be ordered.

Usage

    from sqlalchemy import create_engine
    engine = create_engine('greenplum://user:password@example.server.com')
    engine = create_engine('greenplum://user:password@example.server.com/example_database')

Contribute

If you find any bugs or have any suggestions, you are welcome to create a GitHub Issue.

Metadata

Release files for sqlalchemy-greenplum 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqlalchemy-greenplum 0.2.1
File Size Uploaded Provenance Actions
sqlalchemy_greenplum-0.2.1.tar.gz 16.3 kB Without provenance Details for sqlalchemy_greenplum-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sqlalchemy-greenplum 0.2.1
File Interpreter ABI Platform Actions
sqlalchemy_greenplum-0.2.1-py3-none-any.whl Python 3 none any Details for sqlalchemy_greenplum-0.2.1-py3-none-any.whl

Total release size: 32.4 kB

Release files / sqlalchemy_greenplum-0.2.1.tar.gz

Download URL sqlalchemy_greenplum-0.2.1.tar.gz
Size 16.3 kB
Tags Source
SHA-256 checksum
How to use checksums
66b55ef3ab3df179c0bd7c5713120fc154c53919a7fab9c714a2bfdb1411b5f9
BLAKE2b-256 checksum
How to use checksums
2a68237defa85072d8249974aa44f6b56f43022ed2a0ed816b206125acb4c0ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.3

Release files / sqlalchemy_greenplum-0.2.1-py3-none-any.whl

Download URL sqlalchemy_greenplum-0.2.1-py3-none-any.whl
Size 16.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b52bb319e1429c2944578968608e3d6eae10e4c19044628a18643c9987606963
BLAKE2b-256 checksum
How to use checksums
e13676b3f60c60fa3b152d5d2af14c55c280493fb023a2b392d2d7ee9be9f3e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.11.3

Security for sqlalchemy-greenplum 0.2.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page