All Projects → jarrodparkes → mbox-to-csv

jarrodparkes / mbox-to-csv

Licence: other
Python script for converting MBOX files to CSV.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Labels

Projects that are alternatives of or similar to mbox-to-csv

Neomutt
✉️ Teaching an Old Dog New Tricks -- IRC: #neomutt on irc.libera.chat
Stars: ✭ 2,343 (+3024%)
Mutual labels:  mbox
node-mbox
mbox file parser for Node.js
Stars: ✭ 64 (-14.67%)
Mutual labels:  mbox
verify-dkim
Tool to verify DKIM signatures on an mbox of emails
Stars: ✭ 70 (-6.67%)
Mutual labels:  mbox
neatmail
A text-mode mail client
Stars: ✭ 23 (-69.33%)
Mutual labels:  mbox
mail-deduplicate
📧 CLI to deduplicate mails from mail boxes.
Stars: ✭ 134 (+78.67%)
Mutual labels:  mbox

MBOX to CSV

Python 3.8.3

Extract emails from an MBOX file into a CSV file.

Example

# make a copy of rules.example.py named rules.py
cp rules.example.py rules.py

# make a copy of .env.example named .env
cp .env.example .env

# launch virtual environment with included dependencies
source env/bin/activate

# install the required packages
python3 -m pip install -r requirements.txt

# run tool using example file
python3 mbox_parser.py example.mbox

# deactivate virtual environment
deactivate

Embedding Python Interpreter and Dependencies into Platypus-Built App

With some manual effort, it is possible to package this script as a drag-and-drop Platypus-built Mac app. In order to do this, we are required to bundle a python installation (interpreter and dependencies) within the app's resources. This is possible by following the guide below.

Once you are done with this guide, then you need to remove the python3.8/lib/python3.8/site-packages symlink and replace it with the site-packages that have been installed in your virtual environment as you were developing.

References

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].