Metadata-Version: 2.1
Name: multithreading
Version: 0.1.2
Summary: MultiThreading: Thread + Queue
Home-page: https://github.com/aztecrabbit/multithreading
Author: aztecrabbit
Author-email: ars.xda@gmail.com
License: UNKNOWN
Description: # Multi Threading
        
        Example Class
        -------------
        
        ```python
        import multithreading
        
        class Demo(multithreading.MultiThread):
            def task(self, task):
                print(task)
        
        ```
        
        
        Example Main
        ------------
        
        ```python
        task_list = range(1, 3 + 1)
        
        demo = Demo(task_list, threads=3)
        
        # Start
        demo.start()
        ```
        
        Result
        
        ```
        1
        2
        3
        ```
        
        **OR**
        
        
        ```python
        demo = Demo(threads=3)
        
        # Start threads
        demo.start_threads()
        
        # Adding task to queue
        demo.add_task(1)
        demo.add_task(2)
        demo.add_task(3)
        
        ```
        
        Result
        
        ```
        1
        2
        3
        ```
        
        
        Install
        -------
        
        ```shell
        $ pip install multithreading
        ```
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
