MBOX to JSON Converter
Project description
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
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
Built Distribution
Hashes for mbox_to_json-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71513dc468242fcbb910d51709dc61c77f06e8cbeb4c502840e5a68f2b728249 |
|
MD5 | 81e4b1f1447bd8f867f1ff01a85a4aef |
|
BLAKE2b-256 | 1335087d95a2a8712582bf2de144f5465d72f94b0674921062344273521fa37d |