A library made to inform about run time
Project description
timelibWAM
timelibWAM is an open source package meant to alert the user about the completion of a program. This can work best with larger projects in which may take longer periods of time to finish running. The package can also alert the user about errors that occur.
Installation
Copy into terminal/command prompt:
pip install timelibWAM
Use
1. Run:
from timelibWAM import *
IMPORTANT: When utilizing the library, run the import statement by itself. After completing the entry, run the rest of your code. You will incur errors otherwise!
2. Run tl.start() and save its return value in a variable
from timelibWAM import *
s = tl.start()
3. Enter your code!
from timelibWAM import *
s = tl.start()
#Your code here
4. Run one of our ending functions (print_end(), frame_end(), send_end(), or send_frame_end()) after your code
from timelibWAM import *
s = tl.start()
#Your code here
tl.send_frame_end(s)
IMPORTANT: If you'd like to be alerted in the case of error, steps 2-4 should be within a try statement followed by an except statement that runs one of our error functions (frame_alert() or error_alert())
Best Setup: Copy and paste this bad boy for text and frame alerts:
from timelibWAM import *
try:
s = tl.start()
*your code*
tl.send_frame_end(s)
except Exception as e:
tl.error_alert()
We know that there are plenty of things to be improved upon, so please let us know, or better yet, join in to create a better experience!
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
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
File details
Details for the file timelibWAM-0.0.2.tar.gz.
File metadata
- Download URL: timelibWAM-0.0.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
63cc17a838c97b1d2829c8c8f55967991e6663d5d782d7f31b552d9aa5734357
|
|
| MD5 |
3f994b5c1408dda644ed35d838a0379d
|
|
| BLAKE2b-256 |
bda5a70aabe815d3362e62382131cb293389021a292ae65edbaede136e00a863
|
File details
Details for the file timelibWAM-0.0.2-py3-none-any.whl.
File metadata
- Download URL: timelibWAM-0.0.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80af74ef10bc8748ec206e4009a27063fff8a8e696b0c8de543e77c2c9181778
|
|
| MD5 |
d8a3e7459f683c16c4dc5f829ec86a36
|
|
| BLAKE2b-256 |
2d77c55d76d26e5c999d4d6c26259c21c0c3d424af957f71455ca1adb6fbf683
|