database-smartools 0.0.1__py3-none-any.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.
- database_smartools/__init__.py +18 -0
- database_smartools/api/__init__.py +18 -0
- database_smartools/api/etl.py +160 -0
- database_smartools/database/__init__.py +18 -0
- database_smartools/database/dameng_extend.py +65 -0
- database_smartools/database/db_handler.py +676 -0
- database_smartools/database/mysql_extend.py +396 -0
- database_smartools/database/oceanbase_extend.py +55 -0
- database_smartools/database/oracle_extend.py +27 -0
- database_smartools/database/postgre_extend.py +396 -0
- database_smartools/main.py +86 -0
- database_smartools/module/__init__.py +18 -0
- database_smartools/module/function.py +115 -0
- database_smartools/utils/__init__.py +18 -0
- database_smartools/utils/config.py +56 -0
- database_smartools/utils/debug.py +59 -0
- database_smartools/utils/file.py +42 -0
- database_smartools/utils/http.py +74 -0
- database_smartools/utils/logger.py +237 -0
- database_smartools/utils/output.py +31 -0
- database_smartools/utils/texter.py +186 -0
- database_smartools/utils/timer.py +52 -0
- database_smartools-0.0.1.dist-info/METADATA +80 -0
- database_smartools-0.0.1.dist-info/RECORD +27 -0
- database_smartools-0.0.1.dist-info/WHEEL +5 -0
- database_smartools-0.0.1.dist-info/licenses/LICENSE +13 -0
- database_smartools-0.0.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,80 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: database-smartools
|
3
|
+
Version: 0.0.1
|
4
|
+
Summary: 数据库操作工具包
|
5
|
+
Home-page:
|
6
|
+
Author: joelz
|
7
|
+
Author-email: zhongbj_26210@163.com
|
8
|
+
Requires-Python: >=3.11
|
9
|
+
Description-Content-Type: text/markdown
|
10
|
+
License-File: LICENSE
|
11
|
+
Requires-Dist: altgraph==0.17.4
|
12
|
+
Requires-Dist: annotated-types==0.7.0
|
13
|
+
Requires-Dist: anyio==4.9.0
|
14
|
+
Requires-Dist: click==8.1.8
|
15
|
+
Requires-Dist: colorama==0.4.6
|
16
|
+
Requires-Dist: oracledb==3.0.0
|
17
|
+
Requires-Dist: DBUtils==3.0.0
|
18
|
+
Requires-Dist: dmPython==2.5.8
|
19
|
+
Requires-Dist: fastapi==0.115.12
|
20
|
+
Requires-Dist: greenlet==3.2.1
|
21
|
+
Requires-Dist: h11==0.16.0
|
22
|
+
Requires-Dist: idna==3.10
|
23
|
+
Requires-Dist: mysql-connector-python==8.4.0
|
24
|
+
Requires-Dist: numpy==2.0.0
|
25
|
+
Requires-Dist: packaging==25.0
|
26
|
+
Requires-Dist: pandas==2.2.3
|
27
|
+
Requires-Dist: pefile==2023.2.7
|
28
|
+
Requires-Dist: psycopg2-binary==2.9.8
|
29
|
+
Requires-Dist: pydantic==2.11.3
|
30
|
+
Requires-Dist: pydantic_core==2.33.1
|
31
|
+
Requires-Dist: pyinstaller==6.14.0
|
32
|
+
Requires-Dist: pyinstaller-hooks-contrib==2025.4
|
33
|
+
Requires-Dist: python-dateutil==2.9.0.post0
|
34
|
+
Requires-Dist: pytz==2025.2
|
35
|
+
Requires-Dist: pywin32-ctypes==0.2.3
|
36
|
+
Requires-Dist: six==1.17.0
|
37
|
+
Requires-Dist: sniffio==1.3.1
|
38
|
+
Requires-Dist: SQLAlchemy==2.0.40
|
39
|
+
Requires-Dist: starlette==0.46.2
|
40
|
+
Requires-Dist: typing-inspection==0.4.0
|
41
|
+
Requires-Dist: typing_extensions==4.13.2
|
42
|
+
Requires-Dist: tzdata==2025.2
|
43
|
+
Requires-Dist: uvicorn==0.34.2
|
44
|
+
Requires-Dist: JayDeBeApi==1.2.3
|
45
|
+
Requires-Dist: jpype1>=1.5.2
|
46
|
+
Dynamic: author
|
47
|
+
Dynamic: author-email
|
48
|
+
Dynamic: description
|
49
|
+
Dynamic: description-content-type
|
50
|
+
Dynamic: license-file
|
51
|
+
Dynamic: requires-dist
|
52
|
+
Dynamic: requires-python
|
53
|
+
Dynamic: summary
|
54
|
+
|
55
|
+
# python-main
|
56
|
+
|
57
|
+
#### 介绍
|
58
|
+
python web服务,api - module - model - db
|
59
|
+
|
60
|
+
/logRefresh:是日志配置初始化接口(开发调试用的)
|
61
|
+
/configRefresh:是配置文件初始化接口,修改了项目下的conf.ini后可以调用这个接口刷新
|
62
|
+
/etl/functionCall:调用etl脚本主入口
|
63
|
+
/etl/dbpool/refresh:修改数据库链接后,用于刷新数据库连接池
|
64
|
+
/etl/lo
|
65
|
+
|
66
|
+
#### 软件架构
|
67
|
+
软件架构说明
|
68
|
+
目录结构参照项目目录下的Readme.txt
|
69
|
+
|
70
|
+
|
71
|
+
#### 安装教程
|
72
|
+
进入到项目主目录下
|
73
|
+
1. 安装Python 3.10.16
|
74
|
+
2. pip install -r requirement.txt
|
75
|
+
|
76
|
+
|
77
|
+
#### 使用说明
|
78
|
+
1. 运行服务器,python main.py [可选参数:dev/pro,分别为开发环境和产品环境,默认dev],对应配置信息在conf.ini中
|
79
|
+
2. 控制台会输出对应的Swagger UI界面,可在该页面上调试api
|
80
|
+

