advanced threading made beginner... threading library that expands upon stdlib "threading."
Project description
multithreaded
advanced threading made beginner
installation
Method one: The typical way.
Run one of these commands:
pip install multithreaded- Should work for Windows, but may not work if/Scripts/isn't on path.pip3 install multithreaded- Should work for Windows and Linux, but it may now work if/Scripts/isn't on path.py -m pip install multithreaded- Should work for every Windows installation. If it doesn't, replacepywithpythonorpython3.python3 -m pip install multithreaded- Should work for every installation (except certain Windows ones). If this doesn't work, use[py/python/python3] -m ensurepip.
Method two: The other way. Go into releases and download the latest one. Then run[your pip command] install [path to .whl file]
Method three: The dev way. Download the source code and there you go. If you don't want to edit anything, copy the/multithreadeddirectory (not the project root!) into your project directory.
quick start
Start a thread:
import multithreaded as mt
def my_function(arg1 : int, arg2 : str = "Hello, world!") :
for i in range(arg2) :
print(arg1)
thread = mt.Thread(my_function, 5, kwargs={"arg2" : "Hello, Github!"})
thread.start()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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 multithreaded-0.0.6-py3-none-any.whl.
File metadata
- Download URL: multithreaded-0.0.6-py3-none-any.whl
- Upload date:
- Size: 10.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca9cfb68fd0ee428d74eaf74219e6c6b53016602a5921bfe9dce49c5ad9c0f5c
|
|
| MD5 |
ffc573228648418b7d9c4628a1c54d21
|
|
| BLAKE2b-256 |
d233a70e74b9120a85988942f0dc4222369e699ca6b02f5e30fb851ac1bc429b
|