To send birthday wishes to employees
Project description
#Realmz
This is a very small module built for a private project. Should you want to do more than the basis functionalities
supported by this package, then you are looking on the wrong place. A service component that will send birthday
wishes to employees. The service extracts a list of employees whose birthdays occur today using the Realm Digital
Employee API and create a generic message E.g. “Happy Birthday {name 1}, {name 2}” and send the message to an
email address configured for the component. https://interview-assessment-1.realmdigital.co.za/
-—————————————————————————————-
Example:
from realmz import main as realmz_main
def test():
realmz.start_wish()
test()
You’d input the database full path in case you’d like to save data to a database instead of a json file.
Please note that we currently only support sqlite.
- When prompted with options:
Birthday
Anniversary
-————————————————————————————-
This package uses ‘https://pypi.org/project/python-dotenv/’ to handle .env variable for this project.
This package uses ‘https://pypi.org/project/schedule/’ to schedule the app, when and how it would run.
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
File details
Details for the file realmz-0.0.15.tar.gz.
File metadata
- Download URL: realmz-0.0.15.tar.gz
- Upload date:
- Size: 8.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce0e06f8f0df878921185fbf7c87a56fef7f5050ae4b09a72251d41ef98bf589
|
|
| MD5 |
8b251c9062e8e61618b86942b3dca009
|
|
| BLAKE2b-256 |
c2391e4848a80dff325f7c32bcba4ae9ca79efdadee8a7a7bce679365551f89d
|