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
There are 2 ways to install this tool.
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
1. Install from PyPI
pip install mbox-to-json
2. Install from GitHub
-
Download the repository as zip. Unzip.
-
cd
to the repository folder -
Run this command
pip install .
Usage
-
Help Function
mbox-to-json -h
-
Most basic conversion from MBOX to JSON. Just provide the file path. Output JSON file would be in the same location as the input file.
mbox-to-json /Users/prakhar/downloads/random_file.mbox
-
Use
-a
flag to extract attachments. The files would be available ininput_file_directory/attachments
mbox-to-json /Users/prakhar/downloads/random_file.mbox -a
-
Use
-c
flag to convert to CSV insted of JSON. Output CSV file would be in the same location as the input file.mbox-to-json /Users/prakhar/downloads/random_file.mbox -c
-
Use
-o
to specify the output file location. Make sure to provide the file name too, with the extension JSON (or CSV)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
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
File details
Details for the file mbox_to_json-1.0.4.tar.gz
.
File metadata
- Download URL: mbox_to_json-1.0.4.tar.gz
- Upload date:
- Size: 8.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 388635d6ace484b4fc0e5f75239ddfcdee8f23caa697c9b1aa79969fc29b9286 |
|
MD5 | 836f394eed0ff0200bf8d94f6f690d8b |
|
BLAKE2b-256 | 5b23ce797639969948bc7b20e5b04bcec85c6378ce2d8d8eb87fa0a69334490b |
File details
Details for the file mbox_to_json-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: mbox_to_json-1.0.4-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95414f13e7189f7cd3af9be19751abc7d8bd7f3b8d747485976136f38e754e4a |
|
MD5 | 2e2e082fa3eb994e397c2ce7e5a84635 |
|
BLAKE2b-256 | 14e0863998b666bd7cf7f6ee52fbef376d7e5ae75bd32b35e913c612d44e4f48 |