xbot.plugins.pgsql 0.1.0__tar.gz → 0.1.1__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.1.0 → xbot_plugins_pgsql-0.1.1}/PKG-INFO +4 -12
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/pyproject.toml +0 -1
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/setup.py +7 -8
- xbot_plugins_pgsql-0.1.1/xbot/plugins/pgsql/version.py +5 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot.plugins.pgsql.egg-info/PKG-INFO +4 -12
- xbot_plugins_pgsql-0.1.0/xbot/plugins/pgsql/version.py +0 -5
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/LICENSE +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/README.md +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/README.zh.md +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/docs/superpowers/plans/2026-07-24-pgsql-library.md +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/docs/superpowers/specs/2026-07-24-pgsql-library-design.md +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/setup.cfg +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/tests/__init__.py +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/tests/run.py +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/tests/test_pgsql.py +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot/plugins/pgsql/__init__.py +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot/plugins/pgsql/codes.py +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot/plugins/pgsql/errors.py +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot/plugins/pgsql/pgsql.py +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot/plugins/pgsql/py.typed +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot.plugins.pgsql.egg-info/SOURCES.txt +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot.plugins.pgsql.egg-info/dependency_links.txt +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot.plugins.pgsql.egg-info/requires.txt +0 -0
- {xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/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.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: PostgreSQL library for xbot.framework
|
|
5
5
|
Author-email: zhaowcheng <zhaowcheng@163.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -21,14 +21,10 @@ Requires-Dist: cli_helpers
|
|
|
21
21
|
Provides-Extra: dev
|
|
22
22
|
Requires-Dist: build; extra == "dev"
|
|
23
23
|
Requires-Dist: mypy; extra == "dev"
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
24
26
|
Dynamic: license-file
|
|
25
27
|
|
|
26
|
-
<p align="center">
|
|
27
|
-
<br>English | <a href="README.zh.md">中文</a>
|
|
28
|
-
</p>
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
28
|
# xbot.plugins.pgsql
|
|
33
29
|
|
|
34
30
|
PostgreSQL library for xbot.framework.
|
|
@@ -78,11 +74,7 @@ with db.transaction():
|
|
|
78
74
|
db.disconnect()
|
|
79
75
|
```
|
|
80
76
|
|
|
81
|
-
|
|
82
|
-
<br>中文 | <a href="README.md">English</a>
|
|
83
|
-
</p>
|
|
84
|
-
|
|
85
|
-
---
|
|
77
|
+
***
|
|
86
78
|
|
|
87
79
|
# xbot.plugins.pgsql
|
|
88
80
|
|
|
@@ -37,7 +37,6 @@ Homepage = "https://github.com/zhaowcheng/xbot.plugins.pgsql"
|
|
|
37
37
|
Issues = "https://github.com/zhaowcheng/xbot.plugins.pgsql/issues"
|
|
38
38
|
|
|
39
39
|
[tool.setuptools.dynamic]
|
|
40
|
-
readme = { file = ["README.md", "README.zh.md"], content-type = "text/markdown" }
|
|
41
40
|
version = { attr = "xbot.plugins.pgsql.version.__version__" }
|
|
42
41
|
|
|
43
42
|
[tool.setuptools.packages.find]
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
# Build hook: generate long_description from README files,
|
|
2
2
|
# stripping language-switcher headers.
|
|
3
3
|
# All other metadata lives in pyproject.toml.
|
|
4
|
-
import re
|
|
5
4
|
|
|
6
5
|
from setuptools import setup
|
|
7
6
|
|
|
8
7
|
|
|
9
8
|
def _build_long_description() -> str:
|
|
10
|
-
|
|
9
|
+
import re
|
|
10
|
+
parts = []
|
|
11
11
|
for readme in ("README.md", "README.zh.md"):
|
|
12
|
-
if desc:
|
|
13
|
-
desc += "\n***\n\n"
|
|
14
12
|
with open(readme, encoding="utf8") as f:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
parts.append("".join(f.readlines()[6:]))
|
|
14
|
+
desc = "\n***\n\n".join(parts)
|
|
15
|
+
with open("xbot/plugins/pgsql/version.py", encoding="utf8") as f:
|
|
16
|
+
m = re.search(r"__version__[^'\"\\]+['\"]([^'\"]+)", f.read())
|
|
17
|
+
version = m.group(1) if m else "0.1.0"
|
|
19
18
|
desc = desc.replace("/tree/master/", f"/tree/v{version}/")
|
|
20
19
|
return desc
|
|
21
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xbot.plugins.pgsql
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: PostgreSQL library for xbot.framework
|
|
5
5
|
Author-email: zhaowcheng <zhaowcheng@163.com>
|
|
6
6
|
License-Expression: BSD-2-Clause
|
|
@@ -21,14 +21,10 @@ Requires-Dist: cli_helpers
|
|
|
21
21
|
Provides-Extra: dev
|
|
22
22
|
Requires-Dist: build; extra == "dev"
|
|
23
23
|
Requires-Dist: mypy; extra == "dev"
|
|
24
|
+
Dynamic: description
|
|
25
|
+
Dynamic: description-content-type
|
|
24
26
|
Dynamic: license-file
|
|
25
27
|
|
|
26
|
-
<p align="center">
|
|
27
|
-
<br>English | <a href="README.zh.md">中文</a>
|
|
28
|
-
</p>
|
|
29
|
-
|
|
30
|
-
---
|
|
31
|
-
|
|
32
28
|
# xbot.plugins.pgsql
|
|
33
29
|
|
|
34
30
|
PostgreSQL library for xbot.framework.
|
|
@@ -78,11 +74,7 @@ with db.transaction():
|
|
|
78
74
|
db.disconnect()
|
|
79
75
|
```
|
|
80
76
|
|
|
81
|
-
|
|
82
|
-
<br>中文 | <a href="README.md">English</a>
|
|
83
|
-
</p>
|
|
84
|
-
|
|
85
|
-
---
|
|
77
|
+
***
|
|
86
78
|
|
|
87
79
|
# xbot.plugins.pgsql
|
|
88
80
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot.plugins.pgsql.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot.plugins.pgsql.egg-info/requires.txt
RENAMED
|
File without changes
|
{xbot_plugins_pgsql-0.1.0 → xbot_plugins_pgsql-0.1.1}/xbot.plugins.pgsql.egg-info/top_level.txt
RENAMED
|
File without changes
|