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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

pgcopylib-0.2.3.3-cp314-cp314-win_amd64.whl (336.5 kB view details)

Uploaded CPython 3.14Windows x86-64

pgcopylib-0.2.3.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

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

pgcopylib-0.2.3.3-cp314-cp314-macosx_11_0_arm64.whl (366.0 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcopylib-0.2.3.3-cp314-cp314-macosx_10_15_x86_64.whl (368.2 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pgcopylib-0.2.3.3-cp313-cp313-win_amd64.whl (328.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcopylib-0.2.3.3-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.3.3-cp313-cp313-macosx_11_0_arm64.whl (364.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.3.3-cp313-cp313-macosx_10_14_x86_64.whl (368.4 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

pgcopylib-0.2.3.3-cp312-cp312-win_amd64.whl (332.4 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcopylib-0.2.3.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

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

pgcopylib-0.2.3.3-cp312-cp312-macosx_11_0_arm64.whl (368.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.3.3-cp312-cp312-macosx_10_14_x86_64.whl (372.1 kB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

pgcopylib-0.2.3.3-cp311-cp311-win_amd64.whl (329.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.3.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

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

pgcopylib-0.2.3.3-cp311-cp311-macosx_11_0_arm64.whl (363.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.3.3-cp311-cp311-macosx_10_14_x86_64.whl (368.4 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

pgcopylib-0.2.3.3-cp310-cp310-win_amd64.whl (329.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcopylib-0.2.3.3-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.3.3-cp310-cp310-macosx_11_0_arm64.whl (365.5 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.3.3-cp310-cp310-macosx_10_14_x86_64.whl (369.8 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

Details for the file pgcopylib-0.2.3.3-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 096a2b88cdbb6a7071463c0a1b00c59c15d60917f8cd426ad203b88a157224bc
MD5 84b220b207a878aecf4539d0191b7cd8
BLAKE2b-256 4153852b107ebe63f743b85d296a756e561771f55a7fc791bad9c12c45228be7

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 29985579107218664caf82a77de97768398e1abfc2ad48fa1e144c9e6f32d753
MD5 c73f767d8c5ce24afc303cfb7c1c4e24
BLAKE2b-256 80a9a2ca64d426cd1d6db8e0505e50892f1bf68b4766e8e2f6818914597f942a

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.3-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8ceacc2266f05ce6722e66489d7022eb0fc4c736ddb5eefb4f8fbc9084d36869
MD5 2e03ab007bc0e8ba2993102bea7c4c1a
BLAKE2b-256 d37e34902a998a80588e1aa15ef0579b50614cc43a5b3a6f82d1531eb8eed82e

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.3-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 bc431228352ecd4a1e0d2744daccb78537f1f2beb2d9ef176d7b8df58871d86d
MD5 c639a733c829d13d843758bb4f5e52b7
BLAKE2b-256 b0fdcf5010a6aa80a346c3f7daee43ab01c06e80a6a84625b667b3f94d23349d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 df93fdc8f9de7a14e92909c18b96c2c033d639175889a1342f069f920daedf63
MD5 2eae4636033f2fc11694a0ab15460c3d
BLAKE2b-256 a9c229c74e015f15d604cd4cf356cc5ff53f4aa0998b7f59869bea35bead4b17

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.3-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.3.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 837d46eb40dc6eb2ee740582100177c908833d5d29c81c1daacaaf90eb7e7c01
MD5 efdfabed8f1474a430c4d05177a06436
BLAKE2b-256 b0c66cc8e810b516a62cf188dd6ff21b14a5099eba75cbe3e64fb45d8a67752c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1818f44c548eed7d5c1137ec5e200189f5dc02497422d0914257adc3174c9423
MD5 5ff2c695ace836d1c2f8d555c9a0351c
BLAKE2b-256 0564ddfdc97820442d17126343de8de5b9dff3ff9de0edf5b55ee493db128005

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 3fc736fd8e1696f1844effb3cb3f76910f21bbb47d4916096ddb8482813a65ba
MD5 0c972f6b1ba0804b0036d14c9533ac0b
BLAKE2b-256 31e6a09aa946d57312c6fddf138119e3a77df8fc0b84133c599d1ca725cdb462

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7462911e88974e08b947a69f0a01d683ac8c322a6daf9e000e8db39542606eb6
MD5 a54b30e94b61c046543d3bdda1f9dc4a
BLAKE2b-256 0b9b4fae7b7942096489f732beb4de2cc4df0ac634b5481d21ecc20047f57607

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.3-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.3.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b37c40d9cb03c9d5828895de7712cba547ff01df28187902f07dc790ea1e0aa
MD5 d0382701da883938fc1d722b00b4b4b8
BLAKE2b-256 f91f92b53a2b7bad87ff54994e8da2ca19d731596d6ca5616a790cc16fc06c55

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7958b740ff931ae3b4c8bc7567587259913392442b411914ce01fc0eae621a13
MD5 d234fec325b5f34656141ead8e45c662
BLAKE2b-256 b06bb264126fad6abef26b4913adc721e74b2fb954c63c20952667881eb798ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 5851820aa2091967ab3c6a927f10356f5d6924eb6b843802d9db96c50051f6f8
MD5 a3aee8caf60c704a4c2cef082bf13dff
BLAKE2b-256 4c61c5212cf8c2d691660a88a81dc67dd630f347444945caa37de24ca22de307

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 94eabd2c63c40f5a22668ce475804f4d62f1a18d701c5de632d0728837b8be58
MD5 4edd504e9829c0a2ef2ae2333c1f00aa
BLAKE2b-256 257999cc949953573452d5db8fdf20ec353a308a61457571a3fa27ec15d6798f

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.3-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.3.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 30588d67313f395293b6a1aef5bb78f5da6f9ffc6afb80574a81a5dfbbb60351
MD5 31921b3913073c5e1572273ea6bf8ff0
BLAKE2b-256 290bc6b20222fc74ffdd7d59cb318af3abb4221e5f2a743edb296767bb55c0e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ec837d96c99186bf5763c6c81f5bb11e3d27dd6ffefbbdfca2bc154e6a628d17
MD5 d2f0d5c363eb3e209f4f66ddaf0f2147
BLAKE2b-256 b588c041fcafd1cc43418826ae040343e5c92a0ea7b7a9608b79ef447420043a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1c9ae66e86b13cb4d2398f5d2694dc6b12823291f293c64dc0f327baa81042b5
MD5 8ce534bd5a1e0d625b3a05aa7b1d4e67
BLAKE2b-256 b5e403c34d7dbeb1787e48c9a3f59214a3054a07e5579f3932c1c588493ae823

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 c24990484115178be36ca712c4e33876bd72526169b2670840676cc20f5bb0a7
MD5 14b3835f54aee6567eb7ad49badf5cec
BLAKE2b-256 b55e9842fda4ecab98ddf1c0b002cc4caaa674821a7c8d8cefe5bde74d1ba6e7

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.3-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.3.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ab881ff22767fc6a86626d657f47aea6d4b801118ad358b812c8c6c455fe17b1
MD5 f3741b1367287dd2d89e29b054753b2f
BLAKE2b-256 5ecf4246e08394a48073ddab52ab965fb3910cef40e048506b40f97e1d357718

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cba58222bf37ac2c4e11236f188b58967c11cfe3bcff4773c4df1cf6031ca56a
MD5 62fb79f1513278a6f568cc19e1899409
BLAKE2b-256 dbbb2c9655c0d97b249025b50fcfef4af113b029dc0a7b5547ee5e98b9c86cc5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.3-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 924edd209db07008e7fd18e82ef19fbfddf2a66a5cbaa6e6056dbf9e41b7008e
MD5 dedc65da8bca7d88c582880c1bf8108c
BLAKE2b-256 ae96fabb7be81eab873bb4a4409c6d62d27b8bd61a6410ca878b708623fbd688

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