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

Uploaded CPython 3.14Windows x86-64

pgcopylib-0.2.3.1-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.1-cp314-cp314-macosx_11_0_arm64.whl (367.4 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcopylib-0.2.3.1-cp314-cp314-macosx_10_15_x86_64.whl (369.4 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pgcopylib-0.2.3.1-cp313-cp313-win_amd64.whl (328.3 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcopylib-0.2.3.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

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

pgcopylib-0.2.3.1-cp313-cp313-macosx_11_0_arm64.whl (365.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.3.1-cp313-cp313-macosx_10_14_x86_64.whl (369.5 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

pgcopylib-0.2.3.1-cp312-cp312-win_amd64.whl (332.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcopylib-0.2.3.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (370.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.3.1-cp312-cp312-macosx_10_14_x86_64.whl (373.1 kB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

pgcopylib-0.2.3.1-cp311-cp311-win_amd64.whl (330.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.3.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (364.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.3.1-cp311-cp311-macosx_10_14_x86_64.whl (369.4 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

pgcopylib-0.2.3.1-cp310-cp310-win_amd64.whl (330.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcopylib-0.2.3.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

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

pgcopylib-0.2.3.1-cp310-cp310-macosx_11_0_arm64.whl (366.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.3.1-cp310-cp310-macosx_10_14_x86_64.whl (370.8 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 41f2cf7ad74c6a5566d0f6f23a7313b5f151158c65526c02f25b0513a042995e
MD5 342531d5f2d29efc302da82f7ad4e52a
BLAKE2b-256 9758e21f0c2bf0bf9a4cfe5c732e36fc96a407c3304938dc270feb6138f4ac4d

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.1-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.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 166ab45702a2cf9366dec867587495d179f96c1a6d2603b4a0ae8fa145f4e127
MD5 7907d9afc7055077241011c138445767
BLAKE2b-256 4769cd15195a74ee7dcb7481baee71ea7df14c16acb14f86e08faa9ffdd0d2ba

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 884684adc3c69094533a083870936af15c845d195dec3ad21a79acd8b7698dd9
MD5 7b4c03e840cdb2cf5def7edd3cfd34e3
BLAKE2b-256 b7e10a57904e1d04c31273977f3a7a1e91066445b211b9a96147984c64727cc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f1ccbce9f3e1495e5a2505faf2cf1f3456f1692f764ce2916f7254658e318639
MD5 9f47cd888baacdc51cf9da23e0b81778
BLAKE2b-256 64a13ad46280b988a5604786a4dba4f08906a645120875799d4c275418c9740e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 58d842a0328027c476023afb5c0e94679cbedce15c0d67f51ca4b2c538dfc316
MD5 93180d0147c9588951609e35942afd4a
BLAKE2b-256 8b7cd1c1e849d50abab75c2d67e165c158b1d8c256ed4ce10572bdcfd83e8f39

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.1-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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0d570a84a4a7e90c9e11b3bce98378452d56ae09ff97a303951e59565680c798
MD5 6e9a2c8fd73cd7dddaa79b92a8f1e6b1
BLAKE2b-256 1aee4a509be84b5ce97240ff89e5faa2897c2a75f6931eb2da6ab662d94362b3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ab40094e00cb6d71ac654fbe4863b71f6c5666e77fe8ddd74a15a79327cea557
MD5 ce3a49abdd1c3aeb17d50e4d0af3ec90
BLAKE2b-256 143c8322cd83bcc30d59dd3ca5dec1e37660d30fb68b3b579871d068f61524b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 1402e983b023ab8f3ba3f43af0d2d1e08db7c66f790a83912914f33b2033d9e2
MD5 e20eb91eec54e9f93524a848115ae210
BLAKE2b-256 c318c436157f88f6c56e7d5a405caf692057c6b8c7150aed6bb31371e688676c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5c14b5072ccb390c1b839fe4243e1fe92ed58f8c533f8b0530fa4355f460fc8d
MD5 81b38d92b1330e6c7fa675c07f6dcbd1
BLAKE2b-256 538d25611f32ec3163b9801ad2258a39184153630d06ba9283fc04fc484af8b2

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d3152820a22b55c46dab081651c9b1334a97f7e033dd8e08cf379be841ba2434
MD5 60d3f1820ae6be092b61465f7b5a6528
BLAKE2b-256 9adc9748a3750c7423525f50589328868889162b45aad60413fd90b98f5dda7c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7751ae6115c8d59cbc5d8d6113b58d8a049f1ab7c768a53385e3f4773e7a50eb
MD5 cea66eb6afab7d96ce202df993cfa7c2
BLAKE2b-256 cf59b1ccb5430f034e72b9edb2528d37b273226a1c227273dfe6b9ba53c13b2e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7efa87cf6940bd07475661f82ff5a246274b41516b5c826a0d92cb330b0eafde
MD5 70e2bc9fff281fd9a5f345c9aeea99e1
BLAKE2b-256 e0c75985548b995db7c2daed676b8d66530bce23b4b2d2ee267e305baab8cb06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 749663cbda8cfd73d7c0b8a2efc8c0526ef26e25a0f059792e955631a36fbbda
MD5 e1ee8373e9a0a9a26425a0befe11c71f
BLAKE2b-256 8f8984b88f302e3391b868aeab3d8336a65113988da05cec538069a8d1cc8b30

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 22be57cd7d439a67384da2acdbd6100f124fedef74cbb92a27199f403b8719b4
MD5 eab7e610fbc6c0591d7b2fec8970dd98
BLAKE2b-256 e9c49469f7ebf6a3c7282337c4ac56ee365d3587fc46aa8d5c1f23c0156b222b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cc86d92304f0201180d0aa2972d7777ca4eeff1d6d9fc08e8f4cdc8bc975562
MD5 51cd97cabbf54da453c93b2069c36d31
BLAKE2b-256 770bd13b179290f7044783cfd6a032280662e6e42c6d60fea302a5815ace0ec0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 21f538acb9a67d935ced168c09630ee24e54f040a1ff7ecf4975ebe374c16505
MD5 3b4dcc3a5f0017f6a128ac2cdcdcc694
BLAKE2b-256 dbe2b7e5663e05ae17ea6905a1c81df7c73e868fcf8c3cb8aaad2c26d354bec2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d09d3548108969b062c9ade5d7fb229c380eb0b83b9ce86fdb262d3e323a89b3
MD5 0bf112514632239ce90836f04fb38aa9
BLAKE2b-256 49bfc833f1d7a2d3f8d2363e5281629c086e02d282d8f96dfb1746bf7126efab

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.1-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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 747cfe3ed6408bff92d2000fcdf3186c2f170a8b8b0a41436eeae95400d02884
MD5 5fb7b047b601798cbc72779e15301440
BLAKE2b-256 fdbdf9263e4c59076dd8d86960ffa3d0c5c23f97722dd31c9c9efc5d7e03bb60

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4ade4042b33b9c76d3172635e92c17030efca9f9eb8d0e05711ca2f64669e1e9
MD5 dc6b9f88e6ddf1418aa88c7c1e3617ce
BLAKE2b-256 829ffa13b49fef4802076fa80d9a6d324f0bb865b2b39f6ff011272959bd14e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.1-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 005e41dfc63bc275af84e7fe6069936088399df474501fb4bf1652524dbc5431
MD5 b40b6c34ba9d71c029d71f66a1bf456d
BLAKE2b-256 e8a1f23c801631f303e4b7b2122d7e13880be00ef246841a6cf7928b7b1f267a

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