Manage your emails with Python
The pydatamail_ml python module extends the functionality of pydatamail by adding support for machine learning. This
includes but is not limited to text preprocessing utilities as well as basic machine learning models based on decision
trees.
Installation
Install the pydatamail_ml package using pip:
pip install pydatamail_ml
Or alternatively using conda:
conda install -c conda-forge pydatamail_ml
Python interface
Import the pydatamail_ml module
from pydatamail_ml import one_hot_encoding, get_machine_learning_database, gather_data_for_machine_learning, train_model, get_machine_learning_recommendations, text_pipeline, detect_language
The individual components are briefly explained below:
one_hot_encoding()- Encoding the email headers fields (to,from,cc) in binary descriptors.get_machine_learning_database()- Get a database to store machine learning models in.get_gather_data_for_machine_learning()- Clean up encoded data by separating input and output.train_model()- Train a randomforest machine learning model.get_machine_learning_recommendations()- Get recommendations from the machine learning model.text_pipeline()- Convert text from the email to machine readable text by removing HTML design elements.detect_language()- Detect the language of the email.
Metadata
Release files for pydatamail-ml 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydatamail_ml-0.0.3.tar.gz | 22.3 kB | Without provenance | Details for pydatamail_ml-0.0.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pydatamail_ml-0.0.3-py3-none-any.whl | Python 3 | none | any | Details for pydatamail_ml-0.0.3-py3-none-any.whl |
Total release size: 34.7 kB
Release files / pydatamail_ml-0.0.3.tar.gz
| Download URL | pydatamail_ml-0.0.3.tar.gz |
|---|---|
| Size | 22.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e927e8923a6c5471289af67109fbdb4315dda9dea8ff9b329d4177e73151acd8
|
|
BLAKE2b-256 checksum How to use checksums |
4768e40152a16c7c930616f61241bf4623209bf74ac6eae431d8bb23a0c36873
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / pydatamail_ml-0.0.3-py3-none-any.whl
| Download URL | pydatamail_ml-0.0.3-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
29492a1dcc78f317cfaa9b4d5e220f60e18de6d50c4ce03eb1424cc2104ebc08
|
|
BLAKE2b-256 checksum How to use checksums |
310f6eeba0f7c854256aeaeb0cc1ec5ab235e07843500b9fb59106ca7be6c793
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for pydatamail-ml 0.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.