xbot.plugins.pgsql 0.2.1__tar.gz → 1.0.0__tar.gz
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.
- {xbot_plugins_pgsql-0.2.1/xbot.plugins.pgsql.egg-info → xbot_plugins_pgsql-1.0.0}/PKG-INFO +4 -4
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/pyproject.toml +1 -1
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/tests/test_pgsql.py +4 -0
- xbot_plugins_pgsql-1.0.0/xbot/plugins/pgsql/version.py +5 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0/xbot.plugins.pgsql.egg-info}/PKG-INFO +4 -4
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/SOURCES.txt +0 -2
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/requires.txt +1 -1
- xbot_plugins_pgsql-0.2.1/docs/superpowers/plans/2026-07-24-pgsql-library.md +0 -1871
- xbot_plugins_pgsql-0.2.1/docs/superpowers/specs/2026-07-24-pgsql-library-design.md +0 -433
- xbot_plugins_pgsql-0.2.1/xbot/plugins/pgsql/version.py +0 -5
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/LICENSE +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/README.md +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/README.zh.md +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/setup.cfg +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/setup.py +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/tests/__init__.py +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/tests/run.py +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/__init__.py +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/codes.py +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/errors.py +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/pgsql.py +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot/plugins/pgsql/py.typed +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/dependency_links.txt +0 -0
- {xbot_plugins_pgsql-0.2.1 → xbot_plugins_pgsql-1.0.0}/xbot.plugins.pgsql.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xbot.plugins.pgsql
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: PostgreSQL library for xbot.framework
|
|
5
5
|
Author-email: zhaowcheng <zhaowcheng@163.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: xbot.framework
|
|
18
|
+
Requires-Dist: xbot.framework<2,>=1
|
|
19
19
|
Requires-Dist: psycopg[binary]<4,>=3
|
|
20
20
|
Requires-Dist: cli_helpers
|
|
21
21
|
Provides-Extra: dev
|
|
@@ -76,7 +76,7 @@ db.disconnect()
|
|
|
76
76
|
|
|
77
77
|
## Demo Project
|
|
78
78
|
|
|
79
|
-
Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/
|
|
79
|
+
Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo) project showing how to use `xbot.plugins.pgsql` in a test project.
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -131,4 +131,4 @@ db.disconnect()
|
|
|
131
131
|
|
|
132
132
|
## 示例项目
|
|
133
133
|
|
|
134
|
-
展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/
|
|
134
|
+
展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo)
|
|
@@ -234,6 +234,10 @@ class TestPGSQLConnection(unittest.TestCase):
|
|
|
234
234
|
self.assertEqual(PGCodes.SUCCESSFUL_COMPLETION.value, '00000')
|
|
235
235
|
|
|
236
236
|
def test_connect_log_does_not_contain_password(self) -> None:
|
|
237
|
+
if not self.PASSWORD:
|
|
238
|
+
self.skipTest(
|
|
239
|
+
'Empty password would make the leak assertion vacuous.'
|
|
240
|
+
)
|
|
237
241
|
connection = PGSQLConnection()
|
|
238
242
|
with patch.object(connection._logger, 'info') as info:
|
|
239
243
|
connection.connect(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xbot.plugins.pgsql
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 1.0.0
|
|
4
4
|
Summary: PostgreSQL library for xbot.framework
|
|
5
5
|
Author-email: zhaowcheng <zhaowcheng@163.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.13
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: xbot.framework
|
|
18
|
+
Requires-Dist: xbot.framework<2,>=1
|
|
19
19
|
Requires-Dist: psycopg[binary]<4,>=3
|
|
20
20
|
Requires-Dist: cli_helpers
|
|
21
21
|
Provides-Extra: dev
|
|
@@ -76,7 +76,7 @@ db.disconnect()
|
|
|
76
76
|
|
|
77
77
|
## Demo Project
|
|
78
78
|
|
|
79
|
-
Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/
|
|
79
|
+
Here is a [demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo) project showing how to use `xbot.plugins.pgsql` in a test project.
|
|
80
80
|
|
|
81
81
|
***
|
|
82
82
|
|
|
@@ -131,4 +131,4 @@ db.disconnect()
|
|
|
131
131
|
|
|
132
132
|
## 示例项目
|
|
133
133
|
|
|
134
|
-
展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/
|
|
134
|
+
展示如何在一个测试项目中使用本插件的示例:[demo](https://github.com/zhaowcheng/xbot.plugins.pgsql/tree/v1.0.0/demo)
|