psycopg-binary 3.1.19__cp312-cp312-macosx_11_0_arm64.whl → 3.2.5__cp312-cp312-macosx_11_0_arm64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of psycopg-binary might be problematic. Click here for more details.
- psycopg_binary/.dylibs/libcom_err.3.0.dylib +0 -0
- psycopg_binary/.dylibs/libcrypto.3.dylib +0 -0
- psycopg_binary/.dylibs/libgssapi_krb5.2.2.dylib +0 -0
- psycopg_binary/.dylibs/libk5crypto.3.1.dylib +0 -0
- psycopg_binary/.dylibs/libkrb5.3.3.dylib +0 -0
- psycopg_binary/.dylibs/libkrb5support.1.1.dylib +0 -0
- psycopg_binary/.dylibs/liblber.2.dylib +0 -0
- psycopg_binary/.dylibs/libldap.2.dylib +0 -0
- psycopg_binary/.dylibs/libpq.5.dylib +0 -0
- psycopg_binary/.dylibs/libsasl2.3.dylib +0 -0
- psycopg_binary/.dylibs/libssl.3.dylib +0 -0
- psycopg_binary/_psycopg.cpython-312-darwin.so +0 -0
- psycopg_binary/_psycopg.pyi +33 -34
- psycopg_binary/_uuid.py +28 -0
- psycopg_binary/pq.cpython-312-darwin.so +0 -0
- psycopg_binary/version.py +5 -4
- {psycopg_binary-3.1.19.dist-info → psycopg_binary-3.2.5.dist-info}/METADATA +4 -4
- psycopg_binary-3.2.5.dist-info/RECORD +23 -0
- {psycopg_binary-3.1.19.dist-info → psycopg_binary-3.2.5.dist-info}/WHEEL +1 -1
- psycopg_binary/.dylibs/libintl.8.dylib +0 -0
- psycopg_binary-3.1.19.dist-info/RECORD +0 -20
- {psycopg_binary-3.1.19.dist-info → psycopg_binary-3.2.5.dist-info}/LICENSE.txt +0 -0
- {psycopg_binary-3.1.19.dist-info → psycopg_binary-3.2.5.dist-info}/top_level.txt +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
psycopg_binary/_psycopg.pyi
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Stub
|
|
2
|
+
Stub representation of the public objects exposed by the _psycopg module.
|
|
3
3
|
|
|
4
4
|
TODO: this should be generated by mypy's stubgen but it crashes with no
|
|
5
5
|
information. Will submit a bug.
|
|
@@ -7,78 +7,77 @@ information. Will submit a bug.
|
|
|
7
7
|
|
|
8
8
|
# Copyright (C) 2020 The Psycopg Team
|
|
9
9
|
|
|
10
|
-
from
|
|
10
|
+
from __future__ import annotations
|
|
11
11
|
|
|
12
|
-
from
|
|
13
|
-
|
|
12
|
+
from typing import Any, Sequence
|
|
13
|
+
|
|
14
|
+
from psycopg import BaseConnection, abc, pq
|
|
14
15
|
from psycopg.rows import Row, RowMaker
|
|
15
16
|
from psycopg.adapt import AdaptersMap, PyFormat
|
|
16
|
-
from psycopg.pq.abc import PGconn, PGresult
|
|
17
|
-
from psycopg.connection import BaseConnection
|
|
17
|
+
from psycopg.pq.abc import PGcancelConn, PGconn, PGresult
|
|
18
18
|
from psycopg._compat import Deque
|
|
19
19
|
|
|
20
20
|
class Transformer(abc.AdaptContext):
|
|
21
|
-
types:
|
|
22
|
-
formats:
|
|
23
|
-
def __init__(self, context:
|
|
21
|
+
types: tuple[int, ...] | None
|
|
22
|
+
formats: list[pq.Format] | None
|
|
23
|
+
def __init__(self, context: abc.AdaptContext | None = None): ...
|
|
24
24
|
@classmethod
|
|
25
|
-
def from_context(cls, context:
|
|
25
|
+
def from_context(cls, context: abc.AdaptContext | None) -> "Transformer": ...
|
|
26
26
|
@property
|
|
27
|
-
def connection(self) ->
|
|
27
|
+
def connection(self) -> BaseConnection[Any] | None: ...
|
|
28
28
|
@property
|
|
29
29
|
def encoding(self) -> str: ...
|
|
30
30
|
@property
|
|
31
31
|
def adapters(self) -> AdaptersMap: ...
|
|
32
32
|
@property
|
|
33
|
-
def pgresult(self) ->
|
|
33
|
+
def pgresult(self) -> PGresult | None: ...
|
|
34
34
|
def set_pgresult(
|
|
35
35
|
self,
|
|
36
|
-
result:
|
|
36
|
+
result: "PGresult" | None,
|
|
37
37
|
*,
|
|
38
38
|
set_loaders: bool = True,
|
|
39
|
-
format:
|
|
39
|
+
format: pq.Format | None = None,
|
|
40
40
|
) -> None: ...
|
|
41
41
|
def set_dumper_types(self, types: Sequence[int], format: pq.Format) -> None: ...
|
|
42
42
|
def set_loader_types(self, types: Sequence[int], format: pq.Format) -> None: ...
|
|
43
43
|
def dump_sequence(
|
|
44
44
|
self, params: Sequence[Any], formats: Sequence[PyFormat]
|
|
45
|
-
) -> Sequence[
|
|
45
|
+
) -> Sequence[abc.Buffer | None]: ...
|
|
46
46
|
def as_literal(self, obj: Any) -> bytes: ...
|
|
47
47
|
def get_dumper(self, obj: Any, format: PyFormat) -> abc.Dumper: ...
|
|
48
|
-
def load_rows(self, row0: int, row1: int, make_row: RowMaker[Row]) ->
|
|
49
|
-
def load_row(self, row: int, make_row: RowMaker[Row]) ->
|
|
50
|
-
def load_sequence(
|
|
51
|
-
self, record: Sequence[Optional[abc.Buffer]]
|
|
52
|
-
) -> Tuple[Any, ...]: ...
|
|
48
|
+
def load_rows(self, row0: int, row1: int, make_row: RowMaker[Row]) -> list[Row]: ...
|
|
49
|
+
def load_row(self, row: int, make_row: RowMaker[Row]) -> Row | None: ...
|
|
50
|
+
def load_sequence(self, record: Sequence[abc.Buffer | None]) -> tuple[Any, ...]: ...
|
|
53
51
|
def get_loader(self, oid: int, format: pq.Format) -> abc.Loader: ...
|
|
54
52
|
|
|
55
53
|
# Generators
|
|
56
|
-
def connect(conninfo: str) -> abc.PQGenConn[PGconn]: ...
|
|
57
|
-
def
|
|
54
|
+
def connect(conninfo: str, *, timeout: float = 0.0) -> abc.PQGenConn[PGconn]: ...
|
|
55
|
+
def cancel(
|
|
56
|
+
cancel_conn: PGcancelConn, *, timeout: float = 0.0
|
|
57
|
+
) -> abc.PQGenConn[None]: ...
|
|
58
|
+
def execute(pgconn: PGconn) -> abc.PQGen[list[PGresult]]: ...
|
|
58
59
|
def send(pgconn: PGconn) -> abc.PQGen[None]: ...
|
|
59
|
-
def fetch_many(pgconn: PGconn) -> abc.PQGen[
|
|
60
|
-
def fetch(pgconn: PGconn) -> abc.PQGen[
|
|
60
|
+
def fetch_many(pgconn: PGconn) -> abc.PQGen[list[PGresult]]: ...
|
|
61
|
+
def fetch(pgconn: PGconn) -> abc.PQGen[PGresult | None]: ...
|
|
61
62
|
def pipeline_communicate(
|
|
62
63
|
pgconn: PGconn, commands: Deque[abc.PipelineCommand]
|
|
63
|
-
) -> abc.PQGen[
|
|
64
|
+
) -> abc.PQGen[list[list[PGresult]]]: ...
|
|
64
65
|
def wait_c(
|
|
65
|
-
gen: abc.PQGen[abc.RV], fileno: int,
|
|
66
|
+
gen: abc.PQGen[abc.RV], fileno: int, interval: float | None = None
|
|
66
67
|
) -> abc.RV: ...
|
|
67
68
|
|
|
68
69
|
# Copy support
|
|
69
70
|
def format_row_text(
|
|
70
|
-
row: Sequence[Any], tx: abc.Transformer, out:
|
|
71
|
+
row: Sequence[Any], tx: abc.Transformer, out: bytearray | None = None
|
|
71
72
|
) -> bytearray: ...
|
|
72
73
|
def format_row_binary(
|
|
73
|
-
row: Sequence[Any], tx: abc.Transformer, out:
|
|
74
|
+
row: Sequence[Any], tx: abc.Transformer, out: bytearray | None = None
|
|
74
75
|
) -> bytearray: ...
|
|
75
|
-
def parse_row_text(data: abc.Buffer, tx: abc.Transformer) ->
|
|
76
|
-
def parse_row_binary(data: abc.Buffer, tx: abc.Transformer) ->
|
|
76
|
+
def parse_row_text(data: abc.Buffer, tx: abc.Transformer) -> tuple[Any, ...]: ...
|
|
77
|
+
def parse_row_binary(data: abc.Buffer, tx: abc.Transformer) -> tuple[Any, ...]: ...
|
|
77
78
|
|
|
78
79
|
# Arrays optimization
|
|
79
80
|
def array_load_text(
|
|
80
81
|
data: abc.Buffer, loader: abc.Loader, delimiter: bytes = b","
|
|
81
|
-
) ->
|
|
82
|
-
def array_load_binary(data: abc.Buffer, tx: abc.Transformer) ->
|
|
83
|
-
|
|
84
|
-
# vim: set syntax=python:
|
|
82
|
+
) -> list[Any]: ...
|
|
83
|
+
def array_load_binary(data: abc.Buffer, tx: abc.Transformer) -> list[Any]: ...
|
psycopg_binary/_uuid.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Internal objects to support the UUID adapters.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
# Copyright (C) 2025 The Psycopg Team
|
|
6
|
+
|
|
7
|
+
import uuid
|
|
8
|
+
|
|
9
|
+
# Re-exports
|
|
10
|
+
UUID = uuid.UUID
|
|
11
|
+
SafeUUID_unknown = uuid.SafeUUID.unknown
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
class _WritableUUID(UUID):
|
|
15
|
+
"""Temporary class, with the same memory layout of UUID, but writable.
|
|
16
|
+
|
|
17
|
+
This class must have the same memory layout of the UUID class, so we can
|
|
18
|
+
create one, setting the `int` attribute, and changing the `__class__`,
|
|
19
|
+
which should be faster than calling the complex UUID.__init__ machinery.
|
|
20
|
+
|
|
21
|
+
u = _WritableUUID()
|
|
22
|
+
u.is_safe = ...
|
|
23
|
+
u.int = ...
|
|
24
|
+
u.__class__ = UUID
|
|
25
|
+
"""
|
|
26
|
+
|
|
27
|
+
__slots__ = () # Give the class the same memory layout of the base clasee
|
|
28
|
+
__setattr__ = object.__setattr__ # make the class writable
|
|
Binary file
|
psycopg_binary/version.py
CHANGED
|
@@ -4,8 +4,9 @@ psycopg-c distribution version file.
|
|
|
4
4
|
|
|
5
5
|
# Copyright (C) 2020 The Psycopg Team
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
# https://www.python.org/dev/peps/pep-0440/
|
|
9
|
-
__version__ = "3.1.19"
|
|
7
|
+
from importlib import metadata
|
|
10
8
|
|
|
11
|
-
|
|
9
|
+
try:
|
|
10
|
+
__version__ = metadata.version("psycopg-c")
|
|
11
|
+
except metadata.PackageNotFoundError:
|
|
12
|
+
__version__ = "0.0.0.0"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: psycopg-binary
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.2.5
|
|
4
4
|
Summary: PostgreSQL database adapter for Python -- C optimisation distribution
|
|
5
5
|
Home-page: https://psycopg.org/psycopg3/
|
|
6
6
|
Author: Daniele Varrazzo
|
|
@@ -20,18 +20,18 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
20
20
|
Classifier: Operating System :: POSIX
|
|
21
21
|
Classifier: Programming Language :: Cython
|
|
22
22
|
Classifier: Programming Language :: Python :: 3
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.8
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.9
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.10
|
|
27
26
|
Classifier: Programming Language :: Python :: 3.11
|
|
28
27
|
Classifier: Programming Language :: Python :: 3.12
|
|
28
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
29
29
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
30
30
|
Classifier: Topic :: Database
|
|
31
31
|
Classifier: Topic :: Database :: Front-Ends
|
|
32
32
|
Classifier: Topic :: Software Development
|
|
33
33
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
34
|
-
Requires-Python: >=3.
|
|
34
|
+
Requires-Python: >=3.8
|
|
35
35
|
Description-Content-Type: text/x-rst
|
|
36
36
|
License-File: LICENSE.txt
|
|
37
37
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
psycopg_binary-3.2.5.dist-info/RECORD,,
|
|
2
|
+
psycopg_binary-3.2.5.dist-info/WHEEL,sha256=VujM3ypTCyUW6hcTDdK2ej0ARVMxlU1Djlh_zWnDgqk,109
|
|
3
|
+
psycopg_binary-3.2.5.dist-info/top_level.txt,sha256=8OM_PsAa5oKkzVvRu8kDESihBQo_LXqwG_nrlecubIk,15
|
|
4
|
+
psycopg_binary-3.2.5.dist-info/LICENSE.txt,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
5
|
+
psycopg_binary-3.2.5.dist-info/METADATA,sha256=BR5nOkAEkPBDen9zZd48XE4wn6rdQnHby9caCoPa_S0,2833
|
|
6
|
+
psycopg_binary/_uuid.py,sha256=2qmCSE61jkn5o6HFqiS6o7a_YtQj19ZeogUO-4YVuG0,765
|
|
7
|
+
psycopg_binary/_psycopg.pyi,sha256=uCDlLoK7ipWj-XdkRpR5d1ZwQBr6kn4QKywzbuphA2Q,3240
|
|
8
|
+
psycopg_binary/_psycopg.cpython-312-darwin.so,sha256=p1WQPyCIknFCCSQxlWFY2iPgVGreH3QnieZHpA_c40M,848880
|
|
9
|
+
psycopg_binary/version.py,sha256=MfZD84KKXi17AqKx1JY_ne89d_c8sERObKoe47f_48o,236
|
|
10
|
+
psycopg_binary/__init__.py,sha256=5kxw9Qdn8ubIi4ik92mxZOsjr5UO0vwq5T5S0BhCWGg,402
|
|
11
|
+
psycopg_binary/pq.cpython-312-darwin.so,sha256=he2GvGySd3q6FdGaqtMJbyXyPb4t5ABnhO1xCM1jYnw,391264
|
|
12
|
+
psycopg_binary/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
13
|
+
psycopg_binary/.dylibs/libcom_err.3.0.dylib,sha256=tey8BWzclA2WlwxnHsOSoq8wYR3drIPjdTzOkiNEyY0,74528
|
|
14
|
+
psycopg_binary/.dylibs/libldap.2.dylib,sha256=Jc0mKjSMtzvTYMdT4anNcB8_K0U9hJr24BIgbMSUmyw,481008
|
|
15
|
+
psycopg_binary/.dylibs/libpq.5.dylib,sha256=FnTrYwZFL0WsgfpNY4_8QmdzpDAZx1wL-jr816HbeZ4,354432
|
|
16
|
+
psycopg_binary/.dylibs/libsasl2.3.dylib,sha256=56j43LCJ7_POi9JyyAtveLQM4d1GQfvsI1a1gvfzXiI,164464
|
|
17
|
+
psycopg_binary/.dylibs/libssl.3.dylib,sha256=iEjtFUv5keOt2k0WePMQI-FjHKw40dOxoOZYDGyfXw0,969680
|
|
18
|
+
psycopg_binary/.dylibs/libcrypto.3.dylib,sha256=iaM2lIDQPVRllWrqUfuENsoFqQQ6I_XCvW2SuOJMEMM,4550528
|
|
19
|
+
psycopg_binary/.dylibs/libgssapi_krb5.2.2.dylib,sha256=JfVkRoVX4CPxdjkrj7GOIF-SpTyVuctjM2GpPzJp5nM,404432
|
|
20
|
+
psycopg_binary/.dylibs/liblber.2.dylib,sha256=4G8jD9gsXR4m3_04C49wc0_JjTW70q8m9g3nVudAQn8,139504
|
|
21
|
+
psycopg_binary/.dylibs/libkrb5.3.3.dylib,sha256=OVjYv6BWaFcKL-k16rK07iF3BDnSHfbA-jXl_kBaOzk,993584
|
|
22
|
+
psycopg_binary/.dylibs/libkrb5support.1.1.dylib,sha256=2zZGgFGxvMKktWgbeID7Cp4cj06w-rYHX2A8Aih_cTY,112432
|
|
23
|
+
psycopg_binary/.dylibs/libk5crypto.3.1.dylib,sha256=XpHOpdirkES5iXo9rj-OKL6L2bQhgtNe28MeyCIBHug,249056
|
|
Binary file
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
psycopg_binary-3.1.19.dist-info/RECORD,,
|
|
2
|
-
psycopg_binary-3.1.19.dist-info/WHEEL,sha256=Vo9YTsjXxZ5SWdH4n69oS5jU3YTIi3eHk0n-aUcTtlw,110
|
|
3
|
-
psycopg_binary-3.1.19.dist-info/top_level.txt,sha256=8OM_PsAa5oKkzVvRu8kDESihBQo_LXqwG_nrlecubIk,15
|
|
4
|
-
psycopg_binary-3.1.19.dist-info/LICENSE.txt,sha256=46mU2C5kSwOnkqkw9XQAJlhBL2JAf1_uCD8lVcXyMRg,7652
|
|
5
|
-
psycopg_binary-3.1.19.dist-info/METADATA,sha256=P536o2-aWL9bfgT31QSCXQUW6XzXkvRVGT2aKrWYjB0,2833
|
|
6
|
-
psycopg_binary/_psycopg.pyi,sha256=-JpDHbEo8gLifib_QXgcZUnafX-F6BFGPK_98MbqFG0,3234
|
|
7
|
-
psycopg_binary/_psycopg.cpython-312-darwin.so,sha256=_jJzxBoebR-h94HG7vtUcbK9DHxCQtiJQG1M80ggz28,766848
|
|
8
|
-
psycopg_binary/version.py,sha256=3UTn4HJ7PtaOfLvTGSXd3hgqX8NVFPqNE6tOhXMq4_8,247
|
|
9
|
-
psycopg_binary/__init__.py,sha256=5kxw9Qdn8ubIi4ik92mxZOsjr5UO0vwq5T5S0BhCWGg,402
|
|
10
|
-
psycopg_binary/pq.cpython-312-darwin.so,sha256=lZFmEnzrBGAO68NlIr0qZGlpDdisLsTszhnnVULW1eM,350752
|
|
11
|
-
psycopg_binary/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
|
-
psycopg_binary/.dylibs/libcom_err.3.0.dylib,sha256=ClXVTvDW53wuIQuMdCCDghRlzQ2gj3ZPDU5XTF6ByJ4,71104
|
|
13
|
-
psycopg_binary/.dylibs/libpq.5.dylib,sha256=nNKQWEfP98TMGjZpU2RdUKgdEa50xH5JhzcXMrPWcEk,336736
|
|
14
|
-
psycopg_binary/.dylibs/libssl.3.dylib,sha256=VHzTJJwtgqYy2CbmdCg1JrObQ_BnyP9xzUf9D54V3DI,838688
|
|
15
|
-
psycopg_binary/.dylibs/libcrypto.3.dylib,sha256=l5scS5KD2Xa8GgYhW9gUG8IK54hQXscjYV3hZzvwBus,4205760
|
|
16
|
-
psycopg_binary/.dylibs/libgssapi_krb5.2.2.dylib,sha256=jR2VzHXLs9sKcetRmtPtuzh8UrcqGNDPSFhBh3M5Uc4,326512
|
|
17
|
-
psycopg_binary/.dylibs/libintl.8.dylib,sha256=W1Wuk_8WQcmFXo01Ca35mojs_0KZ2NYfKk0ka1pEEpA,162656
|
|
18
|
-
psycopg_binary/.dylibs/libkrb5.3.3.dylib,sha256=j64d9lCrOEWDSg-JcDOO2sJoV1v5w27EYN25Fcxv2zY,791600
|
|
19
|
-
psycopg_binary/.dylibs/libkrb5support.1.1.dylib,sha256=euKEr11SVM6W_CpfBDC5x5QL_oqBHqHLIjugUjk1QkM,96128
|
|
20
|
-
psycopg_binary/.dylibs/libk5crypto.3.1.dylib,sha256=4v6koaWOe3mmCvFAqpZ2laeynf6yjbdo0bGY2x-2TH0,197616
|
|
File without changes
|
|
File without changes
|