Skip to main content

An open-source language for email filtering rules.

Project description

Introduction

Email rules for everyone

Installation

pip install shuffle-email-rules

Usage

from shuffle_email_rules.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 shuffle-email-rules should shine when you have a lot of emails to process but you want to write simple fast code.

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.1.tar.gz (29.7 MB view hashes)

Uploaded Source

Built Distribution

shuffle_heimdall-0.1-py3-none-any.whl (29.8 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page