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.5.tar.gz
.
File metadata
- Download URL: mbox_to_json-1.0.5.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 | 816a96cdf12ce25bca2b55229e3a38f50638edf58a3f11ccc3da5b425e9c3bf9 |
|
MD5 | 7e75fa9ff9a3eedcf8e0c887c25d5f4b |
|
BLAKE2b-256 | 015063de31e39cade6dc74e4a44d4339a8573e28481a177aee2f62df21775088 |
File details
Details for the file mbox_to_json-1.0.5-py3-none-any.whl
.
File metadata
- Download URL: mbox_to_json-1.0.5-py3-none-any.whl
- Upload date:
- Size: 9.0 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 | 4cb229385fd53f269258f854fe720a3b8cc0c0000e14e7b60f30dba765218483 |
|
MD5 | 7d14bb4fffbe8b159493c4ce6ce658a6 |
|
BLAKE2b-256 | 79e74fb0f6bdfd3670156e2e57ff435b67fc9f26a6463fe4ee4cce7eebd14455 |