Skip to main content

Melusine is a high-level library for emails processing

Project description

Build & Test pypi Test pypi

Release 3.3 : Drop sklearn inheritance, update debug mode activation and automate backend selection

Overview

Discover Melusine, a comprehensive email processing library designed to optimize your email workflow. Leverage Melusine's advanced features to achieve:

  • Effortless Email Routing: Ensure emails reach their intended destinations with high accuracy.
  • Smart Prioritization: Prioritize urgent emails for timely handling and efficient task management.
  • Snippet Summaries: Extract relevant information from lengthy emails, saving you precious time and effort.
  • Precision Filtering: Eliminate unwanted emails from your inbox, maintaining focus and reducing clutter.

Melusine facilitates the integration of deep learning frameworks (HuggingFace, Pytorch, Tensorflow, etc), deterministic rules (regex, keywords, heuristics) into a full email qualification workflow.

Why Choose Melusine ?

Features that make Melusine stand out:

  • Pre-packaged Tools : Melusine comes with out-of-the-box features such as
    • Segmenting an email conversation into individual messages
    • Tagging message parts (Email body, signatures, footers, etc)
    • Transferred email handling
  • Streamlined Execution : Focus on the core email qualification logic while Melusine handles the boilerplate code, providing debug mode, pipeline execution, code parallelization, and more.
  • Flexible Integrations : Melusine's modular architecture enables integration with various AI frameworks, ensuring compatibility with your preferred tools.
  • Production ready : Proven in the MAIF production environment, Melusine provides the robustness and stability you need.

Email Segmentation Exemple

In the following example, an email is divided into two distinct messages separated by a transition pattern. Each message is then tagged line by line. This email segmentation can later be leveraged to enhance the performance of machine learning models.

Getting started

Explore our comprehensive documentation and tested tutorials to get started. Or dive into our minimal example to experience Melusine's simplicity and power:

    from melusine.data import load_email_data
    from melusine.pipeline import MelusinePipeline

    # Load an email dataset
    df = load_email_data()

    # Load a pipeline
    pipeline = MelusinePipeline.from_config("demo_pipeline")

    # Run the pipeline
    df = pipeline.transform(df)

The code above executes a default pipeline and returns a qualified email dataset with columns such as:

  • messages: List of individual messages present in each email.
  • emergency_result: Flag to identify urgent emails.

With Melusine, you're well-equipped to transform your email handling, streamlining processes, maximizing efficiency, and enhancing overall productivity.

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

melusine-3.3.2.tar.gz (280.2 kB view details)

Uploaded Source

Built Distribution

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

melusine-3.3.2-py3-none-any.whl (308.0 kB view details)

Uploaded Python 3

File details

Details for the file melusine-3.3.2.tar.gz.

File metadata

  • Download URL: melusine-3.3.2.tar.gz
  • Upload date:
  • Size: 280.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for melusine-3.3.2.tar.gz
Algorithm Hash digest
SHA256 2d3a7581a052ab6b1282c919244059d75329847bfcfad293d6da1037eb85426f
MD5 cc7cc6f3ffeb0413cdfb90f3dfe5b50c
BLAKE2b-256 cf26d53269889f108fb7b8a125368c1e3f8f3b69fe211350310ece6eb24c8f0b

See more details on using hashes here.

File details

Details for the file melusine-3.3.2-py3-none-any.whl.

File metadata

  • Download URL: melusine-3.3.2-py3-none-any.whl
  • Upload date:
  • Size: 308.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for melusine-3.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a13b2ed015068046e68382689e59f03916996a3202f99ea9eb8dc08e2f2b4a8
MD5 521992ee13fb4ec6336f702bcbcd94f5
BLAKE2b-256 1bf6404233567fdc827b17c6a0d803550b7ec909cd4b1cb7f5dc0b513ad7d38c

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