|
@@ -0,0 +1,27 @@
|
|
1
|
+
database_smartools/__init__.py,sha256=I6HQXHD3UG-_beIYjsJ_l4pD6hUrNzo9HXuIRb6qT8g,393
|
2
|
+
database_smartools/main.py,sha256=5hd-iQgl7t3nCJmem97HI9AGVDxikcI61vgu9g06j3A,2725
|
3
|
+
database_smartools/api/__init__.py,sha256=I6HQXHD3UG-_beIYjsJ_l4pD6hUrNzo9HXuIRb6qT8g,393
|
4
|
+
database_smartools/api/etl.py,sha256=jcruwZcCLr6zDFp9z20xC5HfMnVDoE97yBNIrxK8gXs,6002
|
5
|
+
database_smartools/database/__init__.py,sha256=I6HQXHD3UG-_beIYjsJ_l4pD6hUrNzo9HXuIRb6qT8g,393
|
6
|
+
database_smartools/database/dameng_extend.py,sha256=WlgRKamGUTHE5xWUxkTXJZePoENBIyK8klhWR0h-egs,2800
|
7
|
+
database_smartools/database/db_handler.py,sha256=m5IttdhJqgSt5UloYTwnk3OI0huiOkRtp7dI7iPkpIE,25414
|
8
|
+
database_smartools/database/mysql_extend.py,sha256=5AmFnrSwljV0Yo76w3c1QmwJsQtlk5Fe6DfXpZYW36o,12569
|
9
|
+
database_smartools/database/oceanbase_extend.py,sha256=B44TjQ1qlq17DLgwt2WxOSZtGNXU-jvlh23k83muc_Q,1764
|
10
|
+
database_smartools/database/oracle_extend.py,sha256=AxKESGoqdDxHoPRrIz1cbQgWf3Y32DrMCwu6xS7G7wU,870
|
11
|
+
database_smartools/database/postgre_extend.py,sha256=LBG3cOnQWLxbiRdRO-r8u8K6d2A30gXyDplrciaptmc,12571
|
12
|
+
database_smartools/module/__init__.py,sha256=I6HQXHD3UG-_beIYjsJ_l4pD6hUrNzo9HXuIRb6qT8g,393
|
13
|
+
database_smartools/module/function.py,sha256=fSMVzGUOQdfNlWvkUAUEgaWU1MQGrtS-c3Ej9SNCVSI,4178
|
14
|
+
database_smartools/utils/__init__.py,sha256=I6HQXHD3UG-_beIYjsJ_l4pD6hUrNzo9HXuIRb6qT8g,393
|
15
|
+
database_smartools/utils/config.py,sha256=VIJYuF3cbfPssgXipqW752SiJhBnWyBOZPQkRKL57M4,1557
|
16
|
+
database_smartools/utils/debug.py,sha256=8V9Q77oMawMc_HKUXzUTV0yznkz3W7HjDbm1TBwHFnw,1951
|
17
|
+
database_smartools/utils/file.py,sha256=mxJRnQWZDvMy5Ze_br-cpsw0e4jRlbrFjRoGsJVv6IE,1069
|
18
|
+
database_smartools/utils/http.py,sha256=Q1K5_Mah-Tw8IqpaLv3AZFPN08x570EHHDk-fLHFbUQ,2240
|
19
|
+
database_smartools/utils/logger.py,sha256=21QqGPjnn5GvO7ORuFbnwBYc3Yv-Blhy-fidBZmmoAE,9337
|
20
|
+
database_smartools/utils/output.py,sha256=PWSGZi2AY2ii0aSQCngggtRrrxKQRnYPIsj1kV6IWGk,832
|
21
|
+
database_smartools/utils/texter.py,sha256=3XQzkT2fN0_Nz6eBu4HKOeYZQjtr-2lUZvNHXiTqlus,6642
|
22
|
+
database_smartools/utils/timer.py,sha256=lTS0cCNybamyxrnuVEPvXEs3UClRXrFHTDBbjSsnV6Y,1330
|
23
|
+
database_smartools-0.0.1.dist-info/licenses/LICENSE,sha256=TAl-eTNT5gFLQaorJQu9wUaqXooawK9_gpmX5iT604k,616
|
24
|
+
database_smartools-0.0.1.dist-info/METADATA,sha256=9VG3XCCor_Z4yTPP3HjfYiO0YYJ6KrnQPU2eBhYRf4I,2538
|
25
|
+
database_smartools-0.0.1.dist-info/WHEEL,sha256=ck4Vq1_RXyvS4Jt6SI0Vz6fyVs4GWg7AINwpsaGEgPE,91
|
26
|
+
database_smartools-0.0.1.dist-info/top_level.txt,sha256=VZCi1ZpGK_qI9iFf27gwZxjalEGJIYXvHSatW3Llg4M,19
|
27
|
+
database_smartools-0.0.1.dist-info/RECORD,,
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Copyright:2025-2035, 深圳市赢和信息技术有限公司. All rights Reserved.
|
2
|
+
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
you may not use this file except in compliance with the License.
|
5
|
+
You may obtain a copy of the License at
|
6
|
+
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
See the License for the specific language governing permissions and
|
13
|
+
limitations under the License.
|
@@ -0,0 +1 @@
|
|
1
|
+
database_smartools
|