Skip to main content

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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

shuffle_heimdall-0.2.2-py3-none-any.whl (29.8 MB view details)

Uploaded Python 3

File details

Details for the file shuffle_heimdall-0.2.2.tar.gz.

File metadata

  • Download URL: shuffle_heimdall-0.2.2.tar.gz
  • Upload date:
  • Size: 29.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for shuffle_heimdall-0.2.2.tar.gz
Algorithm Hash digest
SHA256 809123c40ba4fca7ac921a498edd4fb9178fcbe070b0cabb0c9922e5e6d73997
MD5 937afcf6e09b62418baed2aed5a14a56
BLAKE2b-256 dcb917fa74de9a3890408e4da3eb300af95f801c25f4c2097f2ad26056431093

See more details on using hashes here.

File details

Details for the file shuffle_heimdall-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for shuffle_heimdall-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 073655afa30e87f8fa426b473e6e286f039f4974d7e2e4acfbe7bed478af600d
MD5 1233aba1d306f6158735fc7521ce154f
BLAKE2b-256 d11c10fae056119d9dcc140db5eb311e92457f2eb2b067a859bf230c767ce54a

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