Skip to main content

datus-greenplum

Greenplum database adapter for Datus.

Timeouts

timeout_seconds must be positive and now bounds driver I/O as well as pool checkout where applicable. Long operations may need a larger value. Server execution deadlines and supported overrides are described in the shared timeout policy and real-database validation. A socket/RPC timeout is distinct from an overall operation deadline.

Installation

pip install datus-greenplum

Usage

from datus_greenplum import GreenplumConfig, GreenplumConnector

config = GreenplumConfig(
    host="localhost",
    port=5432,
    username="gpadmin",
    password="pivotal",
    database="mydb",
)

connector = GreenplumConnector(config)
result = connector.execute({"sql_query": "SELECT 1"}, result_format="list")
print(result.sql_return)

Testing

# Unit tests (no database required)
cd datus-greenplum && python -m pytest tests/unit/ -v

# Integration tests (requires running Greenplum)
cd datus-greenplum
docker compose up -d
python -m pytest tests/integration/ -v

The compose environment uses Greenplum 6.27.1 and exposes localhost:15432 with gpadmin/pivotal and database test.

Metadata

Release files for datus-greenplum 0.1.5

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

Source distribution (sdist)

Source distribution for datus-greenplum 0.1.5
File Size Uploaded Provenance Actions
datus_greenplum-0.1.5.tar.gz 21.6 kB Without provenance Details for datus_greenplum-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datus-greenplum 0.1.5
File Interpreter ABI Platform Actions
datus_greenplum-0.1.5-py3-none-any.whl Python 3 none any Details for datus_greenplum-0.1.5-py3-none-any.whl

Total release size: 30.5 kB

Release files / datus_greenplum-0.1.5.tar.gz

Download URL datus_greenplum-0.1.5.tar.gz
Size 21.6 kB
Tags Source
SHA-256 checksum
How to use checksums
65deea8a481ba749a5d8af2dd9fcd07ac144e5ee35c892765fc84fe4a094aa70
BLAKE2b-256 checksum
How to use checksums
f2b40f257030412c506b22528d40b419d38e07ea5af9b7a04f870760df2e32c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / datus_greenplum-0.1.5-py3-none-any.whl

Download URL datus_greenplum-0.1.5-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
171aeb321360fb5734bd238f599eef2bcaea8673cb3f146922bf53c019a9e876
BLAKE2b-256 checksum
How to use checksums
68ad1744302f0b0184f52d88e5632a9d62df60b4552e7498584e8638796c1257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for datus-greenplum 0.1.5

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