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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

pgcopylib-0.2.2.7-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.7-cp313-cp313-win_amd64.whl (327.1 kB view details)

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13macOS 11.0+ ARM64

pgcopylib-0.2.2.7-cp313-cp313-macosx_10_14_x86_64.whl (367.5 kB view details)

Uploaded CPython 3.13macOS 10.14+ x86-64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12macOS 11.0+ ARM64

pgcopylib-0.2.2.7-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.7-cp311-cp311-win_amd64.whl (328.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pgcopylib-0.2.2.7-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.7-cp311-cp311-macosx_11_0_arm64.whl (363.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

pgcopylib-0.2.2.7-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.7-cp310-cp310-win_amd64.whl (328.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pgcopylib-0.2.2.7-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.7-cp310-cp310-macosx_11_0_arm64.whl (364.6 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

pgcopylib-0.2.2.7-cp310-cp310-macosx_10_14_x86_64.whl (368.9 kB view details)

Uploaded CPython 3.10macOS 10.14+ x86-64

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 dcab6dc5d2d3d259fb9473a06f1d2150ea43935e9e8641cc7906f041d226a73e
MD5 ac4a33446731709b74817fe9e7eee23d
BLAKE2b-256 fd676d8ae9ad63068a0d93ac91547c40b74bcae3ae990f44697150da6b1296c1

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.7-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.7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdd585f116de885a42d3349dbc600b5a0355a409deabf19370969e72600f29a5
MD5 4370c1cf5019fd568a739dbd7585b51b
BLAKE2b-256 97095a53abbafedd0f575ecf256cc4318140865850638ddb91a8a7ebef121145

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9a61d8339b2566b71590ad9397a6178ec43dc8354bfc73e41e0769d9e56aa29e
MD5 e116e2ecfd9afc3467af06f5e524c382
BLAKE2b-256 8abc1b2eed07bc852aa2165dfe20b81e737a3ac6fc57fef2266c4ba323e0f331

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 9b2256aedd6ad2c8ebe80a3e4a79499d527c9d0edebe55e199ed68184715021e
MD5 3134f07da3d6ea0bf24f45fc5d1d21fd
BLAKE2b-256 7f4691f905ed12c0be81f2397bb8c754201507cd8bdc21843dbd1c7bede6e17f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 da67a9a60b8073b260e039758351825e04b931578cd26f3d8ff6266514ccb41d
MD5 1c075c097b357f3ee8da77debcb0cc0b
BLAKE2b-256 c78563ac58252af4a97136aa1586041f53a9541eb6b2c43facd472b223e257e2

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.7-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.7-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4fab04c1997d89f21d4e22723d93711e42016a06144353ffa93ca641b77da6f9
MD5 b46ab98546e2690bbb6fd01e4740a7a8
BLAKE2b-256 a878a039096a006716248d0082c982440962ccb939dd5e51307d14db41cb1fde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f9abbe492910f613fef7f19b58e44688c6c501845ca3c9843c4f65c1b5b35e65
MD5 e17ebb7f9e1bf10621e5c1f8811651ef
BLAKE2b-256 1ca9eb72571283ebc039399b7e83b459470cb7a8d1bf8a47823f37ccbd1742c0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp313-cp313-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 57490b29b5bac37c9e054bf519d41bfdd8dac3dc4c97426543999fb7a18a69ed
MD5 758e396fcad357b1b6ca458fa2625181
BLAKE2b-256 ca2e2ed27a184d07f81c56d23985673e59e5f710debd220cd4605d310c532f78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ac5edd89300d236738f47178ff41412776a334c90d3c3eaeec4c993929ae1db7
MD5 ca9ac56deafb6b61baadc4f9509b37f8
BLAKE2b-256 50053fab74157c2b6282e857263760fe3247188ba57bd3f24b83d8e77b59867e

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.7-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.7-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 036de79678c1701d0a8f1a3a81a94ac9ccd1a83a36c77d8fa85937216a0aaa9d
MD5 6c781397b8006491a8b05b8b67ee0b3a
BLAKE2b-256 72ff924ff5f849661bf097128acce510fda984721f62815a11e91dcbba4f3ed5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e8f3faa4aff41b5252954883ddbd0f9c0cf037c7d44a70c1d71f334825191e49
MD5 0acaa6beb2398114ddac7a2519b80af6
BLAKE2b-256 5d80ccf98969070c8effe4c12473b033c717ac4828046e3b935354445cee91af

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp312-cp312-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 332f5002732a80947c620ca465cbe2b787692b3f92998e7bae8d6164f7bff74c
MD5 954af12d89bff66a0170b2099edb8b16
BLAKE2b-256 2d1d13d0e9c318027fc0af855976b6021ef5220f1045dcedbdf809512b9e90cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 94d295aa82d84485292f8a41b50816cd624150bcc9984978b6ec1f4e49a1e96e
MD5 5af0726863fcfe52ed2fb7f7db444139
BLAKE2b-256 bfd81b6f605ff61155f56bb734bbf10fedcbf011b8989c595da4fc6083c9dc43

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.7-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.7-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 484ba1a2798a0c90610c060cea4bd0733c21332db6cb0dc77083ea9403a7761d
MD5 5cabbdb08918251679bca119fa15f8c5
BLAKE2b-256 ae723bfc464cb718a31bcca3ffcae6eb3080bc0c1eaa1c6befaac7f007a93524

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9fcc6e6659c60d8da9b0aaaecb16c1f325a1bd85d3e37958e02ca1447ff0d225
MD5 142c13c52b64126e2801e2f9f4ae12cc
BLAKE2b-256 ffe29c250c49d333f50db4c78075f9f9a237c59f6ec9d757ea63c1f4451c63fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp311-cp311-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 79732de25ad9f027fc8749630421dfa0f9c4c52ca6ab3e4e1b7852391232cb0c
MD5 3697857754f6d260375283148eaf982f
BLAKE2b-256 c176206c229126973897c79ec8f52fe31fbc4496f585ca631f4e747aa08a1f31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0be7b635df51e3e163405ac16fcdca7ab3481a8121fefe4fac26af21a6841ed1
MD5 8d42a8f4f489fec8dad58e3a4ea23ad2
BLAKE2b-256 70b3758d24a6273c44e54758c436ebdd7219a09c730c60c259e7f68bd412eaf5

See more details on using hashes here.

File details

Details for the file pgcopylib-0.2.2.7-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.7-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6cd792130ac1372fee0850fd9d205f37c7dc43bc523a4881423b8b0e1fe24c39
MD5 39006cc57318431daae385a7f9f9ae40
BLAKE2b-256 2f457bc93e3806bc501f40630b1781cb13b0f1c6de5107713050bb8daf65b929

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aefd4989b0cf11932652fe8b466e317ccfdf7566ed9cbf1f1d7e8feff8480622
MD5 62a738583d1170cd7dca4620409808ed
BLAKE2b-256 b6476e50f398b85124851323f73b53b0f730454da43f9b862843891a9731c448

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pgcopylib-0.2.2.7-cp310-cp310-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 24b0f8cf9e7f80b3bd11af8cf757c2560c6396cf79b5df56fb772a2219bea076
MD5 b74b9ad56fda2a26b4f61f9c14423fd7
BLAKE2b-256 8606aacd6c9f7ee4be03a4ba79576cc98d1d6ef5ddba8f7e5d61e66970ab64b3

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