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.0.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.0.tar.gz.
File metadata
- Download URL: wkmysql-1.1.0.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 |
e2a15fc5396e316c75ed12882707f6810163a64d60d1f7b057bdba53686e084f
|
|
| MD5 |
edb15c934a22e4290f732423d2c908fa
|
|
| BLAKE2b-256 |
ac8abf9422fb5c0047c4f74b9de72b52ed57d34b360afe1c397b09d5c2f960af
|
File details
Details for the file WkMysql-1.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: WkMysql-1.1.0-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 |
07f8dfc076b004451eb60c721caec418a4f83c22deda75b66d0e307789858c9b
|
|
| MD5 |
9fbdfd05edd153ed7b35af9c3bc60a33
|
|
| BLAKE2b-256 |
29a74a648dc00935983f5cdf0f41935c5139a523b21636fee2ceeda4c49b89f6
|