Metadata-Version: 2.1
Name: kthread
Version: 0.1
Summary: Killable threads in Python!
Home-page: https://github.com/munshigroup/kthread
Author: The Munshi Group
Author-email: support@munshigroup.com
License: UNKNOWN
Description: # kthread
        Killable threads in Python!
        
        ## Installation
        To install this package, run the following command:
        
            $ pip install kthread
        
        ## Usage
        
            >>> import time
            >>> import kthread
            >>> def func():
            >>>     try:
            >>>         while True:
            >>>             time.sleep(0.2)
            >>>     finally:
            >>>         print "Greetings from Vice City!"
            >>>
            >>> t = kthread.KThread(target = func, name = "KillableThread1")
            >>> t.start()
            >>> t.isAlive()
            True
            >>> t.terminate()
            Greetings from Vice City!
            >>> t.isAlive()
            False
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 2
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
