EasyThreadings · 一个专为简单线程而设计的模块
Project description
欢迎下载EasyThreadings!
入门:如何在EasyThreads中创建线程?
from EasyThreadings import thread
@thread
def hello_thread():
print('Hello from threading!')
hello_thread()
无需更多代码,每次调用自动启动新线程
高级:如何控制线程?
from EasyThreadings import thread
from EasyThreadings.More import join
@thread(name='thread')
def hello_thread():
print('Hello from threading!')
hello_thread()
join('thread')
利用name支持,轻松控制线程
赶紧下载我们的EasyThreadings吧!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
EasyThreadings-1.0.1.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file EasyThreadings-1.0.1.tar.gz
.
File metadata
- Download URL: EasyThreadings-1.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 078c9290ead411f282e24b467fa28289ba52f47f1ae6c4f1555819a6179446b4 |
|
MD5 | fe62f43054e9d4fd6baf349caf54cfe6 |
|
BLAKE2b-256 | a72659f61f5a7e92704e47b25e0f22861c1572255a6b6b467aea892a57f55cd8 |
File details
Details for the file EasyThreadings-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: EasyThreadings-1.0.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f6cbb4d5e1acf481858a7c60b087f7372065bb8ee657c5163625d5a257cb3ef |
|
MD5 | 2554fb9d8b548631b3b722de1ac8177c |
|
BLAKE2b-256 | 540fd68b0509079221d7fac56010799956682f1e9a60536173b54cc8632ca9ea |