Skip to main content

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:
  1. Birthday

  2. 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

realmz-0.0.14.tar.gz (8.5 kB view details)

Uploaded Source

File details

Details for the file realmz-0.0.14.tar.gz.

File metadata

  • Download URL: realmz-0.0.14.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

Hashes for realmz-0.0.14.tar.gz
Algorithm Hash digest
SHA256 c4418764926808abe219fab66c9c6e6916a029b001589a7a08523abca63ea85c
MD5 4226f19a5a2835c2d442a854ea2f8f28
BLAKE2b-256 40f846ff9f89f7d717ac7d34edd7e0e9a3ff267610233a4ba0c71b7e4ceb11ad

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