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()
Metadata
Release files for multithreaded 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| multithreaded-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Release files / multithreaded-0.0.6-py3-none-any.whl
| Download URL | multithreaded-0.0.6-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca9cfb68fd0ee428d74eaf74219e6c6b53016602a5921bfe9dce49c5ad9c0f5c
|
|
BLAKE2b-256 checksum How to use checksums |
d233a70e74b9120a85988942f0dc4222369e699ca6b02f5e30fb851ac1bc429b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.13.0
|