Track threads in your Python program.
Project description
## poolhub
<i>Track threads in your Python program.</i>
<p align="center">
<img src="https://raw.githubusercontent.com/tsarpaul/poolhub/master/poolhub.png" alt="poolhub demo">
</p>
#### Installation
poolhub is only compatible with Python 3
> pip install poolhub
#### Usage
```
import poolhub
```
Once you run your program, the web browser will open.
To set name and status in your thread:
```
t = threading.Thread(name="Thread no. 1", status='Initializing thread', target=func)
```
To update your thread's status:
```
t = threading.current_thread()
t.status = "Reporting in for duty"
```
<hr>
When you terminate a thread, this raises a
`KeyBoardInterrupt` inside the thread to terminate it.
<i>Track threads in your Python program.</i>
<p align="center">
<img src="https://raw.githubusercontent.com/tsarpaul/poolhub/master/poolhub.png" alt="poolhub demo">
</p>
#### Installation
poolhub is only compatible with Python 3
> pip install poolhub
#### Usage
```
import poolhub
```
Once you run your program, the web browser will open.
To set name and status in your thread:
```
t = threading.Thread(name="Thread no. 1", status='Initializing thread', target=func)
```
To update your thread's status:
```
t = threading.current_thread()
t.status = "Reporting in for duty"
```
<hr>
When you terminate a thread, this raises a
`KeyBoardInterrupt` inside the thread to terminate it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
poolhub-0.0.9.tar.gz
(967.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
poolhub-0.0.9-py3-none-any.whl
(988.5 kB
view details)
File details
Details for the file poolhub-0.0.9.tar.gz.
File metadata
- Download URL: poolhub-0.0.9.tar.gz
- Upload date:
- Size: 967.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93b320a5237036335df47740c49c92e7c26f5a6258abae074829b7a475e02b5c
|
|
| MD5 |
c69839edeaa39920d941522a46d7a8b6
|
|
| BLAKE2b-256 |
3fcd7548404626a8ef80e8961a7cafcf90c3cab60ff1e32d82e508cf28fe7e33
|
File details
Details for the file poolhub-0.0.9-py3-none-any.whl.
File metadata
- Download URL: poolhub-0.0.9-py3-none-any.whl
- Upload date:
- Size: 988.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc8780f91de2c8edd9f33db3790cca6464db0ad87db4a697279507ba4ee8eaa3
|
|
| MD5 |
84b4b1051a48cf2e18a3e4c44d3c4433
|
|
| BLAKE2b-256 |
77b22b142c98eb4cc3920d1b50779e4a067e1725b7125db6cb08628457a0bc61
|