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 hashes)

Uploaded Source

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