PyGreSQL 6.1.0__cp313-cp313-win32.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.
@@ -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-2024 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,112 @@
1
+ Metadata-Version: 2.1
2
+ Name: PyGreSQL
3
+ Version: 6.1.0
4
+ Summary: Python PostgreSQL interfaces
5
+ Home-page: https://pygresql.github.io/
6
+ Download-URL: https://pygresql.github.io/download/
7
+ Author: D'Arcy J. M. Cain
8
+ Author-email: "D'Arcy J. M. Cain" <darcy@pygresql.org>, Christoph Zwerschke <cito@online.de>
9
+ License: Written by D'Arcy J.M. Cain (darcy@PyGreSQL.org)
10
+
11
+ Based heavily on code written by Pascal Andre (andre@chimay.via.ecp.fr)
12
+
13
+ Copyright (c) 1995, Pascal Andre
14
+
15
+ Further modifications copyright (c) 1997-2008 by D'Arcy J.M. Cain
16
+
17
+ Further modifications copyright (c) 2009-2024 by the PyGreSQL Development Team
18
+
19
+ PyGreSQL is released under the PostgreSQL License, a liberal Open Source
20
+ license, similar to the BSD or MIT licenses:
21
+
22
+ Permission to use, copy, modify, and distribute this software and its
23
+ documentation for any purpose, without fee, and without a written agreement
24
+ is hereby granted, provided that the above copyright notice and this
25
+ paragraph and the following two paragraphs appear in all copies. In
26
+ this license the term "AUTHORS" refers to anyone who has contributed code
27
+ to PyGreSQL.
28
+
29
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
30
+ SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS,
31
+ ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF
32
+ AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33
+
34
+ THE AUTHORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED
35
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
36
+ PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE
37
+ AUTHORS HAVE NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES,
38
+ ENHANCEMENTS, OR MODIFICATIONS.
39
+
40
+ Project-URL: Homepage, https://pygresql.github.io/
41
+ Project-URL: Documentation, https://pygresql.github.io/contents/
42
+ Project-URL: Source Code, https://github.com/PyGreSQL/PyGreSQL
43
+ Project-URL: Issue Tracker, https://github.com/PyGreSQL/PyGreSQL/issues/
44
+ Project-URL: Changelog, https://pygresql.github.io/contents/changelog.html
45
+ Project-URL: Download, https://pygresql.github.io/download/
46
+ Project-URL: Mailing List, https://mail.vex.net/mailman/listinfo/pygresql
47
+ Keywords: pygresql,postgresql,database,api,dbapi
48
+ Classifier: Development Status :: 6 - Mature
49
+ Classifier: Intended Audience :: Developers
50
+ Classifier: License :: OSI Approved :: PostgreSQL License
51
+ Classifier: Operating System :: OS Independent
52
+ Classifier: Programming Language :: C
53
+ Classifier: Programming Language :: Python
54
+ Classifier: Programming Language :: Python :: 3
55
+ Classifier: Programming Language :: Python :: 3.7
56
+ Classifier: Programming Language :: Python :: 3.8
57
+ Classifier: Programming Language :: Python :: 3.9
58
+ Classifier: Programming Language :: Python :: 3.10
59
+ Classifier: Programming Language :: Python :: 3.11
60
+ Classifier: Programming Language :: Python :: 3.12
61
+ Classifier: Programming Language :: Python :: 3.13
62
+ Classifier: Programming Language :: SQL
63
+ Classifier: Topic :: Database
64
+ Classifier: Topic :: Database :: Front-Ends
65
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
66
+ Requires-Python: >=3.7
67
+ Description-Content-Type: text/x-rst
68
+ License-File: LICENSE.txt
69
+
70
+ PyGreSQL - Python interface for PostgreSQL
71
+ ==========================================
72
+
73
+ PyGreSQL is a Python module that interfaces to a PostgreSQL database.
74
+ It wraps the lower level C API library libpq to allow easy use of the
75
+ powerful PostgreSQL features from Python.
76
+
77
+ PyGreSQL should run on most platforms where PostgreSQL and Python is running.
78
+ It is based on the PyGres95 code written by Pascal Andre.
79
+ D'Arcy J. M. Cain renamed it to PyGreSQL starting with version 2.0
80
+ and serves as the "BDFL" of PyGreSQL.
81
+ Christoph Zwerschke volunteered as another maintainer and has been the main
82
+ contributor since version 3.7 of PyGreSQL.
83
+
84
+ The following Python versions are supported:
85
+
86
+ * PyGreSQL 4.x and earlier: Python 2 only
87
+ * PyGreSQL 5.x: Python 2 and Python 3
88
+ * PyGreSQL 6.x and newer: Python 3 only
89
+
90
+ The current version of PyGreSQL supports Python versions 3.7 to 3.13
91
+ and PostgreSQL versions 10 to 17 on the server.
92
+
93
+ Installation
94
+ ------------
95
+
96
+ The simplest way to install PyGreSQL is to type::
97
+
98
+ $ pip install PyGreSQL
99
+
100
+ For other ways of installing PyGreSQL and requirements,
101
+ see the documentation.
102
+
103
+ Note that PyGreSQL also requires the libpq shared library to be
104
+ installed and accessible on the client machine.
105
+
106
+ Documentation
107
+ -------------
108
+
109
+ The documentation is available at
110
+ `pygresql.github.io/ <http://pygresql.github.io/>`_ and at
111
+ `pygresql.readthedocs.io <https://pygresql.readthedocs.io/>`_,
112
+ where you can also find the documentation for older versions.
@@ -0,0 +1,27 @@
1
+ pg/__init__.py,sha256=oATweQfJz2vIsq4B9iTt7UBX-Bj20lEIfG1ccwMVz2w,3802
2
+ pg/_pg.cp313-win32.pyd,sha256=OVyH6DU7IKODiVJyiPNdh07aL5tWOlF2T6BQC3krlJk,81920
3
+ pg/_pg.pyi,sha256=rgnCpTypBDTwjQ27xTy8UodFYDmG2IxHyByrKhgApxk,16678
4
+ pg/adapt.py,sha256=AVWivmluzOhx3wCBDNFsDXBszm7FthZjE7WGUW8Ppxo,23738
5
+ pg/attrs.py,sha256=Vctl2DLbvjqoow3UW69LNM7NOL8_Ki1UzfH1u1aS2VI,1094
6
+ pg/cast.py,sha256=Sf5-VREbydAXFtyKFYtqE-s3mVioW6MxyifjGGwDjds,15174
7
+ pg/core.py,sha256=tpuxCB4UfYhNpnkPosrbdL7gG_Yo0BaN9hEYBhmsQhY,3856
8
+ pg/db.py,sha256=UP4T2XWlO21MpRNaDEk9-5nH5PcNzobw4xwdaI1rhyM,62767
9
+ pg/error.py,sha256=viyVbnfpkj4NEyX5rO4sa7khq1AhxyFjdOCeVFEf-bc,1183
10
+ pg/helpers.py,sha256=EZQyVVkSWYlaKl110YkDhzE0ai5wrafkVkJ5mjTnkk0,3752
11
+ pg/notify.py,sha256=7p8GKAH1_XhbSFsO2d6Tq87TMs-4I8QnW6H7DNJiX3k,5717
12
+ pg/py.typed,sha256=ZER5Nnvi4HkHk1b83RamqWtrEUSNwFlDMKG1Q1cwSgw,125
13
+ pg/tz.py,sha256=6KtNefjNSdrwvyOJB9UnfTfGZKSov-TinFyMI3VPv9w,615
14
+ pgdb/__init__.py,sha256=gbmDNBCGPOGoaGRJZ_yOwSlv4_Uq7w8OWcCDTta22eo,3983
15
+ pgdb/adapt.py,sha256=tErNxEMTVUJ45Sb1pgeOtw5prh4V3mz2-i3ss19WbcU,7449
16
+ pgdb/cast.py,sha256=IkGnDdGTwYt_p35vObyaayAIs3RpTl5erZJlq_g91cI,20669
17
+ pgdb/connect.py,sha256=pA5Yk4eLassyQdyAspADxIt1nYmBKD2_tn42wTZHXnc,2140
18
+ pgdb/connection.py,sha256=848mWfrqcDQ07EegSzKtBHpMaOf5pspCGPp_sQn8R28,5077
19
+ pgdb/constants.py,sha256=OMAsDQScUwLXAd-XIiPwrzi5dmDSCpQ5USo4YYrz0Bw,353
20
+ pgdb/cursor.py,sha256=D9wL8xf2NJFcRoXFZoe6PqrRwKmMGTqQoO-hF_ANxtc,25696
21
+ pgdb/py.typed,sha256=2VeIS_W_dgx4dmHL3LVNCsDV0KvLdl_bgGMQ5nODNJc,63
22
+ pgdb/typecode.py,sha256=iM0JQ4iEJR5B5vIC80ngFTPDVJmfYu1C_aXl65Ec6hA,844
23
+ PyGreSQL-6.1.0.dist-info/LICENSE.txt,sha256=izbFsyt0XC9yhALPs6xYJTHRwC3N2W4q3w8yNWZVJz0,1402
24
+ PyGreSQL-6.1.0.dist-info/METADATA,sha256=54x-CiuZ5PJGnIBoWaNV_gXmDh2bZNAIFADD8jn_TXE,4987
25
+ PyGreSQL-6.1.0.dist-info/WHEEL,sha256=pUXSsnGWJ09R6rv65E7mPoM8rWovBqrkySmEuK3ly_A,97
26
+ PyGreSQL-6.1.0.dist-info/top_level.txt,sha256=TUG46FTS3XpKk5tKxB7G77EiAfbZp1Pn_ecovpRSEDA,8
27
+ PyGreSQL-6.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (75.6.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp313-cp313-win32
5
+
@@ -0,0 +1,2 @@
1
+ pg
2
+ pgdb
pg/__init__.py ADDED
@@ -0,0 +1,186 @@
1
+ #!/usr/bin/python
2
+ #
3
+ # PyGreSQL - a Python interface for the PostgreSQL database.
4
+ #
5
+ # This file contains the classic pg module.
6
+ #
7
+ # Copyright (c) 2024 by the PyGreSQL Development Team
8
+ #
9
+ # The notification handler is based on pgnotify which is
10
+ # Copyright (c) 2001 Ng Pheng Siong. All rights reserved.
11
+ #
12
+ # Please see the LICENSE.TXT file for specific restrictions.
13
+
14
+ """PyGreSQL classic interface.
15
+
16
+ This pg module implements some basic database management stuff.
17
+ It includes the _pg module and builds on it, providing the higher
18
+ level wrapper class named DB with additional functionality.
19
+ This is known as the "classic" ("old style") PyGreSQL interface.
20
+ For a DB-API 2 compliant interface use the newer pgdb module.
21
+ """
22
+
23
+ from __future__ import annotations
24
+
25
+ from .adapt import Adapter, Bytea, Hstore, Json, Literal
26
+ from .cast import Typecasts, get_typecast, set_typecast
27
+ from .core import (
28
+ INV_READ,
29
+ INV_WRITE,
30
+ POLLING_FAILED,
31
+ POLLING_OK,
32
+ POLLING_READING,
33
+ POLLING_WRITING,
34
+ RESULT_DDL,
35
+ RESULT_DML,
36
+ RESULT_DQL,
37
+ RESULT_EMPTY,
38
+ SEEK_CUR,
39
+ SEEK_END,
40
+ SEEK_SET,
41
+ TRANS_ACTIVE,
42
+ TRANS_IDLE,
43
+ TRANS_INERROR,
44
+ TRANS_INTRANS,
45
+ TRANS_UNKNOWN,
46
+ Connection,
47
+ DatabaseError,
48
+ DataError,
49
+ Error,
50
+ IntegrityError,
51
+ InterfaceError,
52
+ InternalError,
53
+ InvalidResultError,
54
+ MultipleResultsError,
55
+ NoResultError,
56
+ NotSupportedError,
57
+ OperationalError,
58
+ ProgrammingError,
59
+ Query,
60
+ Warning,
61
+ cast_array,
62
+ cast_hstore,
63
+ cast_record,
64
+ connect,
65
+ escape_bytea,
66
+ escape_string,
67
+ get_array,
68
+ get_bool,
69
+ get_bytea_escaped,
70
+ get_datestyle,
71
+ get_decimal,
72
+ get_decimal_point,
73
+ get_defbase,
74
+ get_defhost,
75
+ get_defopt,
76
+ get_defport,
77
+ get_defuser,
78
+ get_jsondecode,
79
+ get_pqlib_version,
80
+ set_array,
81
+ set_bool,
82
+ set_bytea_escaped,
83
+ set_datestyle,
84
+ set_decimal,
85
+ set_decimal_point,
86
+ set_defbase,
87
+ set_defhost,
88
+ set_defopt,
89
+ set_defpasswd,
90
+ set_defport,
91
+ set_defuser,
92
+ set_jsondecode,
93
+ set_query_helpers,
94
+ unescape_bytea,
95
+ version,
96
+ )
97
+ from .db import DB
98
+ from .helpers import RowCache, init_core
99
+ from .notify import NotificationHandler
100
+
101
+ __all__ = [
102
+ 'DB',
103
+ 'INV_READ',
104
+ 'INV_WRITE',
105
+ 'POLLING_FAILED',
106
+ 'POLLING_OK',
107
+ 'POLLING_READING',
108
+ 'POLLING_WRITING',
109
+ 'RESULT_DDL',
110
+ 'RESULT_DML',
111
+ 'RESULT_DQL',
112
+ 'RESULT_EMPTY',
113
+ 'SEEK_CUR',
114
+ 'SEEK_END',
115
+ 'SEEK_SET',
116
+ 'TRANS_ACTIVE',
117
+ 'TRANS_IDLE',
118
+ 'TRANS_INERROR',
119
+ 'TRANS_INTRANS',
120
+ 'TRANS_UNKNOWN',
121
+ 'Adapter',
122
+ 'Bytea',
123
+ 'Connection',
124
+ 'DataError',
125
+ 'DatabaseError',
126
+ 'Error',
127
+ 'Hstore',
128
+ 'IntegrityError',
129
+ 'InterfaceError',
130
+ 'InternalError',
131
+ 'InvalidResultError',
132
+ 'Json',
133
+ 'Literal',
134
+ 'MultipleResultsError',
135
+ 'NoResultError',
136
+ 'NotSupportedError',
137
+ 'NotificationHandler',
138
+ 'OperationalError',
139
+ 'ProgrammingError',
140
+ 'Query',
141
+ 'RowCache',
142
+ 'Typecasts',
143
+ 'Warning',
144
+ '__version__',
145
+ 'cast_array',
146
+ 'cast_hstore',
147
+ 'cast_record',
148
+ 'connect',
149
+ 'escape_bytea',
150
+ 'escape_string',
151
+ 'get_array',
152
+ 'get_bool',
153
+ 'get_bytea_escaped',
154
+ 'get_datestyle',
155
+ 'get_decimal',
156
+ 'get_decimal_point',
157
+ 'get_defbase',
158
+ 'get_defhost',
159
+ 'get_defopt',
160
+ 'get_defport',
161
+ 'get_defuser',
162
+ 'get_jsondecode',
163
+ 'get_pqlib_version',
164
+ 'get_typecast',
165
+ 'set_array',
166
+ 'set_bool',
167
+ 'set_bytea_escaped',
168
+ 'set_datestyle',
169
+ 'set_decimal',
170
+ 'set_decimal_point',
171
+ 'set_defbase',
172
+ 'set_defhost',
173
+ 'set_defopt',
174
+ 'set_defpasswd',
175
+ 'set_defport',
176
+ 'set_defuser',
177
+ 'set_jsondecode',
178
+ 'set_query_helpers',
179
+ 'set_typecast',
180
+ 'unescape_bytea',
181
+ 'version',
182
+ ]
183
+
184
+ __version__ = version
185
+
186
+ init_core()
pg/_pg.cp313-win32.pyd ADDED
Binary file