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

Uploaded Source

File details

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

File metadata

  • Download URL: realmz-0.0.16.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.16.tar.gz
Algorithm Hash digest
SHA256 a4011fd1b81eb98bea99b695ad13ecc853906e76a56646b4808c69144759ade3
MD5 8c76b76dd8d7b1610bd8f9d188a2c2b7
BLAKE2b-256 bd0835e16cc4771099b21ee61f8fd6036fc2bb826c16f07e486bed984b89d39a

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