The secondary encapsulation of pymysql provides a more user-friendly interface and thread pool, and will support SQLite in the future.
Project description
线程池下面的优化目标:
- 当线程池中的线程为空时,检查已经创建的线程数量,如果没有超过最大线程数量,则创建新的线程;
- 当线程池中的线程数超过最大线程数量时,阻塞线程,等待空闲的线程;
- 线程池中的线程空闲超过一定时间,则销毁线程,减少资源占用;但是不得低于最小线程数量;
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wkmysql-1.1.1.tar.gz
(19.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wkmysql-1.1.1.tar.gz.
File metadata
- Download URL: wkmysql-1.1.1.tar.gz
- Upload date:
- Size: 19.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8de0ebcace1423a04d6da120a29bb14f56ebed6801b90649a7a096f24bb60c1e
|
|
| MD5 |
b0555ec35408c293389960dbc7e1ee8f
|
|
| BLAKE2b-256 |
499c504f3a1d1369b4471db65ed87ba415d0cebc241adba3c265d2b9b6c6eb2a
|
File details
Details for the file WkMysql-1.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: WkMysql-1.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd35d6ef2a9a2974c9187f1344d5cbdcaf0ac32b57fb0a67b22e789f10f99207
|
|
| MD5 |
d69c71cc0308a904b236ecad574e4487
|
|
| BLAKE2b-256 |
841b77aff6843b4547adc54d9205fa7bdb0b75b0bbbeb1c781fbd068b696fb37
|