Prakhar Sharma -
Adrita Bhattacharya -
MBOX to JSON
A command line tool to convert MBOX file to JSON.
Explore the docs » (Currently NA)
View Demo
·
Report Bug
·
Request Feature
Table of Contents
About The Project
A small package that converts MBOX files to JSON. Also includes functionality to extract attachments.
Built With
Getting Started
To run this tool on your system locally, follow the installation steps.
Prerequisites
Make sure you upgrade pip
before moving on.
All the required dependencies are in requirements.txt
which would be installed at the time of running the setup.
pip install --upgrade pip
Installation
-
Download the repository as zip. Unzip.
-
cd
to the repository folder -
Run this command
pip install .
Usage
mbox-to-json -h
Usage example#1
mbox-to-json /Users/prakhar/downloads/random_file.mbox
---> Use -a
flag to extract attachments. The files would be available in an attachments folder in the root location of the repo.
Usage example#2
mbox-to-json /Users/prakhar/downloads/random_file.mbox -a
---> Use -o
to specify the output file location. It defaults to file.json
in the root location of the repo.
Usage example#3
mbox-to-json /Users/prakhar/downloads/random_file.mbox -o /Users/prakhar/downloads/random_output.json
For more examples, please refer to the Documentation
Roadmap
- TBA
License
Distributed under the MIT License. See LICENSE.txt
for more information.
Contact
LinkedIn - Prakhar Sharma, Adrita Bhattacharya
Github: PS1607, adritabhattacharya
Google Developer: PS1607