lesscode-database 0.0.11__tar.gz → 0.0.13__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.
Potentially problematic release.
This version of lesscode-database might be problematic. Click here for more details.
- lesscode_database-0.0.13/.gitee/ISSUE_TEMPLATE.zh-CN.md +13 -0
- lesscode_database-0.0.13/.gitee/PULL_REQUEST_TEMPLATE.zh-CN.md +53 -0
- lesscode_database-0.0.13/.gitignore +138 -0
- lesscode_database-0.0.13/.idea/.gitignore +8 -0
- lesscode_database-0.0.13/.idea/inspectionProfiles/profiles_settings.xml +6 -0
- lesscode_database-0.0.13/.idea/lesscode_database.iml +10 -0
- lesscode_database-0.0.13/.idea/misc.xml +7 -0
- lesscode_database-0.0.13/.idea/modules.xml +8 -0
- lesscode_database-0.0.13/.idea/vcs.xml +6 -0
- lesscode_database-0.0.13/.idea/workspace.xml +410 -0
- lesscode_database-0.0.13/LICENSE +5 -0
- {lesscode_database-0.0.11/lesscode_database.egg-info → lesscode_database-0.0.13}/PKG-INFO +11 -7
- lesscode_database-0.0.11/PKG-INFO → lesscode_database-0.0.13/README.en.md +1 -24
- lesscode_database-0.0.13/demo.py +339 -0
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/lesscode_database/connect_pool.py +1 -1
- lesscode_database-0.0.13/lesscode_database/ds_helper.py +335 -0
- lesscode_database-0.0.13/lesscode_database/orm/__init__.py +0 -0
- lesscode_database-0.0.13/lesscode_database/orm/orm_exec.py +325 -0
- lesscode_database-0.0.13/lesscode_database/orm/orm_func.py +45 -0
- lesscode_database-0.0.13/lesscode_database/orm/orm_model.py +21 -0
- lesscode_database-0.0.13/lesscode_database/orm/orm_typing.py +412 -0
- lesscode_database-0.0.13/pyproject.toml +29 -0
- lesscode_database-0.0.13/uv.lock +7 -0
- lesscode_database-0.0.11/LICENSE +0 -201
- lesscode_database-0.0.11/lesscode_database/ds_helper.py +0 -137
- lesscode_database-0.0.11/lesscode_database/version.py +0 -1
- lesscode_database-0.0.11/lesscode_database.egg-info/SOURCES.txt +0 -16
- lesscode_database-0.0.11/lesscode_database.egg-info/dependency_links.txt +0 -1
- lesscode_database-0.0.11/lesscode_database.egg-info/top_level.txt +0 -1
- lesscode_database-0.0.11/setup.cfg +0 -4
- lesscode_database-0.0.11/setup.py +0 -47
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/README.md +0 -0
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/lesscode_database/__init__.py +0 -0
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/lesscode_database/connection_info.py +0 -0
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/lesscode_database/db_options.py +0 -0
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/lesscode_database/db_request.py +0 -0
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/lesscode_database/dynamic_import_package.py +0 -0
- {lesscode_database-0.0.11 → lesscode_database-0.0.13}/lesscode_database/mongo_base_model.py +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
### 一、内容说明(相关的Issue)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### 二、建议测试周期和提测地址
|
|
6
|
+
建议测试完成时间:xxxx.xx.xx
|
|
7
|
+
投产上线时间:xxxx.xx.xx
|
|
8
|
+
提测地址:CI环境/压测环境
|
|
9
|
+
测试账号:
|
|
10
|
+
|
|
11
|
+
### 三、变更内容
|
|
12
|
+
* 3.1 关联PR列表
|
|
13
|
+
|
|
14
|
+
* 3.2 数据库和部署说明
|
|
15
|
+
1. 常规更新
|
|
16
|
+
2. 重启unicorn
|
|
17
|
+
3. 重启sidekiq
|
|
18
|
+
4. 迁移任务:是否有迁移任务,没有写 "无"
|
|
19
|
+
5. rake脚本:`bundle exec xxx RAILS_ENV = production`;没有写 "无"
|
|
20
|
+
|
|
21
|
+
* 3.4 其他技术优化内容(做了什么,变更了什么)
|
|
22
|
+
- 重构了 xxxx 代码
|
|
23
|
+
- xxxx 算法优化
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
* 3.5 废弃通知(什么字段、方法弃用?)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
* 3.6 后向不兼容变更(是否有无法向后兼容的变更?)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### 四、研发自测点(自测哪些?冒烟用例全部自测?)
|
|
35
|
+
自测测试结论:
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### 五、测试关注点(需要提醒QA重点关注的、可能会忽略的地方)
|
|
39
|
+
检查点:
|
|
40
|
+
|
|
41
|
+
| 需求名称 | 是否影响xx公共模块 | 是否需要xx功能 | 需求升级是否依赖其他子产品 |
|
|
42
|
+
|------|------------|----------|---------------|
|
|
43
|
+
| xxx | 否 | 需要 | 不需要 |
|
|
44
|
+
| | | | |
|
|
45
|
+
|
|
46
|
+
接口测试:
|
|
47
|
+
|
|
48
|
+
性能测试:
|
|
49
|
+
|
|
50
|
+
并发测试:
|
|
51
|
+
|
|
52
|
+
其他:
|
|
53
|
+
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*$py.class
|
|
5
|
+
|
|
6
|
+
# C extensions
|
|
7
|
+
*.so
|
|
8
|
+
|
|
9
|
+
# Distribution / packaging
|
|
10
|
+
.Python
|
|
11
|
+
build/
|
|
12
|
+
develop-eggs/
|
|
13
|
+
dist/
|
|
14
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib/
|
|
18
|
+
lib64/
|
|
19
|
+
parts/
|
|
20
|
+
sdist/
|
|
21
|
+
var/
|
|
22
|
+
wheels/
|
|
23
|
+
share/python-wheels/
|
|
24
|
+
*.egg-info/
|
|
25
|
+
.installed.cfg
|
|
26
|
+
*.egg
|
|
27
|
+
MANIFEST
|
|
28
|
+
|
|
29
|
+
# PyInstaller
|
|
30
|
+
# Usually these files are written by a python script from a template
|
|
31
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
32
|
+
*.manifest
|
|
33
|
+
*.spec
|
|
34
|
+
|
|
35
|
+
# Installer logs
|
|
36
|
+
pip-log.txt
|
|
37
|
+
pip-delete-this-directory.txt
|
|
38
|
+
|
|
39
|
+
# Unit test / coverage reports
|
|
40
|
+
htmlcov/
|
|
41
|
+
.tox/
|
|
42
|
+
.nox/
|
|
43
|
+
.coverage
|
|
44
|
+
.coverage.*
|
|
45
|
+
.cache
|
|
46
|
+
nosetests.xml
|
|
47
|
+
coverage.xml
|
|
48
|
+
*.cover
|
|
49
|
+
*.py,cover
|
|
50
|
+
.hypothesis/
|
|
51
|
+
.pytest_cache/
|
|
52
|
+
cover/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
db.sqlite3-journal
|
|
63
|
+
|
|
64
|
+
# Flask stuff:
|
|
65
|
+
instance/
|
|
66
|
+
.webassets-cache
|
|
67
|
+
|
|
68
|
+
# Scrapy stuff:
|
|
69
|
+
.scrapy
|
|
70
|
+
|
|
71
|
+
# Sphinx documentation
|
|
72
|
+
docs/_build/
|
|
73
|
+
|
|
74
|
+
# PyBuilder
|
|
75
|
+
.pybuilder/
|
|
76
|
+
target/
|
|
77
|
+
|
|
78
|
+
# Jupyter Notebook
|
|
79
|
+
.ipynb_checkpoints
|
|
80
|
+
|
|
81
|
+
# IPython
|
|
82
|
+
profile_default/
|
|
83
|
+
ipython_config.py
|
|
84
|
+
|
|
85
|
+
# pyenv
|
|
86
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
87
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
88
|
+
# .python-version
|
|
89
|
+
|
|
90
|
+
# pipenv
|
|
91
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
92
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
93
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
94
|
+
# install all needed dependencies.
|
|
95
|
+
#Pipfile.lock
|
|
96
|
+
|
|
97
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
|
98
|
+
__pypackages__/
|
|
99
|
+
|
|
100
|
+
# Celery stuff
|
|
101
|
+
celerybeat-schedule
|
|
102
|
+
celerybeat.pid
|
|
103
|
+
|
|
104
|
+
# SageMath parsed files
|
|
105
|
+
*.sage.py
|
|
106
|
+
|
|
107
|
+
# Environments
|
|
108
|
+
.env
|
|
109
|
+
.venv
|
|
110
|
+
env/
|
|
111
|
+
venv/
|
|
112
|
+
ENV/
|
|
113
|
+
env.bak/
|
|
114
|
+
venv.bak/
|
|
115
|
+
|
|
116
|
+
# Spyder project settings
|
|
117
|
+
.spyderproject
|
|
118
|
+
.spyproject
|
|
119
|
+
|
|
120
|
+
# Rope project settings
|
|
121
|
+
.ropeproject
|
|
122
|
+
|
|
123
|
+
# mkdocs documentation
|
|
124
|
+
/site
|
|
125
|
+
|
|
126
|
+
# mypy
|
|
127
|
+
.mypy_cache/
|
|
128
|
+
.dmypy.json
|
|
129
|
+
dmypy.json
|
|
130
|
+
|
|
131
|
+
# Pyre type checker
|
|
132
|
+
.pyre/
|
|
133
|
+
|
|
134
|
+
# pytype static type analyzer
|
|
135
|
+
.pytype/
|
|
136
|
+
|
|
137
|
+
# Cython debug symbols
|
|
138
|
+
cython_debug/
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="PYTHON_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
|
6
|
+
</content>
|
|
7
|
+
<orderEntry type="jdk" jdkName="uv (lesscode_database)" jdkType="Python SDK" />
|
|
8
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
9
|
+
</component>
|
|
10
|
+
</module>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="Black">
|
|
4
|
+
<option name="sdkName" value="Python 3.7" />
|
|
5
|
+
</component>
|
|
6
|
+
<component name="ProjectRootManager" version="2" project-jdk-name="uv (lesscode_database)" project-jdk-type="Python SDK" />
|
|
7
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/lesscode_database.iml" filepath="$PROJECT_DIR$/.idea/lesscode_database.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|