AsyncThread-0.0.1
توضیحات
A threading implementation for asynchronous functions.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | AsyncThread-0.0.1 |
| نام | AsyncThread |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Geographs |
| ایمیل نویسنده | 87452561+Geographs@users.noreply.github.com |
| آدرس صفحه اصلی | https://github.com/Geographs/AsyncThread |
| آدرس اینترنتی | https://pypi.org/project/AsyncThread/ |
| مجوز | - |
<div align="center">
# AsyncThread
A threading implementation for asynchronous functions.
[](https://github.com/Geographs/OneSnipe/graphs/contributors)
[](https://github.com/Geographs/OneSnipe/network/members)
[](https://github.com/Geographs/OneSnipe/stargazers)
[](https://github.com/Geographs/OneSnipe/issues)
[](https://github.com/Geographs/OneSnipe/blob/main/LICENSE)
[](https://www.codefactor.io/repository/github/geographs/onesnipe)
[](https://lgtm.com/projects/g/Geographs/OneSnipe)
# Usage
<div align="left">
```python
from asyncthread import Thread
async def hello_world() -> None:
print("Hello, World!")
thread = Thread(func=hello_world())
thread.start()
thread.join()
```
```python
from asyncthread import Thread
async def hello_world() -> None:
print("Hello, World!")
thread = Thread(func=[hello_world() for _ in range(1000)], workers=10)
thread.start()
thread.join()
```
</div>
</div>
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl AsyncThread-0.0.1:
pip install AsyncThread-0.0.1.whl
نصب پکیج tar.gz AsyncThread-0.0.1:
pip install AsyncThread-0.0.1.tar.gz