shuffle-heimdall


Nameshuffle-heimdall JSON
Version 0.2.2 PyPI version JSON
download
home_pageNone
SummaryAn open-source language for email filtering rules.
upload_time2024-06-30 23:39:53
maintainerNone
docs_urlNone
authorAditya
requires_pythonNone
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Introduction

Email rules for everyone

## Installation

```bash
pip install shuffle-heimdall
```


## Usage

```python
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
- [x] 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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "shuffle-heimdall",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Aditya",
    "author_email": "aditya@shuffler.io",
    "download_url": "https://files.pythonhosted.org/packages/dc/b9/17fa74de9a3890408e4da3eb300af95f801c25f4c2097f2ad26056431093/shuffle_heimdall-0.2.2.tar.gz",
    "platform": null,
    "description": "# Introduction\n\nEmail rules for everyone\n\n## Installation\n\n```bash\npip install shuffle-heimdall\n```\n\n\n## Usage\n\n```python\nfrom heimdall.evaluate import evaluate_email_expression\nemail_json = '{\"sender\": \"test@example.com\"}'\nexpression = 'email.sender.endsWith(\"@example.com\")'\nresult = evaluate_email_expression(email_json, expression)\nprint(result)\n```\n\n## To-do\n\nWorks 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.\n\n- [ ] Add support for outlook API result\n- [x] Add support for gmail API result\n- [ ] Add support for gmail API when in mass\n- [ ] Make setup.py pull the right binary during install instead of having everything in the repo.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "An open-source language for email filtering rules.",
    "version": "0.2.2",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d11c10fae056119d9dcc140db5eb311e92457f2eb2b067a859bf230c767ce54a",
                "md5": "1233aba1d306f6158735fc7521ce154f",
                "sha256": "073655afa30e87f8fa426b473e6e286f039f4974d7e2e4acfbe7bed478af600d"
            },
            "downloads": -1,
            "filename": "shuffle_heimdall-0.2.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "1233aba1d306f6158735fc7521ce154f",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 29799160,
            "upload_time": "2024-06-30T23:39:45",
            "upload_time_iso_8601": "2024-06-30T23:39:45.825250Z",
            "url": "https://files.pythonhosted.org/packages/d1/1c/10fae056119d9dcc140db5eb311e92457f2eb2b067a859bf230c767ce54a/shuffle_heimdall-0.2.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dcb917fa74de9a3890408e4da3eb300af95f801c25f4c2097f2ad26056431093",
                "md5": "937afcf6e09b62418baed2aed5a14a56",
                "sha256": "809123c40ba4fca7ac921a498edd4fb9178fcbe070b0cabb0c9922e5e6d73997"
            },
            "downloads": -1,
            "filename": "shuffle_heimdall-0.2.2.tar.gz",
            "has_sig": false,
            "md5_digest": "937afcf6e09b62418baed2aed5a14a56",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 29696546,
            "upload_time": "2024-06-30T23:39:53",
            "upload_time_iso_8601": "2024-06-30T23:39:53.374696Z",
            "url": "https://files.pythonhosted.org/packages/dc/b9/17fa74de9a3890408e4da3eb300af95f801c25f4c2097f2ad26056431093/shuffle_heimdall-0.2.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-30 23:39:53",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "shuffle-heimdall"
}
        
Elapsed time: 0.27177s