Skip to main content

A library made to alert users about program completion

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


Download files

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

Source Distribution

timelibWAM-0.0.3.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timelibWAM-0.0.3-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file timelibWAM-0.0.3.tar.gz.

File metadata

  • Download URL: timelibWAM-0.0.3.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

Hashes for timelibWAM-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2b54fc2bf64b3c64c0650c5c2ae1e0b614e65b66e3e9b66a4d2ca065d773622a
MD5 8770777a2c333308377ea1c2c38bbb39
BLAKE2b-256 6499a879bb29bfbf566cd1eca26530629e6a1a6a16ffebbf16272e3fc15ea239

See more details on using hashes here.

File details

Details for the file timelibWAM-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: timelibWAM-0.0.3-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

Hashes for timelibWAM-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e2f973d08f5de2c21f0118f2c3ba85425b094fd99d059a57206d16f191cc159e
MD5 4d0800524d3b04a24ee5cd28abcc311d
BLAKE2b-256 5acf7142586e988ad1114557096d99c87f5a66d626754060f5a2b3a54b178d37

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page