PyGreSQL 6.3.0b1__cp315-cp315-win_amd64.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.
pgdb/py.typed ADDED
@@ -0,0 +1 @@
1
+ # Marker file for PEP 561. The pgdb package uses inline types.
pgdb/typecode.py ADDED
@@ -0,0 +1,40 @@
1
+ """Support for DB API 2 type codes."""
2
+
3
+ from __future__ import annotations
4
+
5
+ __all__ = ['TypeCode']
6
+
7
+
8
+ class TypeCode(str):
9
+ """Class representing the type_code used by the DB-API 2.0.
10
+
11
+ TypeCode objects are strings equal to the PostgreSQL type name,
12
+ but carry some additional information.
13
+ """
14
+
15
+ oid: int
16
+ len: int
17
+ type: str
18
+ category: str
19
+ delim: str
20
+ relid: int
21
+ base: TypeCode | None = None
22
+ elem: int = 0
23
+ _elem_type: str = '' # the type of the element type (for comparisons)
24
+
25
+ # noinspection PyShadowingBuiltins
26
+ @classmethod
27
+ def create(cls, oid: int, name: str, len: int, type: str, category: str,
28
+ delim: str, relid: int, base: TypeCode | None = None,
29
+ elem: int = 0) -> TypeCode:
30
+ """Create a type code for a PostgreSQL data type."""
31
+ self = cls(name)
32
+ self.oid = oid
33
+ self.len = len
34
+ self.type = type
35
+ self.category = category
36
+ self.delim = delim
37
+ self.relid = relid
38
+ self.base = base
39
+ self.elem = elem
40
+ return self
@@ -0,0 +1,81 @@
1
+ Metadata-Version: 2.4
2
+ Name: PyGreSQL
3
+ Version: 6.3.0b1
4
+ Summary: Python PostgreSQL interfaces
5
+ Author-email: "D'Arcy J.M. Cain" <darcy@pygresql.org>, Christoph Zwerschke <cito@online.de>
6
+ License-Expression: PostgreSQL
7
+ Project-URL: Homepage, https://pygresql.github.io/
8
+ Project-URL: Documentation, https://pygresql.github.io/contents/
9
+ Project-URL: Source Code, https://github.com/PyGreSQL/PyGreSQL
10
+ Project-URL: Issue Tracker, https://github.com/PyGreSQL/PyGreSQL/issues/
11
+ Project-URL: Changelog, https://pygresql.github.io/contents/changelog.html
12
+ Project-URL: Download, https://pygresql.github.io/download/
13
+ Project-URL: Mailing List, https://mail.vex.net/mailman/listinfo/pygresql
14
+ Keywords: pygresql,postgresql,database,api,dbapi
15
+ Classifier: Development Status :: 6 - Mature
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: C
19
+ Classifier: Programming Language :: Python
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Programming Language :: Python :: 3.14
26
+ Classifier: Programming Language :: Python :: 3.15
27
+ Classifier: Programming Language :: SQL
28
+ Classifier: Topic :: Database
29
+ Classifier: Topic :: Database :: Front-Ends
30
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
31
+ Requires-Python: >=3.10
32
+ Description-Content-Type: text/x-rst
33
+ License-File: LICENSE.txt
34
+ Dynamic: license-file
35
+
36
+ PyGreSQL - Python interface for PostgreSQL
37
+ ==========================================
38
+
39
+ PyGreSQL is a Python module that interfaces to a PostgreSQL database.
40
+ It wraps the lower level C API library libpq to allow easy use of the
41
+ powerful PostgreSQL features from Python.
42
+
43
+ PyGreSQL should run on most platforms where PostgreSQL and Python are running.
44
+ It is based on the PyGres95 code written by Pascal Andre.
45
+ D'Arcy J.M. Cain renamed it to PyGreSQL starting with version 2.0
46
+ and serves as the "BDFL" of PyGreSQL.
47
+ Christoph Zwerschke volunteered as another maintainer and has been the main
48
+ contributor since version 3.8 of PyGreSQL.
49
+
50
+ The following Python versions are supported:
51
+
52
+ * PyGreSQL 4.x and earlier: Python 2 only
53
+ * PyGreSQL 5.x: Python 2 and Python 3
54
+ * PyGreSQL 6.x and newer: Python 3 only
55
+
56
+ The current version of PyGreSQL supports Python versions 3.10 to 3.15
57
+ and PostgreSQL versions 12 to 19 on the server.
58
+
59
+ Installation
60
+ ------------
61
+
62
+ The simplest way to install PyGreSQL is to type::
63
+
64
+ $ pip install PyGreSQL
65
+
66
+ For other ways of installing PyGreSQL and requirements,
67
+ see the documentation.
68
+
69
+ Note that PyGreSQL also requires the libpq shared library to be
70
+ installed and accessible on the client machine. Pre-compiled wheels are
71
+ currently only available for Windows. On other platforms, pip builds PyGreSQL
72
+ from the source distribution, which needs a C compiler, the Python
73
+ header files, and the libpq header files with the pg_config tool.
74
+
75
+ Documentation
76
+ -------------
77
+
78
+ The documentation is available at
79
+ `pygresql.github.io <https://pygresql.github.io/>`_ and at
80
+ `pygresql.readthedocs.io <https://pygresql.readthedocs.io/>`_,
81
+ where you can also find the documentation for older versions.
@@ -0,0 +1,27 @@
1
+ pg/__init__.py,sha256=yJstH-b49_JmCL7NygX9yC-YgJRmU6AR79Z_qWlIvSI,3922
2
+ pg/_pg.cp315-win_amd64.pyd,sha256=hjpgYj6VEnMiKHd8FySgLKZNe6TQE2w8UnnXG1DlFlI,126464
3
+ pg/_pg.pyi,sha256=7vyI0wuHCI5o6o_VC3RQJCE1tCNlR3gkM6fOFQuwAIQ,20330
4
+ pg/adapt.py,sha256=cdfULVt3jeBQDkmvSD-mp2rPCjLGXSsSQ-ntrE64lcw,39458
5
+ pg/attrs.py,sha256=i8FPezgMp60jt7Ue_bhcbsbH2AOHTaV8RuIND1Pka-U,986
6
+ pg/cast.py,sha256=qTtwLAQsKVYWpX4VDc5b6MQ75lZrLDJlamGqaaSuJRI,19030
7
+ pg/core.py,sha256=k1HTOCkVlItWvJAHZIfZlTlrh0zOPrFGwrl7_PP0lq4,3834
8
+ pg/db.py,sha256=s88VRZtJvw6aTlVJ70pHDDgk1TGjrli59xx28u3yogs,65915
9
+ pg/error.py,sha256=viyVbnfpkj4NEyX5rO4sa7khq1AhxyFjdOCeVFEf-bc,1183
10
+ pg/helpers.py,sha256=ONc_x0KHmqha1fGuZMS6cyR2YdqLuQkz02wonvzGWF8,10235
11
+ pg/notify.py,sha256=uzt-ZByKsFhOBHZGYI3gfQECma2V-iPFRti_5C7XANo,6262
12
+ pg/py.typed,sha256=ZER5Nnvi4HkHk1b83RamqWtrEUSNwFlDMKG1Q1cwSgw,125
13
+ pg/tz.py,sha256=8sbllRIb2xKLbJopT-gaeTxAaxBceQrIdPG0VNkIJ3s,616
14
+ pgdb/__init__.py,sha256=fok7n168k7yUAV2Cz-Y6OpwJAKLfIFHoTKdbvUMhlSM,3021
15
+ pgdb/adapt.py,sha256=Nb4EwZpWncQMCPSAatG0DWxp0kjaDKEJkwrKaAA6OiE,10298
16
+ pgdb/cast.py,sha256=qNfVFwpSuvVzY9KcHb4RVI5M5vV_eN1-KMs9fKbnPgA,28959
17
+ pgdb/connect.py,sha256=Uw-pHdYlkgUKlNzBBL_qFJC6e0FFIM0DonmHG2mzsBQ,2151
18
+ pgdb/connection.py,sha256=VzB9HgMHOlmOugj9VubnOq_Kymczj5trWtIYVvL2uKw,5565
19
+ pgdb/constants.py,sha256=OMAsDQScUwLXAd-XIiPwrzi5dmDSCpQ5USo4YYrz0Bw,353
20
+ pgdb/cursor.py,sha256=TiZcS_Zs_-TiGBLSb4q0hOrkat1GYC719yAsLtGQPmQ,36023
21
+ pgdb/py.typed,sha256=2VeIS_W_dgx4dmHL3LVNCsDV0KvLdl_bgGMQ5nODNJc,63
22
+ pgdb/typecode.py,sha256=ourusVoqx0K9Eoim_4WK-aaI3dAXLmy0TbgzgeRCagE,1081
23
+ pygresql-6.3.0b1.dist-info/licenses/LICENSE.txt,sha256=6rmpCttTBnwQroBOjlDZINr34pAFMh-i1jtaBgSylT8,1402
24
+ pygresql-6.3.0b1.dist-info/METADATA,sha256=KktEq2-6XrEV5VuPUalcuzWSeuKl7Nx1fLKcD3uPoow,3372
25
+ pygresql-6.3.0b1.dist-info/WHEEL,sha256=0gLwYZa0C2fhgCxWR2c8HahwUiopqonVCV0wVwEg6fE,101
26
+ pygresql-6.3.0b1.dist-info/top_level.txt,sha256=TUG46FTS3XpKk5tKxB7G77EiAfbZp1Pn_ecovpRSEDA,8
27
+ pygresql-6.3.0b1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.2.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp315-cp315-win_amd64
5
+
@@ -0,0 +1,30 @@
1
+ Written by D'Arcy J.M. Cain (darcy@pygresql.org)
2
+
3
+ Based heavily on code written by Pascal Andre (andre@chimay.via.ecp.fr)
4
+
5
+ Copyright (c) 1995, Pascal Andre
6
+
7
+ Further modifications copyright (c) 1997-2008 by D'Arcy J.M. Cain
8
+
9
+ Further modifications copyright (c) 2009-2026 by the PyGreSQL Development Team
10
+
11
+ PyGreSQL is released under the PostgreSQL License, a liberal Open Source
12
+ license, similar to the BSD or MIT licenses:
13
+
14
+ Permission to use, copy, modify, and distribute this software and its
15
+ documentation for any purpose, without fee, and without a written agreement
16
+ is hereby granted, provided that the above copyright notice and this
17
+ paragraph and the following two paragraphs appear in all copies. In
18
+ this license the term "AUTHORS" refers to anyone who has contributed code
19
+ to PyGreSQL.
20
+
21
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
22
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
23
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
24
+ AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
+
26
+ THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED
27
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
28
+ PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE
29
+ AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
30
+ ENHANCEMENTS, OR MODIFICATIONS.
@@ -0,0 +1,2 @@
1
+ pg
2
+ pgdb