Skip to main content

postgres-copy-binary

Provides a decoder for postgres COPY FROM WITH BINARY format that spits out pyarrow / pandas / numpy arrays

Examples

Copy and decode the whole table

import psycopg2
from postgres_copy_binary import read_table

with psycopg2.connect(...) as conn:
    with conn.cursor() as cursor:
        columns = read_table(cursor, 'my_table')

Links

Release files for postgres-copy-binary 0.6.0

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

Source distribution (sdist)

Source distribution for postgres-copy-binary 0.6.0
File Size Uploaded
postgres_copy_binary-0.6.0.tar.gz 1.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for postgres-copy-binary 0.6.0
File Interpreter ABI Platform
postgres_copy_binary-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size:3.6 kB

Release files / postgres_copy_binary-0.6.0.tar.gz

Download URL postgres_copy_binary-0.6.0.tar.gz
Size 1.6 kB
Tags Source
SHA-256 checksum
How to use checksums
da91df446522c0ca56310a6b9ce987da317f4baaaa05b936917fc03f2101ec30
BLAKE2b-256 checksum
How to use checksums
cbc20dcdf0bab6c34df5157140c8e1d4296430a4d485635639b8daf77b0732a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.15.1

Release files / postgres_copy_binary-0.6.0-py3-none-any.whl

Download URL postgres_copy_binary-0.6.0-py3-none-any.whl
Size 2.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
43689e70710e10401451edb08d9491be63f56dff87c51754af9475886bb306e7
BLAKE2b-256 checksum
How to use checksums
306a380f4514806c7507b53a780a79fea3c875dae70cdc127eb9eb4560a47219
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.15.1

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.4.0

3 release files

0.2.0

67 release files

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