Skip to main content

PGCopy bynary dump parser.

Project description

pgcopylib

Library for reading data from binary format PosgreSQL

Features

  • No dependencies on external libraries
  • Without specifying data types, all columns will be read in bytes
  • Support for most data types

Supported Data Types

PostgreSQL data type Python data type
_bit list[str]
_bool list[bool]
_box list[tuple[tuple[float, float], tuple[float, float]]]
_bpchar list[str]
_bytea list[bytes]
_char list[str]
_cidr list[ipaddress.IPv4Network / ipaddress.IPv6Network]
_circle list[tuple[float, float, float]]
_date list[datetime.date]
_float4 list[float]
_float8 list[float]
_inet list[ipaddress.IPv4Address / ipaddress.IPv6Address]
_int2 list[int]
_int4 list[int]
_int8 list[int]
_interval list[dateutil.relativedelta.relativedelta]
_json list[dict / list / str / int / float / bool / None]
_jsonb list[dict / list / str / int / float / bool / None]
_line list[tuple[float, float, float]]
_lseg list[list[tuple[float, float]]]
_macaddr list[str]
_macaddr8 list[str]
_money list[float]
_numeric list[decimal.Decimal]
_oid list[int]
_path list[list[tuple[float, float]] / tuple[tuple[float, float]]]
_point list[tuple[float, float]]
_polygon list[tuple[tuple[float, float]]]
_serial2 list[int]
_serial4 list[int]
_serial8 list[int]
_text list[str]
_time list[datetime.time]
_timestamp list[datetime.datetime]
_timestamptz list[datetime.datetime]
_timetz list[datetime.time]
_uuid list[uuid.UUID]
_varbit list[str]
_varchar list[str]
_xml list[str]
bit str
bool bool
box tuple[tuple[float, float], tuple[float, float]]
bpchar str
bytea bytes
char str
cidr ipaddress.IPv4Network / ipaddress.IPv6Network
circle tuple[float, float, float]
date datetime.date
float4 float
float8 float
inet ipaddress.IPv4Address / ipaddress.IPv6Address
int2 int
int4 int
int8 int
interval dateutil.relativedelta.relativedelta
json dict / list / str / int / float / bool / None
jsonb dict / list / str / int / float / bool / None
line tuple[float, float, float]
lseg list[tuple[float, float]]
macaddr str
macaddr8 str
money float
numeric decimal.Decimal
oid int
path list[tuple[float, float]] / tuple[tuple[float, float]]
point tuple[float, float]
polygon tuple[tuple[float, float]]
serial2 int
serial4 int
serial8 int
text str
time datetime.time
timestamp datetime.datetime
timestamptz datetime.datetime
timetz datetime.time
uuid uuid.UUID
varbit str
varchar str
xml str

Installation

From pip

pip install pgcopylib

From local directory

pip install .

From git

pip install git+https://github.com/0xMihalich/pgcopylib

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

pgcopylib-0.2.1.8.tar.gz (19.7 kB view details)

Uploaded Source

Built Distributions

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

