Skip to main content

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

template.env

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

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

FuncNotify-1.0.4-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file FuncNotify-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: FuncNotify-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for FuncNotify-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d1a27b3529bf4d6e3c028bccd7be759ccee91e3699ba43f8eec9e57bf75a8dfb
MD5 cd6da16a23f8b3bfd63662816daf28b1
BLAKE2b-256 382237463c45644d78d5899f33124da687d24a562ad6032772beb02e70ef0110

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 Sentry Error logging StatusPage Status page