Mbox To Csv Save

Python script for converting MBOX files to CSV.

Project README

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

Open Source Agenda is not affiliated with "Mbox To Csv" Project. README Source: jarrodparkes/mbox-to-csv
Stars
85
Open Issues
4
Last Commit
2 years ago
Tags

Open Source Agenda Badge

Open Source Agenda Rating