No project description provided
Project description
TMKTThreader
How to install it
pip install tmktthreader
How to import it
from tmktthreader import Threader
How to use it
@Threader
def my_func(*args, **kwargs):
# do some stuff
pass
my_func(myargs, mykwargs="")
your function going to be a thread
the function call return a Thread from
threading. So you can .join() it
t = my_func(*args, **kwargs)
t.join()
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
tmktthreader-1.0.1.tar.gz
(5.5 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 tmktthreader-1.0.1.tar.gz.
File metadata
- Download URL: tmktthreader-1.0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fbe532e3b679cdd559d395a09eebaacfd44f3dbd7b6eebdc13a564cbb378f9e8
|
|
| MD5 |
b1611194e14c64b3e13cb0edea9c297c
|
|
| BLAKE2b-256 |
2ce6946916c8e17d33b1b35c4e0b156f21cfedf21444b4f924a3fe75124f7f24
|
File details
Details for the file tmktthreader-1.0.1-py3-none-any.whl.
File metadata
- Download URL: tmktthreader-1.0.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.3.2 CPython/3.10.6 Linux/5.15.0-1031-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d50a984ec12f470b3fd854f263103ec272b1d46741e886f8c81fc40757b43a26
|
|
| MD5 |
d940261b0493928af10b806efb866ed2
|
|
| BLAKE2b-256 |
6d573d121a13259a36efcc681d101b5de4b012c93f9f12dd57dce29173e2a2b7
|