pgcopylib-0.2.1.8-cp313-cp313-win_amd64.whl (320.4 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcopylib-0.2.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcopylib-0.2.1.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcopylib-0.2.1.8-cp313-cp313-macosx_11_0_arm64.whl (361.3 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.1.8-cp313-cp313-macosx_10_14_x86_64.whl (364.5 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

pgcopylib-0.2.1.8-cp312-cp312-win_amd64.whl (325.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcopylib-0.2.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcopylib-0.2.1.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.3 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcopylib-0.2.1.8-cp312-cp312-macosx_11_0_arm64.whl (366.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.1.8-cp312-cp312-macosx_10_14_x86_64.whl (368.8 kB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

pgcopylib-0.2.1.8-cp311-cp311-win_amd64.whl (324.0 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcopylib-0.2.1.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcopylib-0.2.1.8-cp311-cp311-macosx_11_0_arm64.whl (361.4 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.1.8-cp311-cp311-macosx_10_14_x86_64.whl (365.0 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

pgcopylib-0.2.1.8-cp310-cp310-win_amd64.whl (323.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcopylib-0.2.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

pgcopylib-0.2.1.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64manylinux: glibc 2.28+ ARM64

pgcopylib-0.2.1.8-cp310-cp310-macosx_11_0_arm64.whl (358.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.1.8-cp310-cp310-macosx_10_14_x86_64.whl (362.2 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

Details for the file pgcopylib-0.2.1.8.tar.gz.

File metadata

  • Download URL: pgcopylib-0.2.1.8.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for pgcopylib-0.2.1.8.tar.gz
Algorithm Hash digest
SHA256 7d9be29825cb5b5de9ef7a086bdb729798b0f8cca0a104a98a5cb5671a1e807c
MD5 eeb2ebaf73f32734f38a33cd8e301aa9
BLAKE2b-256 4e4d6dd3ee2550903c747a8c49bceeb462fdda406508f80f993a8493ecaf8413

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pgcopylib-0.2.1.8-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 320.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for pgcopylib-0.2.1.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 75b0f923ddd2a3b7769d1f1a93254ae25e3cd6fb2f84212d1522ecc5e053a334
MD5 6f0ac54f6f02a667a501a75359b008eb
BLAKE2b-256 ee14659aa15469a19a6942ea755a982d88e81467967f8eaee608e57d711ba8be

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43077904ffdef0e8957b06247556eadfb0ce7325df83c122be7287d8c7046dd9
MD5 b00a60743a9bb28dfb7bbf3b3d56c524
BLAKE2b-256 b6af6ba05639a3e64f19c9dfe833849c109d35c86a22630a2d93e767f9c99d32

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 872d7da7f58e1c45599ced1298bb93456875abc2aded91dfefbf68a8548a5c20
MD5 7bb8d651a66fb418526bc78917245e19
BLAKE2b-256 b57a1a16b4739668fff6f93d3e9cb18e3c8afcf63ce14f7adb27787e55695952

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d97c1674ea180a2a8fc10878107ea37933c2aafb5e67560b495332dfbf5bfda8
MD5 751302db4f51790c2f68363b11dcc8ca
BLAKE2b-256 4ce50ac8af1809bc46e40db01c985b2320913a2355ccd0197bc2f93087fafd07

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp313-cp313-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 0b0e43592fab58adc472c376cc1769982f81f90daa2306b0965326e5dfab0382
MD5 c8a445b379763b697430629daa8fcb7c
BLAKE2b-256 343188dae766f812c457a3611f764e2834d02eb768d91e2e421893b999373ff8

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pgcopylib-0.2.1.8-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 325.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for pgcopylib-0.2.1.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 accf2848e64bb5c85854cc706a7849638a0d12c08786e904714c4e2f151723a7
MD5 63d3800a0c18b6e4e933ffc903ad7842
BLAKE2b-256 a0dc1ae0d6664eb6dc54c6d39fa852ba8b75188d09919695c073d0be76eebf2a

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 374773f856ba21e215afca68e0abafa6f6c26235f86b2fa36429959513e003a4
MD5 7212371e18572f39970f27e96d670f36
BLAKE2b-256 884e0d37cafbc1b3bd092b5d8baeab9c5542e71f2b389794c4f0db755917c865

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 0c24e36b51ca62a355e6bfb08a74e648933b2b8d7f13049588b5fc814dab984f
MD5 e4345fdebb95e70761fc6a57d2342882
BLAKE2b-256 ef3fcf8cadd0258babce0982f809219db1f54f87afbdc38faf959a5ae44b8c40

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 613989f67bc020c1de61bc545ac70ec13db1412b382099bd990189138e2d8c5c
MD5 7a630e4871c9c8444b655355b6a27d9e
BLAKE2b-256 d5aced1d860e9ba5cc2def594f1e0f7c4945019e55fe92fe675669788962f7ca

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp312-cp312-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c02f896a64a5327f118e6cbf26c9871b64dfc33b121319bf5463a8397c287de1
MD5 c3a68a60c70130a21eb2069dc5911521
BLAKE2b-256 735e7a15c3dc23eaaf2c3d22652921e18315ffa2eccbe6040e6a605512797c78

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pgcopylib-0.2.1.8-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 324.0 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for pgcopylib-0.2.1.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 172699f3949d3c97572982171ac636a40e344e3aa2054048b106735e9c1ab294
MD5 d3865051c1140da59e0276e94e453496
BLAKE2b-256 88251bc95739fcd7bb61ab99873bcb429536305ebc9f0b976787a1a8931c18a8

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9dc7335db8ae5350ee40be3eacedbbf64d3bd43cf8bb4a145531d57bb1dcfaee
MD5 6d9ee2e4c461315f02845ff54172de60
BLAKE2b-256 3d1f9b1d8cfbcff29dd36ae667988676bc0aeafa280be1548abca8bec31ddba2

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a466f805c9620632855a2d85852b6d5b27dd09d79d391fe0a52b73b988b35639
MD5 19730cfcffe6baba6027e94f842e356f
BLAKE2b-256 76e89b5dd90b4032a6b721279fde4ce98346d1945397bb237071b82c0956f731

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 715c0d6012074aeb1764b8360dd7523044609f4b76f70e459ee2e6687eda92f0
MD5 8d66226a7f37336beed337d44493d22d
BLAKE2b-256 cb94cc3c03a73211de8b97ffb203d4aa7c6bebf6deaaa65f289c3080907ef2b8

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp311-cp311-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 da65bdf2559a2841ad530b60bbe2ef2850a9fa9f9daa4b76d9b687eb58ead9c4
MD5 9d5fa07e77bf27f02bfed728158a79f0
BLAKE2b-256 1b0b47d1a0558c1ef600a95f095b837ee89765352543e9bd247fe0c8cf5f76b3

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pgcopylib-0.2.1.8-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 323.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for pgcopylib-0.2.1.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 1ff264e73adac5a7d5aa083e5b32f8a101e815a4cb9b1eaeab4da6a4fe318bfe
MD5 9611b197c7daf7256d8ccaa81d2dc782
BLAKE2b-256 598667696e763cf513ed0185b6ca9aaff56cfe8a330a75260d69bd14c12006bc

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 25d1e4731e996626730571c8ba1b7cd922ba5bf9f27760e1ce1932026e261fb0
MD5 1abb2840aedb6e2fa506084a15dfe5ca
BLAKE2b-256 3a119014d40d19827531a4d25fa34b052bd4b68f95dfcf1942eb706369c19260

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 76507e7fd870f4139b7125c2033f246470328b4bc8dc866060e04efb5e5fc47e
MD5 97ca10916d3743b9f1f636cdf2855184
BLAKE2b-256 aa0b4fb1e18fd33433b644468d00a2b2a7261ef485ca3dbd7b0e172884f1bae7

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 813a735adade8170c0c8025c87757eb97aa7778aefcdae6934d5d359ac53d7fe
MD5 ec080d57209f8824cec72341b3cce717
BLAKE2b-256 53f5b1acb91af0eed2879ef24b60a625e0942f14a71e7e982b77b9bc1be84edc

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.1.8-cp310-cp310-macosx_10_14_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.1.8-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 52cabff7845d6546cbcf833997ebaeadcc3f04078320125fcd201e6d8cfa2dae
MD5 f8cef0aaa94f227bec1bf1f582ed653b
BLAKE2b-256 f49fef410676ae5c238134e0b5aea81e0c3de9ee88a739d0a2c423bbfc96ceab

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