cxppython 0.2.3__tar.gz → 0.2.5__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.
- cxppython-0.2.5/PKG-INFO +23 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/database/mysql_singleton.py +2 -2
- cxppython-0.2.5/cxppython.egg-info/PKG-INFO +23 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython.egg-info/requires.txt +1 -1
- {cxppython-0.2.3 → cxppython-0.2.5}/setup.py +2 -2
- cxppython-0.2.3/PKG-INFO +0 -46
- cxppython-0.2.3/cxppython.egg-info/PKG-INFO +0 -46
- {cxppython-0.2.3 → cxppython-0.2.5}/LICENSE +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/README.md +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/__init__.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/bittensor/__init__.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/bittensor/synapse.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/core/__init__.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/core/config.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/main.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/__init__.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/cxplogging/__init__.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/cxplogging/console.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/cxplogging/defines.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/cxplogging/format.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/cxplogging/helpers.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/cxplogging/loggingmachine.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/cxplogging/logginsimple.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/database/__init__.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/database/mongo_singleton.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/database/mysql.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/database/redis.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython/utils/easy_imports.py +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython.egg-info/SOURCES.txt +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython.egg-info/dependency_links.txt +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/cxppython.egg-info/top_level.txt +0 -0
- {cxppython-0.2.3 → cxppython-0.2.5}/setup.cfg +0 -0
cxppython-0.2.5/PKG-INFO
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: cxppython
|
|
3
|
+
Version: 0.2.5
|
|
4
|
+
Summary: A python utils package
|
|
5
|
+
Home-page: https://github.com/yourusername/my_package
|
|
6
|
+
Author: cxp
|
|
7
|
+
Author-email: your.email@example.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
|
|
16
|
+
# cxppython
|
|
17
|
+
### install build
|
|
18
|
+
- python -m pip install --upgrade pip setuptools wheel twine
|
|
19
|
+
-
|
|
20
|
+
### build
|
|
21
|
+
- python setup.py sdist bdist_wheel
|
|
22
|
+
### upload
|
|
23
|
+
- twine upload dist/*
|
|
@@ -486,10 +486,10 @@ class MysqlDBSingleton:
|
|
|
486
486
|
with MysqlDBSingleton.get_db_connection() as connection:
|
|
487
487
|
result = connection.execute(text("SELECT 1")).scalar()
|
|
488
488
|
if result == 1:
|
|
489
|
-
cc.logging.success(f"同步数据库连接成功!
|
|
489
|
+
cc.logging.success(f"同步数据库连接成功! {MysqlDBSingleton.instance().engine.url}")
|
|
490
490
|
return True
|
|
491
491
|
except Exception as e:
|
|
492
|
-
cc.logging.error(f"同步数据库连接失败 (test_connection): {e},
|
|
492
|
+
cc.logging.error(f"同步数据库连接失败 (test_connection): {e}, {MysqlDBSingleton.instance().engine.url}", exc_info=True)
|
|
493
493
|
return False
|
|
494
494
|
|
|
495
495
|
@staticmethod
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: cxppython
|
|
3
|
+
Version: 0.2.5
|
|
4
|
+
Summary: A python utils package
|
|
5
|
+
Home-page: https://github.com/yourusername/my_package
|
|
6
|
+
Author: cxp
|
|
7
|
+
Author-email: your.email@example.com
|
|
8
|
+
License: MIT
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Requires-Python: >=3.10
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
|
|
16
|
+
# cxppython
|
|
17
|
+
### install build
|
|
18
|
+
- python -m pip install --upgrade pip setuptools wheel twine
|
|
19
|
+
-
|
|
20
|
+
### build
|
|
21
|
+
- python setup.py sdist bdist_wheel
|
|
22
|
+
### upload
|
|
23
|
+
- twine upload dist/*
|
|
@@ -4,7 +4,7 @@ with open("README.md", "r", encoding="utf-8") as f:
|
|
|
4
4
|
long_description = f.read()
|
|
5
5
|
setup(
|
|
6
6
|
name="cxppython", # 包名
|
|
7
|
-
version="0.2.
|
|
7
|
+
version="0.2.5", # 版本号
|
|
8
8
|
packages=find_packages(exclude=["tests", "tests.*"]), # 自动找到所有包
|
|
9
9
|
description="A python utils package",
|
|
10
10
|
long_description=long_description,
|
|
@@ -19,7 +19,7 @@ setup(
|
|
|
19
19
|
"requests>2.32.0,<3.0.0",
|
|
20
20
|
"colorama>=0.4.6,<0.5.0",
|
|
21
21
|
"python-statemachine>=2.1.0,<3.0.0",
|
|
22
|
-
"munch>=2.5.0
|
|
22
|
+
"munch>=2.5.0,<=4.0.0",
|
|
23
23
|
"pyyaml>=6.0.0,<7.0.0",
|
|
24
24
|
"SQLAlchemy[asyncio]>=2.0.25,<3.0.0",
|
|
25
25
|
"pydantic>=2.7.0,<3.0.0",
|
cxppython-0.2.3/PKG-INFO
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: cxppython
|
|
3
|
-
Version: 0.2.3
|
|
4
|
-
Summary: A python utils package
|
|
5
|
-
Home-page: https://github.com/yourusername/my_package
|
|
6
|
-
Author: cxp
|
|
7
|
-
Author-email: your.email@example.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Operating System :: OS Independent
|
|
12
|
-
Requires-Python: >=3.10
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
License-File: LICENSE
|
|
15
|
-
Requires-Dist: pymysql<2.0.0,>=1.1.1
|
|
16
|
-
Requires-Dist: python-dotenv<2.0.0,>=1.0.0
|
|
17
|
-
Requires-Dist: requests<3.0.0,>2.32.0
|
|
18
|
-
Requires-Dist: colorama<0.5.0,>=0.4.6
|
|
19
|
-
Requires-Dist: python-statemachine<3.0.0,>=2.1.0
|
|
20
|
-
Requires-Dist: munch<3.0.0,>=2.5.0
|
|
21
|
-
Requires-Dist: pyyaml<7.0.0,>=6.0.0
|
|
22
|
-
Requires-Dist: SQLAlchemy[asyncio]<3.0.0,>=2.0.25
|
|
23
|
-
Requires-Dist: pydantic<3.0.0,>=2.7.0
|
|
24
|
-
Requires-Dist: cryptography<45.0.0,>=43.0.1
|
|
25
|
-
Requires-Dist: pymongo<5.0.0,>=4.12.0
|
|
26
|
-
Requires-Dist: redis<7.0.0,>=6.2.0
|
|
27
|
-
Requires-Dist: aiomysql<0.3.0,>=0.2.0
|
|
28
|
-
Dynamic: author
|
|
29
|
-
Dynamic: author-email
|
|
30
|
-
Dynamic: classifier
|
|
31
|
-
Dynamic: description
|
|
32
|
-
Dynamic: description-content-type
|
|
33
|
-
Dynamic: home-page
|
|
34
|
-
Dynamic: license
|
|
35
|
-
Dynamic: requires-dist
|
|
36
|
-
Dynamic: requires-python
|
|
37
|
-
Dynamic: summary
|
|
38
|
-
|
|
39
|
-
# cxppython
|
|
40
|
-
### install build
|
|
41
|
-
- python -m pip install --upgrade pip setuptools wheel twine
|
|
42
|
-
-
|
|
43
|
-
### build
|
|
44
|
-
- python setup.py sdist bdist_wheel
|
|
45
|
-
### upload
|
|
46
|
-
- twine upload dist/*
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.2
|
|
2
|
-
Name: cxppython
|
|
3
|
-
Version: 0.2.3
|
|
4
|
-
Summary: A python utils package
|
|
5
|
-
Home-page: https://github.com/yourusername/my_package
|
|
6
|
-
Author: cxp
|
|
7
|
-
Author-email: your.email@example.com
|
|
8
|
-
License: MIT
|
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
|
10
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
-
Classifier: Operating System :: OS Independent
|
|
12
|
-
Requires-Python: >=3.10
|
|
13
|
-
Description-Content-Type: text/markdown
|
|
14
|
-
License-File: LICENSE
|
|
15
|
-
Requires-Dist: pymysql<2.0.0,>=1.1.1
|
|
16
|
-
Requires-Dist: python-dotenv<2.0.0,>=1.0.0
|
|
17
|
-
Requires-Dist: requests<3.0.0,>2.32.0
|
|
18
|
-
Requires-Dist: colorama<0.5.0,>=0.4.6
|
|
19
|
-
Requires-Dist: python-statemachine<3.0.0,>=2.1.0
|
|
20
|
-
Requires-Dist: munch<3.0.0,>=2.5.0
|
|
21
|
-
Requires-Dist: pyyaml<7.0.0,>=6.0.0
|
|
22
|
-
Requires-Dist: SQLAlchemy[asyncio]<3.0.0,>=2.0.25
|
|
23
|
-
Requires-Dist: pydantic<3.0.0,>=2.7.0
|
|
24
|
-
Requires-Dist: cryptography<45.0.0,>=43.0.1
|
|
25
|
-
Requires-Dist: pymongo<5.0.0,>=4.12.0
|
|
26
|
-
Requires-Dist: redis<7.0.0,>=6.2.0
|
|
27
|
-
Requires-Dist: aiomysql<0.3.0,>=0.2.0
|
|
28
|
-
Dynamic: author
|
|
29
|
-
Dynamic: author-email
|
|
30
|
-
Dynamic: classifier
|
|
31
|
-
Dynamic: description
|
|
32
|
-
Dynamic: description-content-type
|
|
33
|
-
Dynamic: home-page
|
|
34
|
-
Dynamic: license
|
|
35
|
-
Dynamic: requires-dist
|
|
36
|
-
Dynamic: requires-python
|
|
37
|
-
Dynamic: summary
|
|
38
|
-
|
|
39
|
-
# cxppython
|
|
40
|
-
### install build
|
|
41
|
-
- python -m pip install --upgrade pip setuptools wheel twine
|
|
42
|
-
-
|
|
43
|
-
### build
|
|
44
|
-
- python setup.py sdist bdist_wheel
|
|
45
|
-
### upload
|
|
46
|
-
- twine upload dist/*
|
|
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
|
|
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
|