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

Uploaded CPython 3.14Windows x86-64

pgcopylib-0.2.2.8-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.2.8-cp314-cp314-macosx_11_0_arm64.whl (365.3 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcopylib-0.2.2.8-cp314-cp314-macosx_10_15_x86_64.whl (367.4 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pgcopylib-0.2.2.8-cp313-cp313-win_amd64.whl (327.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcopylib-0.2.2.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.2.8-cp313-cp313-macosx_11_0_arm64.whl (363.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.2.8-cp313-cp313-macosx_10_14_x86_64.whl (367.6 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

pgcopylib-0.2.2.8-cp312-cp312-win_amd64.whl (331.4 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcopylib-0.2.2.8-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.2.8-cp312-cp312-macosx_11_0_arm64.whl (367.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.2.8-cp312-cp312-macosx_10_14_x86_64.whl (371.2 kB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

pgcopylib-0.2.2.8-cp311-cp311-win_amd64.whl (328.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.2.8-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.2.8-cp311-cp311-macosx_11_0_arm64.whl (363.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.2.8-cp311-cp311-macosx_10_14_x86_64.whl (367.5 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

pgcopylib-0.2.2.8-cp310-cp310-win_amd64.whl (328.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcopylib-0.2.2.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.2.8-cp310-cp310-macosx_11_0_arm64.whl (364.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.2.8-cp310-cp310-macosx_10_14_x86_64.whl (369.0 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 3276328cd0433e50c4aacbdd3df44d35923b06134640159462af70c8ea4207d2
MD5 d034d4c575b66fafdf02baa0661b72c9
BLAKE2b-256 15ec0b1bf9a742c8aa1e33015f855059b7b0cd7e5c8a32b477e7dbd9120082ae

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.8-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.2.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1907d36f74e3a4369dca2db513bf52eb898c0bebaa147b67bdd8579d804d3a3
MD5 a11b7b1a343a2224675079c5c6287ce7
BLAKE2b-256 68e1e97e466059b61d7ac9b9a82e96f9962c5bb57ff4c7fc036150eade0df50f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1da00570f61c4aca1babd5be4cf6d9ecc029127615fc45a7d6d7a8d8b1ce5eba
MD5 39f2d40d4ead149965ad01184b512e17
BLAKE2b-256 a1937679ea718745a7f1eb9fbda384837097e4c57835ae131a24f4a65ac516bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d23a6663da0e1c6a4168a7275fe396e0673340fc517159a2fc825fd2a9fb783d
MD5 cdf5ecfc90d91154bd1c83b82995b83b
BLAKE2b-256 edcf9425252977e7363b1544cbf6f55c977677467f2bf5d5c04ef8514d3ea7b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ea4873a721281b8f11ce581f3e18def015df9926b7e3dedbdf04b8f91e788f37
MD5 5bed896202e7f7d43cac949a0e8516ee
BLAKE2b-256 e7886b70ee8a6b47047924703ccb29d63873b74acaaa864b4a785927d84b95df

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.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.2.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3587074cf1f74ee9dcce93f3883be8f0fb3dd8db1eaff650b765aceb33ebf71a
MD5 fd027acaa969d37fdcb2cae1041d48ae
BLAKE2b-256 e1896e978c9c92e1c70219f44b927398a2a9dfc42933b43e05b392c0ee62718f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 605a9fcdb3ac2891bd1d8e57957ec71d2dad8d7878c4b3cf4fbb0cea6705152e
MD5 583cc49c2ce105941b4a548e4b328fe7
BLAKE2b-256 72f8ccbe1227c1d36602fd14963f5999246ac1479013799474ff07b847fad35e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 b56f4d8beba88e0c0e5ab6153f0b1193399a8ffc26db3aacbc8e3fccb695ba03
MD5 47260702e5047f8cc7bc717d131e131a
BLAKE2b-256 2449392033a70ac2d6cea896809f1f13fbcae9db2fce53ddd7b37ecef616aa91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 8fc67f002cc66bfaf239fbb00ddf0bed4649d06c802bcb88cf54d7008e6416cc
MD5 41f1d2e82427447321e348398f92ef89
BLAKE2b-256 f973739513d7fa9776388750e709d8ffeed3e95eb010247e8858edc23ff9631c

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.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.2.8-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 91b4a6d2eeef2dd5e7decb83cf1f1e794131085d62f489a5ad4c8faeb85c666d
MD5 113725427e6887fb46f2c6429063218c
BLAKE2b-256 4086fc18e935d7ce300178c9e26b59f5f413ee662a8cece21c33b7f8a5b359b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 44144e7d8c12fcbfe3c7357fe07bb693649bb33424e634d7bf7713947e3e347d
MD5 0a36eada217437f4a9a2f04610b25c02
BLAKE2b-256 9e87ddcd0f9bc660bdb6ed28c24c78c7e3f5cf966597ff9041ff9a634d282f01

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 de9337f1dd681f43df67d15c43a42ff2794ecdef51a73b899a7675550ac6e806
MD5 00b7d90d8bca6aef263077ac4a31dafc
BLAKE2b-256 d7d03a2acbe7c27d26cb1f7b6f513b9f13625c5440a8086c7bf136482184a71c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 bf7525685c728e30a4db366cdfb36fec05e2032f53001f854625e66d5b1462c3
MD5 d47deb4fbd3cf080d1f559adfeeb8f58
BLAKE2b-256 fa761298198f8e7f6d4f6bb12eca0f967a6e86270db3c8894d5fa5d4aefd01bb

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.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.2.8-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0879d36b4a1f62dc2d955e8f243841c2a8f572918cbdb15259aa79142c1d8d34
MD5 617804c392b141586e8c67c4d3de7355
BLAKE2b-256 1a548f80a31593e901bc984fb167930ba1b7eaaa0afe7281e625f8690e6669c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aa0b5f0a01ea92c73971bce92d2cf76f888a436107947aea35be9c1a93e80681
MD5 88ec8cf0fda372148546399ef566edcb
BLAKE2b-256 36add9974d4cecf19e64b9b9aa5c99f3976c8995ce4f043b2d79c54f22a4fb05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 873c7ce64dd9a0887d7e5cb4b746cf0d82e73e23a2beeef11c26a7a999b0282e
MD5 681f159a0222fcecc29ca31afa58a308
BLAKE2b-256 97473f0449ae9f98d0ba183f23e4eec5c89a8339fa45564f690528bf3ced1df1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ee0a802ef431e248c17de0ed5a18c8dd643e6d7a0fb94d3ab8ff03591135a9a3
MD5 c35373588e99b93788b16ce106490bf2
BLAKE2b-256 def55c9dce6f3d42019e22f962115bcfa6b316fd115c8fe1d5e7ef01ca7b02ce

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.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.2.8-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 438775815b0219bad312abc8fdb4404303544e0bea78de46841a6b9fee46db19
MD5 7f6586fe102a666c1f4fc01e633617fa
BLAKE2b-256 fe5394b6a149f9d3e0c2b5147aacd41bc58b82f4c6d368f7c6402fb4876856d6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3bb5b908c00d72b8177d072c2f33a75ecf46e2412fda8a55beeccd11389b85f2
MD5 fa8f1fba3a54b4589e5de5a3a2514a38
BLAKE2b-256 2cfe29a6f5a069fc6af631ed620837fe94a38eeaee95d64696a59546b02caf78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.8-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 d5b5c83d89d4ff67a1d5ffea60c1c8901f29994be783d50dd21695ee152df74f
MD5 0e639626e3eea7295f39bc247c34295a
BLAKE2b-256 24ac02a33ca2e9f5b52424de9144057b28f218db1856464767dcff93307d815d

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