Hi #Everyone,
Exciting News!
I'm thrilled to announce that I've published my package: PyThreadKiller on both PyPi and GitHub.
Why did I develop this package? Many people, including myself, have struggled with the question of how to kill a thread in Python. I wanted a solution that didn't rely on threading.Event().
Is there a way to forcibly kill a thread in python?
https://lnkd.in/dZmPA5jX
Is there any way to kill a thread?
https://lnkd.in/dJZMAXve
What is PyPi?
PyPi (Python Package Index) is the official third-party package repository for the Python programming language. It's a central hub for hosting and distributing software packages, making it easier for Python developers to find and install the necessary tools.
How to Install:
You can install PyThreadKiller using pip:
pip install PyThreadKiller
Why PyThreadKiller?
This package allows developers and testers to kill a thread immediately without using threading Event. Additionally, if you prefer not to kill the thread, you can still retrieve the output from the thread-triggered function.
Links:
1. PyPi: https://lnkd.in/dNVQse5q
2. GitHub: https://lnkd.in/d-XfCc-c
For examples and usage instructions, please check out the https://lnkd.in/dEtjBaGV file in the GitHub repository.
Thanks, happy coding!
Engineer | Software | Web & UX Design
1moWas just looking for such samples yesterday, things are moving fast with Nifi. That’s very great, the code samples will speed the python extensions development journey.