Get notified when your functions finish running
Project description
Birthday Notify Bot
Premise:
Sometimes, functions take a long time. I wanted to create something that automatically notifies you when they're completed or of any errors, training ML. The advantage over other decorator nontifiers is that there's an added option to hide your api tokens and emails so they aren't accidentally pushed to a public repo.
This is a super lean ReadMe, check out the github linked here
Use case
@time_func(dot_env=True, NotifyMethod="Text", cellphone="8001234567")
def wait_func():
do_something()
@time_text
def wait_func2():
do_something()
Both accomplish the same objective of nootifying the user after wait_func() completes, one does so with the phone number saved as a .env variable so it never accidentally gets exposed.
Installation
$ pip install funcNotify
Create .env in current working directory and fill out information that you wanna use
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for FuncNotify-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46e6d39b4e8cbb654fa84812f514aa47f6fa20b448c73c48e46a28688477d1b1 |
|
MD5 | 7a7a559a5ec3e6f0f88e1c322ff31c75 |
|
BLAKE2b-256 | c651e942fee95963121b02bd64b5da2d7061ccdd86b0ecd062f0353059af6a7e |