Skip to main content

AsyncThread

A threading implementation for asynchronous functions.

Usage

from asyncthread import Thread


async def hello_world() -> None:
  print("Hello, World!")


thread = Thread(func=hello_world())
thread.start()
thread.join()
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()

Release files for AsyncThread 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for AsyncThread 0.0.1
File Size Uploaded
AsyncThread-0.0.1.tar.gz 2.2 kB Details

Release files / AsyncThread-0.0.1.tar.gz

Download URL AsyncThread-0.0.1.tar.gz
Size 2.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d95325a6d33d7e930efa277888dbedff91a87b9bc859e1e874d4edc31529e45c
BLAKE2b-256 checksum
How to use checksums
5e8ce59d810cc096b430d9ab0c72dddbb2309766b46c714000e4c3727d64b305
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page