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.2-cp314-cp314-win_amd64.whl (336.4 kB view details)

Uploaded CPython 3.14Windows x86-64

pgcopylib-0.2.3.2-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.2-cp314-cp314-macosx_11_0_arm64.whl (366.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcopylib-0.2.3.2-cp314-cp314-macosx_10_15_x86_64.whl (368.3 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pgcopylib-0.2.3.2-cp313-cp313-win_amd64.whl (328.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcopylib-0.2.3.2-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.2-cp313-cp313-macosx_11_0_arm64.whl (364.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.3.2-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.2-cp312-cp312-win_amd64.whl (332.3 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcopylib-0.2.3.2-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.2-cp312-cp312-macosx_11_0_arm64.whl (368.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.3.2-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.2-cp311-cp311-win_amd64.whl (329.7 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.3.2-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.2-cp311-cp311-macosx_11_0_arm64.whl (363.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.3.2-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.2-cp310-cp310-win_amd64.whl (329.6 kB view details)

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.3.2-cp310-cp310-macosx_10_14_x86_64.whl (369.9 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 80a433c7946200bd4a3cf93e088569fc691da81f59b9806a0261524a5b32ef26
MD5 fae7ced36d7eb5b72dd07759273f8e40
BLAKE2b-256 e7450b808c6c9029b3dfa94aba00e542d04a1b1bc678209e1846862f7c239986

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.2-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.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7e61ca67acae27a4b7aa61bccc3f424fe75ab88d58932a09f840ce24e0fa467d
MD5 b22025289fe5573ff4e361073caf57f7
BLAKE2b-256 d2fc79227e5a080732c18f51138257a084395c44d0da745d1b93f35ad98c42d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 611dfb7ebb4eee985313014e5ecb81c6adbbb4d7a6aa959f2d2cdc8c15079490
MD5 d54222ba90fa33d525cb59fa7c7fccbd
BLAKE2b-256 63673d0ddb5d44db64fdfc32dc2906848dee4d961867119179b8776a5a8f828b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d8a72e0b70326b6064ad3410108600eba79570bc155e945b318cf7a36f257601
MD5 ad3647014f04ca4632a1fe5cd547f03f
BLAKE2b-256 43ae8200e9b62d934c6a873b036ef986e3776cb0ffcc69ce0fdc6b6c332faf31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c9800547d053cfb4c0aeb5afaa4bace7c71d48171d2bc6087ad74608a4b76aee
MD5 b4188db251e490c3aa38fdda472a6539
BLAKE2b-256 afeed6c1302552e183e507c282448d953c1337cdb036dc80edc2b1a89c49d80c

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.2-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.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eb9d0d8510624ca60a6c52e8c36ba4cba85a0f4a017ff7a4a76fd6f10dff9d64
MD5 47cfcde7a92895de778604aa32d2d7e3
BLAKE2b-256 dd1eeac61beba170d1903457eefcc673638d52de7fc9695545218509ff9c5965

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8c44de6d404b63cbcb03fc9aa6bad430b7781692c56c6c274b10c3f49311cb1d
MD5 3b7ab9d537cfeb1fbb5a4373c61ca6cc
BLAKE2b-256 34f4f65162dd22ee247d028eb7583ce6167aa8340ab4ce099c81b777a55ed7d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 c82bb4a64de52335b03998f6ba0fb491501417e0547c312370d3b1d9ffecf87f
MD5 4a227bf75834294185c5569d4f4f7c8c
BLAKE2b-256 004a94c2a3073664853aa8a220b8b7a2cb68ddb5b8b4b28f3f14bb247d6ace38

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 516fd8e77443b378dab3a11b207bbf86d741d8eff79dd3e9f672c933797d9461
MD5 33ead7069f0436400ef6219dddc13932
BLAKE2b-256 a37e8ef61f203ecc5d6eff9d8f8341b3799852672a3738caf6b2c3aa8463a74f

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.2-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.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f032c4e3cf8478cd45cbed8c5ed96afd5c9fc8f38c5f4e26420e792fc97df74a
MD5 341534ca3a7700c06f2277bcdbbc09a9
BLAKE2b-256 f1af4d76b6cebbbebbddff392a1f238cfabcd99d545eee9bccd278f6f6a26c09

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46138b8c643934f642d9860136c053b79b02afc75b3530a2ed0e2927ba7c8403
MD5 7c790f54b8cb9b216f80f5ab5c6275c2
BLAKE2b-256 e716a733460ff471ec277dc553d3b4a5ce3b68ddf3c9456f06e7d16302bf6b03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 93cb94750c1ccc5e5469a706b19b4480f2b9033c4369b4d54addb3845103e606
MD5 74a9b5ce84a0a32f92a0619b349afe40
BLAKE2b-256 4de0b161343a6b8d6b95c1b1878a6df0b1036c7f1d1b775959efbd9953238253

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ee00ab87b14437b1cedfe407b80350d3a7fe20a19b8a8e60c533e49d1b5eb5e7
MD5 ebdd8b18ed0acdf4a766e4b38d627cad
BLAKE2b-256 3f37f6b1deff98a2bbba899999e7d3b2da1179f98778a42e88ddd700321be68d

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 368711f78d4b49e0103bd9c7bad8d3cd94de3bb48d25c4b27282e3674599427a
MD5 f52f7751ac60a208b8ecef10a20e984e
BLAKE2b-256 84e9622ac10e7417f3e8cfad475be14b1d679697f1bb456c69e741b0ec6318ee

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28c700ff960f470c9ed8e7f1cfd23a171b73ae7056813332d137310103e25a61
MD5 f6c141287b39e0c4486a12d0c922cea3
BLAKE2b-256 7848be2fb66a70e68e190a396a5b3d899392667fcdae5e9cbbebe4e1e5652e1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 8b91a0eb991c9b36ecafa74a20247885833c23d6116f1802ffebe38fdb9ab208
MD5 a2778b86c6a25f95cbce2c0ba0018448
BLAKE2b-256 0939d7558e2b83fb561b699536ebeb2625efd276fd8af53cbe97a3a2eeae756d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8460e23537c1a6760ad4e9eb99a7411c5feddfb3289d083e62326420bb9b6238
MD5 ca5385d2de1ca878b8c57853b37386bd
BLAKE2b-256 7d886b5f46c2ea6b74801330ba58166b8f8e5fff8e3e26381cae2a9e11ed4110

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.2-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.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5a4828f6af4df485f66d21a94605bd64f117a4b65ee071464068da4968fcd3e9
MD5 b361b22f890626a59a91e990a2a13774
BLAKE2b-256 ac751d15b96d5f3aac796e9fa42644b9941613039411c9a6f26312a96ff3ec0b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f22526268b7be1773187ec9e5e866d41c1680c84fbb7952011abb3912465cfe0
MD5 078ef0659140a8b9fec22b87ddfa5e28
BLAKE2b-256 837c0c991da7e5b6cda228e2cf882c96604fe87815f95cde63c60befe8db50be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.2-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 a525ca24daf4e949246e8536c81f29240a165246fbb83de50a2a556e33ef5549
MD5 ebb353f594f24c7a3215bc1ae52783af
BLAKE2b-256 7c4c68d6f22f1f5bdb0980647e7eb673e253ea857e692ac5487411efb3d76afe

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