Skip to main content

Quickly featurize a maildir

Project description

Get features of a maildir very quickly, by not opening the files.

As a side effect, the features reveal little private information.

I made this for my dada portal; I wanted to be able to analyze my emails in the context of other things, but I didn’t want to have sensitive information in my dada portal.

It implements only a subset of the maildir filename format. (http://cr.yp.to/proto/maildir.html).

I use it like this to find only the emails I sent.

./maildir_featurizer.py my-maildir/*/*/Sent/

Or, if you install it,

maildir-featurizer my-maildir/*/*/Sent/

Or, from Python, which is how I really use it,

from maildir_featurizer import messages
for message in messages('my-maildir'):
    print(message)

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maildir-featurizer-0.1.tar.gz (1.9 kB view details)

Uploaded Source

File details

Details for the file maildir-featurizer-0.1.tar.gz.

File metadata

File hashes

Hashes for maildir-featurizer-0.1.tar.gz
Algorithm Hash digest
SHA256 2c52e099f28f7476b04345883c85365bc3a60991286611abd9d2905536fe7e8a
MD5 44a6b7a9242314d6fe9bcf2abf55b2e8
BLAKE2b-256 7ab89a0a1ef3490525790257694182348f8b696d040cfa4effb9cf59715d279e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page