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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file maildir-featurizer-0.1.tar.gz
.
File metadata
- Download URL: maildir-featurizer-0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c52e099f28f7476b04345883c85365bc3a60991286611abd9d2905536fe7e8a |
|
MD5 | 44a6b7a9242314d6fe9bcf2abf55b2e8 |
|
BLAKE2b-256 | 7ab89a0a1ef3490525790257694182348f8b696d040cfa4effb9cf59715d279e |