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.17.tar.gz (8.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: realmz-0.0.17.tar.gz
  • Upload date:
  • Size: 8.4 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.17.tar.gz
Algorithm Hash digest
SHA256 6ca48cc6b8ef6938eeb5ed53d7c676af4544152c83425d23a65e7e973b596abf
MD5 92586b3ef6d761092b93fd6b912ef84f
BLAKE2b-256 662e6cb6fa30aac9c92f69e342b024b90c5e0ca34e227483da6cb3cd838e42b2

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