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.0.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.0.tar.gz.
File metadata
- Download URL: notify_online-0.1.0.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 |
bedb1d98f42dd16d0f541947b2091820c794fa72adb3ece7a57d09c063c22c43
|
|
| MD5 |
33cd1a36e86748d090e4d0714f879a82
|
|
| BLAKE2b-256 |
44fa1786ffe83d91f0ec5a6c6de40d06c71e26cdeccf10fb44051d55e6be08eb
|
File details
Details for the file notify_online-0.1.0-py3-none-any.whl.
File metadata
- Download URL: notify_online-0.1.0-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 |
3024188f5a81b89d74590b485d58cb9d0ea61cb2c151300fa8de28714de24fa0
|
|
| MD5 |
c05029d3be08bd63bea4d67df6f5918b
|
|
| BLAKE2b-256 |
ebc21b81b22ad07fc353a8acf9b2bdab76bd7f93dd62875847d6b6c654fac985
|