Skip to main content

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for poolhub, version 0.0.9
Filename, size File type Python version Upload date Hashes
Filename, size poolhub-0.0.9-py3-none-any.whl (988.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size poolhub-0.0.9.tar.gz (967.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page