Skip to main content

This module overrides the Range.__and__ function, so that it returns a boolean value based on if the two objects overlap.

The rationale behind this is that it mirrors the range && range operator in postgres.

There is also an improved equality operator, and a function for normalising ranges (if possible).

Release files for psycopg2-range-overlaps 1.0.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 psycopg2-range-overlaps 1.0.1
File Size Uploaded
psycopg2-range-overlaps-1.0.1.tar.gz 2.8 kB Details

Release files / psycopg2-range-overlaps-1.0.1.tar.gz

Download URL psycopg2-range-overlaps-1.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
33baa75c36944e39e7c93c51d82c984cf3ad6085b90bfef73906c3d50cd78312
BLAKE2b-256 checksum
How to use checksums
0f5895ad53986aa10561a53a430691bb6c3a9e69ccc30a078d51811685423827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

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