Skip to main content

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.

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.4.0.tar.gz (281.6 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.4.0-py3-none-any.whl (309.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: melusine-3.4.0.tar.gz
  • Upload date:
  • Size: 281.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for melusine-3.4.0.tar.gz
Algorithm Hash digest
SHA256 481c07c5f91911add64e9034118c349dceb04b2721056634328caadde954de9e
MD5 19f9a68fe549e355e4f11af7629289f8
BLAKE2b-256 043a472218922e9212332518af6f97dbf36b783484030053d8ef7dfeedbe12a3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: melusine-3.4.0-py3-none-any.whl
  • Upload date:
  • Size: 309.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for melusine-3.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 100e467c3a5ccaf8cf8399468f940ee54a0351b3dee4bb6414c23bbc7056e2a5
MD5 8f8c833db3d68e642589be17dbf03464
BLAKE2b-256 226195bceea96b8587d7a0bc21a25cf8779f4c0d08d0354d7d5d5ac573348d8d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.4.0 This release

2 files

3.3.4

2 files

3.3.2

2 files

3.3.1

2 files

3.3.0

2 files

3.2.0

2 files

3.1.0

2 files

3.0.0

2 files

2.3.6

2 files

2.3.5

2 files

2.3.4

2 files

2.3.2

2 files

2.3.1

2 files

2.3.0

2 files

2.2.6

2 files

2.2.5

2 files

2.2.1

2 files

2.2.0

2 files

2.1.0

2 files

2.0.4

2 files

2.0.3

2 files

1.11.1

2 files

1.11.0

2 files

1.10.0

2 files

1.9.6

2 files

1.9.5

2 files

1.9.4

2 files

1.9.3

2 files

1.9.2

2 files

1.9.1

2 files

1.9.0

2 files

1.8.9

2 files

1.8.8

2 files

1.8.7

2 files

1.8.6

2 files

1.8.5

2 files

1.8.4

2 files

1.8.3

2 files

1.8.1

2 files

1.8.0

2 files

1.7.1

2 files

1.7.0

2 files

1.6.1

2 files

1.6.0

2 files

1.5.5

2 files

1.5.4

2 files

1.5.2

2 files

1.5.1

2 files

1.5.0

2 files

1.4.0

2 files

1.2.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page