A package to send email notifications when the device comes online
Project description
Setup dev environment
python3 -m pip install -r requirements.txt
pre-commit install
Export environment variables
export MAIL_SERVER="smtp.gmail.com"
export MAIL_PORT=587
export MAIL_USERNAME="********************************"
export MAIL_RECEIPIENT="********************************"
export MAIL_PASSWORD="********************************"
export MAIL_USE_TLS=1
export MAIL_USER_SSL=0
Run application
python3 -c "from notify_online import notify_online; notify_online()"
Build package
python3 setup.py sdist bdist_wheel
Publish package to Pypi
twine upload dist/*
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
notify_online-0.1.1.tar.gz
(8.9 kB
view details)
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 notify_online-0.1.1.tar.gz.
File metadata
- Download URL: notify_online-0.1.1.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62ae55b20c2d8cfd9ad2ec5172790055ec1030d74e49aca1def225f128f231aa
|
|
| MD5 |
db5cbaf0db78f23cf25e86c644b49060
|
|
| BLAKE2b-256 |
bdee477b382d92ae25f61766e45d9725b82ce78534bb6d5f7608d7ef1ece96fb
|
File details
Details for the file notify_online-0.1.1-py3-none-any.whl.
File metadata
- Download URL: notify_online-0.1.1-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd61865789b8695ffe08221fdf2ebc9b6f6d9ce7253a89ddbe14d9310f248529
|
|
| MD5 |
02359643cbd496d84d864882bf3e958f
|
|
| BLAKE2b-256 |
f69afb63e98c6ec84f4a7b20476bd955a30c8a4ee276add9dd90583ee41896ca
|