Skip to main content

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, replace py with python or python3.
  • 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 /multithreaded directory (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)

Table of built distributions (wheels) for multithreaded 0.0.6
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.6 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

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