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

Uploaded CPython 3.14Windows x86-64

pgcopylib-0.2.3.0-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.0-cp314-cp314-macosx_11_0_arm64.whl (366.6 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcopylib-0.2.3.0-cp314-cp314-macosx_10_15_x86_64.whl (368.5 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

pgcopylib-0.2.3.0-cp313-cp313-win_amd64.whl (327.7 kB view details)

Uploaded CPython 3.13Windows x86-64

pgcopylib-0.2.3.0-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.0-cp313-cp313-macosx_11_0_arm64.whl (365.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.3.0-cp313-cp313-macosx_10_14_x86_64.whl (368.7 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

pgcopylib-0.2.3.0-cp312-cp312-win_amd64.whl (332.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pgcopylib-0.2.3.0-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.0-cp312-cp312-macosx_11_0_arm64.whl (369.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.3.0-cp312-cp312-macosx_10_14_x86_64.whl (372.3 kB view details)

Uploaded CPython 3.12macOS 10.14+ x86-64

pgcopylib-0.2.3.0-cp311-cp311-win_amd64.whl (329.4 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.3.0-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.0-cp311-cp311-macosx_11_0_arm64.whl (364.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.3.0-cp311-cp311-macosx_10_14_x86_64.whl (368.5 kB view details)

Uploaded CPython 3.11macOS 10.14+ x86-64

pgcopylib-0.2.3.0-cp310-cp310-win_amd64.whl (329.4 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcopylib-0.2.3.0-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.0-cp310-cp310-macosx_11_0_arm64.whl (365.8 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.3.0-cp310-cp310-macosx_10_14_x86_64.whl (370.0 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 10f7fca905dc154c7ec178a4256f8bd03fb4fb3ec45770ba03d0c5cf210ffaf1
MD5 80d07513989429a7ebd5710e0ffa4f9c
BLAKE2b-256 b5728204b003078f10877c632bb4088879e93d6d2f0b975f1ced665bcfc6e5d4

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.0-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.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4b752e2b2a82d31a172198d4201739fc0d8420fc1d87e424e3c53590b5bf1994
MD5 987bf947e993d5dbf2218a4521b64d30
BLAKE2b-256 bee7b6f099d5c32d69c1294064759a7841b018fcadb7b98cd7a98c1bc46a5b99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 68c8a21d164ebe7abb7912c777e3f591108861f38b263714149d06549ad11e4a
MD5 a5981390111e3d5c92ea0b3d2d5f9c27
BLAKE2b-256 9617f266e126dd6917d8dfb056085bdc1861d8b2ae5cab0aefc445c8fa59f31a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 cda8e44e46b36e8ac2d23123f58d28ff5fe40e80d4915d60918d273b7d38d326
MD5 bc25220e8f3c60ada1910b27587a4ddc
BLAKE2b-256 d72f1684c7a096ad9326675bdec9ed1717cfad8aa12f9976b7b3ec962342d9e4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1c293362f7d286fc6d0a0cf6c2f04d599aae25e7ec21775cf7940a9f1e2b4d73
MD5 54eed4f18058afa1d0f77df02a56ded4
BLAKE2b-256 6b639ddce0f102b5d18fbcfe6267023e9cb0356f40bd5bea658e13cd7e8c4d4f

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.0-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.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f99cba50e0eb2a20d84a27d0967daac3ae14452168b25c7f7d6b1ac5ceb4961f
MD5 eb928fc7518d71580619392a2a6337b2
BLAKE2b-256 6c93302d0efea56b31b8c625a9f5d558779b531e9be2b0a3e39cc43eba901d73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 22b6d7b2fc1f8f2f55611df1e9c9c5a5434bdbba84947063a6cfadcfc71264f9
MD5 aeaa9741ae493553127f5c9c0aef47f3
BLAKE2b-256 bc9bfa2649ab80a5312d085826d915c0ab062e08cdb6485e219eff300c06ecd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 36e95cc5934ccf7ed4961b4af491388243105e54180b81d7009e039950ac3091
MD5 0adbf238c74c55920fbfad0ff4cc4601
BLAKE2b-256 9655ad12eaaee50d0d317d37c4ba632afcc320f1f0c6a3c9b96a13b04c5c2126

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 04c5b9610770daafca53411dbe888eb3f42e7e21a21294f96ae98a501f7b69f8
MD5 0eeea6442cbfaf1c3b1a8de87b36221b
BLAKE2b-256 3ce709c6e9ae1ddf195030e3457299386dbd2aede65cac2118f4e0817ea6a782

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.0-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.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2cd66d322afa289b1fd54a6a853820bc0dff2c9a82f8333c7a6853e4ecfa220
MD5 986c8f91649256e863fc48985f8ad93e
BLAKE2b-256 6d9e05aa1a06ce1b0852ae5e0dd282f0948a8ad40e8661c1b25e94f5545e9052

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d45dbfe1f6a265dc20d936caedaaa4388915190d56bb6e9bae35569ab8548b68
MD5 b073a6b02ad6ad032dce0810af9b160b
BLAKE2b-256 939f8eccc9af1415cf519fbe4d2e2de04d2d481b75b2826ed0893769cbd15292

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 60f1613d38f5ed90c4ee869fdfb53870e5e8735329d52e58d1464df235804753
MD5 ccdced2abaa7e3b0484195b464fa0822
BLAKE2b-256 d974db0724ff9d79cfe47228bb052d1e1187d755803f8111a3c9bf448b63947b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 8bade7710a028873955f81dc5f06dfa6ee78df5885d777a5ca0fcba6e962b477
MD5 0c04e5c95e3d20ea920d10b92456ab46
BLAKE2b-256 37c47a71b8b0a0bd2681928047ae8e09124d82c65715dd0c71ce977d339e9c79

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.0-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.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 887e993ec6a38ab80347b71d764f7efacbdb7621444b19fa07b6b7f10e06f6da
MD5 92cf4c7d68db48a4bc0c48703487385f
BLAKE2b-256 346461a0e0a44b00ea1353f727c3837dca0b173514095741baa87838280d3fef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b8ee576a845b9543e4ae04f6a1f45f1d9008a95291b7cd729266f975968e66b6
MD5 8dd58f292bd38f1a0c396a3f1d166e5d
BLAKE2b-256 a771553eadf39b616de547f4aaa55e9a38ee597a64649ada950df17f104f7046

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 570b215e98a0527f9a1799101d8a741ce41dfb23351fad96bc989c8b0cf1a6e0
MD5 bfa5915185ff1d8794b7a44226da6a40
BLAKE2b-256 9af7012336ea3c6544fb45fe826bfc9263f1268dc541203928287baf40fb874c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 8bc28e188bc3887891b6f708d95953598ab95ae4c50628f0a9e52824fbb0dd19
MD5 738fd51b94278bd5070f7f265fa9b5b8
BLAKE2b-256 c4385fdfc91933ff9071fc436407a435d38a071bcd7c5d94511e9d8c20dea917

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.3.0-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.0-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aec9e0b5544f4587b59eed21f2e23c977dae6f635034b98ef9c48d950c82d289
MD5 9d1d1b52de22e0986c009b0feaf11f68
BLAKE2b-256 99359fa8bf8a820733c2cf2997fb17202f4c0e14bdd223a6e11b7026ab30ff47

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9cdbfcea0f61d3542771945481fd1b99cd639da914c4069d288089ce3c165f3f
MD5 b1596f44f9970f4a0344dc4081b75b9a
BLAKE2b-256 6d65f103c9dd4d092d9a2e85851200f8807906039d7e245294032f061d49b06d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.3.0-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 07b5858447330d7beeae699490b89768cf63a902b6a2337f22aa9cdf285c1e90
MD5 0f2340ee479fb1c8da835304bda4bf65
BLAKE2b-256 20e32302e2f773c351af7d34c48260937c3dca565bc3f0867138789fa5296cc7

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