An open-source language for email filtering rules.
Project description
Introduction
Email rules for everyone
Installation
pip install shuffle-heimdall
Usage
from heimdall.evaluate import evaluate_email_expression
email_json = '{"sender": "test@example.com"}'
expression = 'email.sender.endsWith("@example.com")'
result = evaluate_email_expression(email_json, expression)
print(result)
To-do
Works on most platforms. The power of heimdall should shine when you have a lot of emails to process but you want to write simple code that is also fast.
- Add support for outlook API result
- Add support for gmail API result
- Add support for gmail API when in mass
- Make setup.py pull the right binary during install instead of having everything in the repo.
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
shuffle_heimdall-0.2.2.tar.gz
(29.7 MB
view hashes)
Built Distribution
Close
Hashes for shuffle_heimdall-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 073655afa30e87f8fa426b473e6e286f039f4974d7e2e4acfbe7bed478af600d |
|
MD5 | 1233aba1d306f6158735fc7521ce154f |
|
BLAKE2b-256 | d11c10fae056119d9dcc140db5eb311e92457f2eb2b067a859bf230c767ce54a |