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

Uploaded CPython 3.14Windows x86-64

pgcopylib-0.2.2.5-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.5-cp314-cp314-macosx_11_0_arm64.whl (365.1 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcopylib-0.2.2.5-cp314-cp314-macosx_10_15_x86_64.whl (367.2 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pgcopylib-0.2.2.5-cp313-cp313-win_amd64.whl (326.9 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcopylib-0.2.2.5-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.5-cp313-cp313-macosx_11_0_arm64.whl (363.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.2.5-cp313-cp313-macosx_10_14_x86_64.whl (367.3 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

pgcopylib-0.2.2.5-cp312-cp312-win_amd64.whl (331.3 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcopylib-0.2.2.5-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.5-cp312-cp312-macosx_11_0_arm64.whl (367.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.2.5-cp312-cp312-macosx_10_14_x86_64.whl (371.0 kB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

pgcopylib-0.2.2.5-cp311-cp311-win_amd64.whl (328.6 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.2.5-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.5-cp311-cp311-macosx_11_0_arm64.whl (362.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.2.5-cp311-cp311-macosx_10_14_x86_64.whl (367.3 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

pgcopylib-0.2.2.5-cp310-cp310-win_amd64.whl (328.6 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcopylib-0.2.2.5-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.5-cp310-cp310-macosx_11_0_arm64.whl (364.4 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.2.5-cp310-cp310-macosx_10_14_x86_64.whl (368.8 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 9cddf6d07f0ad98c82f423bc98f7db87da1016201d7692769ba4e0c1e3511acf
MD5 6f351908113efc276218b4e302704029
BLAKE2b-256 bf011f0f961358155986a56d14696c2173183f68eea8eb4886feeafbf6a118bf

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.5-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.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 43a0de3559ba2826391405e62b22b35ce9f13bdd3e1b384e7a3785cec540b725
MD5 d89e3e5b3daede1f93950cbbf2d813a6
BLAKE2b-256 6642e1cd357ce95a9df654e70dc22e40881a1950638689389e0e3b79482d6015

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10e1dcd4519f8a9efe50b64c3a890bc63bc90ddb9e246fcdee136f2c502c22cd
MD5 0ce4e3274a6111c16a97d38d9145be15
BLAKE2b-256 bd0b5586b9fe0dd6468b00e47ad53d4b4e00c92aba371994c091cb035456e01c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 a3d6307941a250e37112bee404629c1f98b620503964aa4ac032e9a128c238ea
MD5 6f9d2e7ab4d05003b55501abd5b21df2
BLAKE2b-256 a4985e6707c0a821a1e11d57f1222c09f38a962c3d5a59ee400277c9fd757ddc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f0072b3b3051ac3f722ea71bc6babf4ba426d8d74b3613690b82b40221d07a28
MD5 66e60aebe06c5c73da4fefd1d357920d
BLAKE2b-256 141e25e65be22862aebb7dd5b628c5c970d5bdb5d63d06a400cbac71076811d0

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.5-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.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 456ac674415624281b1339b1d77f5a8f8304951a837256849aeb89db77ffd979
MD5 5d1a8725740df18bab52d0a2e0ea0a01
BLAKE2b-256 d193ff47b6df5faf2e5fb25690c93ef93a2144fd6f2c0a70c93224890026eaaa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f766ee370bd0ce211fe90de3e8afc5925b08d0409cb3ff5361c4e15e8932173d
MD5 9d2fddac87507c0cb38c236f91abed10
BLAKE2b-256 c9de5e5cbc37a9acb1a64079e67e247ede608f45d6c729d2e3e0ef6f5939332e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 abdfe8a775e7c74ffbe6a85ada79b72453fe51d247eaa46bdce1e903bfa8c165
MD5 b9ebadb793cccdd9e7f0a99ccac2d820
BLAKE2b-256 3ade7b0e1af62efe9cf688752e7ee7d51bc3a7214b6b4e8c13b7c4c608b43cc1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 5e6ef6b207081a930b088516edf3c80b3075dcf3684312a9545149b709192967
MD5 010fbc824bb7d907849937879d34c9ae
BLAKE2b-256 0cb68506c3178bafe5717339d952c44221bc3c01fdbdeccff4b149071faa03d5

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.5-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.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e82c30219da11f689469e92fc0f2735842e7019378ec3a7e17014d6e22e7cf23
MD5 af556d88cd3aff60514a2a39e7a89b0f
BLAKE2b-256 cdce106880ecc078823e64552eebf584c5028f7d05d02548918695238a96879a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 39630d14a3390b06b1266b0bd0f93f64c08a5c5ae13a999041a17e2b42163a4b
MD5 46ae29e134d9572d720f99abf2efd9bd
BLAKE2b-256 f0288e12490efc7637b14efc26cceeff98706c03c12234b892556983e2a2f7ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 e707a12ddf340438f01ec040c185625f99e7798c29c70aa9d52da7147c1b0fe2
MD5 97432c3f3f30b48dd1ee8246ffb2485f
BLAKE2b-256 7711216c67a6d11aa9f97cf928130c109a74f06097073e8907ecb6f528e38a23

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6657d40fa2aeebe187acbe3f029f07b2428614e718eafbb7c2d2c897058a3154
MD5 b0365b4e82d4c2764a3c4cc4815aac7c
BLAKE2b-256 ed0630571c56f28b5381b77c590864b68626317dc09cf2af96a7681ac1f7aff6

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.5-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.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3e2901bd719df00f4374f56672104981a16104a329c9a60e639845cbd6644d13
MD5 0e9fd4cefe2b9daf16a0c108c5c79012
BLAKE2b-256 1e2717a4b2f4d642569d359240ac75c5d4892de934c67df7f83674b8eac28651

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 683fa15a83a0808a7a4f356cee54a4fdead9a0e4979a7ac4ce764e032772480b
MD5 7a41558aa47a341ac0a582b4cec5c4dc
BLAKE2b-256 b76a4f516c13ffc6ff845f5822d21ea501b56c4c9dfa66d3ba3eaf4462dd9f3a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 98c02759b5290e8a6998337bc3fc6f309efedfdc5f8d5a71ba4eb1f22cb8ce30
MD5 05b7409ccf0109285cdb2eeaa453ce4f
BLAKE2b-256 e8dca8e431ed08726963819d35044998f49b45b7d6379053a782ad3aa441e934

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 7557b78167c805dfca9e093b66d7e55554f7edceabfad0953f5f285907120f2c
MD5 2dd37423eba907031d39d210ee1e1bb7
BLAKE2b-256 28514655bc7c422e2b3d33d7b67da5056f960af504b0bdfa0dda12c6937cfa10

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.5-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.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63ee5c94f5b3d03f2dcba519d2ec139cde01e41f311b051afa355a22ce71f93d
MD5 1b055aacc11f8b444d2d6c966df4775c
BLAKE2b-256 26cb99f9105a6e7d889eace2b1985fc07b6c20e6e9d732a78c6014466dc8fd46

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 972920ad8c36b6a3af219c51e27bbae6a33f2e5ee49fa32546cd1569450e0325
MD5 af63ad9fb1513dcc68f01cdb370fce58
BLAKE2b-256 f009f8d5cb9fcc4edfc8108ca6041805a77c83a7d739d8c8f376d5eac823d36a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.5-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 7b8a07178189479096e8b0eedb2831bd370bb258c764e189907461e98aabe79c
MD5 4291a8ceb227830c1ff77f4e052f5eae
BLAKE2b-256 7b08a59f7ff12d47f13538310b042b835927f8cb1823a70f6dd1ea20780451b4

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