diff options
Diffstat (limited to '.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info')
8 files changed, 188 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/AUTHORS.rst b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/AUTHORS.rst new file mode 100644 index 00000000..e5d6d245 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/AUTHORS.rst @@ -0,0 +1,12 @@ +Credits +======= + +Development Lead +---------------- + +* Vikram Arsid <vikramarsid@gmail.com> + +Contributors +------------ + +None yet. Why not be the first? diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/LICENSE b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/LICENSE new file mode 100644 index 00000000..85fcb8da --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/LICENSE @@ -0,0 +1,22 @@ +Copyright (c) 2009-2019 Vikram Arsid <vikramarsid@gmail.com> + +Redistribution and use in source and binary forms, with or without modification, are +permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, this list of + conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright notice, this list + of conditions and the following disclaimer in the documentation and/or other materials + provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS +OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE +COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE +GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED +OF THE POSSIBILITY OF SUCH DAMAGE. + diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/METADATA b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/METADATA new file mode 100644 index 00000000..d65f8ede --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/METADATA @@ -0,0 +1,112 @@ +Metadata-Version: 2.1 +Name: msg-parser +Version: 1.2.0 +Summary: This module enables reading, parsing and converting Microsoft Outlook MSG E-Mail files. +Home-page: https://github.com/vikramarsid/msg_parser +Author: Vikram Arsid +Author-email: vikramarsid@gmail.com +License: BSD +Keywords: msg_parser +Platform: UNKNOWN +Classifier: Development Status :: 2 - Pre-Alpha +Classifier: Topic :: Communications +Classifier: Intended Audience :: Developers +Classifier: License :: OSI Approved :: BSD License +Classifier: Natural Language :: English +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.4 +Classifier: Programming Language :: Python :: 3.5 +Classifier: Programming Language :: Python :: 3.6 +Classifier: Programming Language :: Python :: 3.7 +Classifier: Programming Language :: Python :: Implementation :: CPython +Requires-Python: >=3.4 +Requires-Dist: olefile (>=0.46) +Provides-Extra: rtf +Requires-Dist: compressed-rtf (>=1.0.5) ; extra == 'rtf' + +msg_parser +========== + +.. image:: https://img.shields.io/pypi/v/msg_parser.svg + :target: https://pypi.python.org/pypi/msg_parser + +.. image:: https://img.shields.io/travis/vikramarsid/msg_parser.svg + :target: https://travis-ci.org/vikramarsid/msg_parser + +.. image:: https://readthedocs.org/projects/msg-parser/badge/?version=latest + :target: https://msg-parser.readthedocs.io/en/latest/?badge=latest + :alt: Documentation Status + +.. image:: https://pyup.io/repos/github/vikramarsid/msg_parser/shield.svg + :target: https://pyup.io/repos/github/vikramarsid/msg_parser/ + :alt: Updates + +Python module for parsing outlook msg files. + + +* Free software: BSD license +* Documentation: https://msg-parser.readthedocs.io. + + +Features +-------- + +* Parse MSG file. +* Convert MSG file to EML file. +* Output MSG file as JSON string. +* Handles nested MSG/EML attachments. +* Works 100% on Linux machines, do not require any windows libraries. + +Installation +------------ + +* Basic installation + + .. code-block:: bash + + pip install msg_parser + +* With RTF decompression + + .. code-block:: bash + + pip install msg_parser[rtf] + + +Usage +----- + +* Run CLI command + + .. code-block:: bash + + $ msg_parser --help + usage: msg_parser [-h] -i FILE [-j] [-e EML_FILE] + + Microsoft Message Parser + + optional arguments: + -h, --help show this help message and exit + -i FILE, --input FILE + msg file path + -j, --json output parsed msg as json to console + -e EML_FILE, --eml EML_FILE + provide email file path to save as eml file. + + + * Import in python modules + + .. code-block:: python + + from msg_parser import MsOxMessage + + msg_obj = MsOxMessage(msg_file_path) + + json_string = msg_obj.get_message_as_json() + + msg_properties_dict = msg_obj.get_properties() + + saved_path = msg_obj.save_email_file(output_eml_file_path) + + + diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/RECORD b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/RECORD new file mode 100644 index 00000000..3722519c --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/RECORD @@ -0,0 +1,31 @@ +../../../bin/msg_parser,sha256=V_5TQUwkrI7v1LJUtyRc_1iQLS5398ccQ3_zeULkdjI,249
+msg_parser-1.2.0.dist-info/AUTHORS.rst,sha256=a-rbVhs1XSH3X1BsBg_LbpGhdza6eBDAO0aR6bSmF4w,151
+msg_parser-1.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
+msg_parser-1.2.0.dist-info/LICENSE,sha256=R4icAWY6qFMUict4TdmzmLZadwYe3K-F7ca9IHkC9dQ,1317
+msg_parser-1.2.0.dist-info/METADATA,sha256=mX_ow4gFvqBUCDEOXVVWA_gn0BJL5CJACPM6398xJTU,2998
+msg_parser-1.2.0.dist-info/RECORD,,
+msg_parser-1.2.0.dist-info/WHEEL,sha256=8zNYZbwQSXoB9IfXOjPfeNwvAsALAjffgk27FqvCWbo,110
+msg_parser-1.2.0.dist-info/entry_points.txt,sha256=ne2x_lGIQXuVssSrd8qI25l_Ujk3Fl5wUzLOC1ZN5qg,52
+msg_parser-1.2.0.dist-info/top_level.txt,sha256=JVlMvAYvvTB_bV0-nkhs3u_XqdRNnCMMpFJP5d__LXs,11
+msg_parser/__init__.py,sha256=4VVzQ96yqtEK1XBc1bov1Fhsz0jyLuk7ZXoDgD6S2Kw,102
+msg_parser/__pycache__/__init__.cpython-312.pyc,,
+msg_parser/__pycache__/__version__.cpython-312.pyc,,
+msg_parser/__pycache__/cli.cpython-312.pyc,,
+msg_parser/__pycache__/data_models.cpython-312.pyc,,
+msg_parser/__pycache__/email_builder.cpython-312.pyc,,
+msg_parser/__pycache__/msg_parser.cpython-312.pyc,,
+msg_parser/__version__.py,sha256=gueyFhHxyIwvHEkiSQARkJxsi7vNgoKatKowK6nCMBg,454
+msg_parser/cli.py,sha256=XruHhq4ejj_H_i5D1IfGIiKbx1kISys7EapG_sfg0GA,1845
+msg_parser/data_models.py,sha256=-wbnL6DRk1WQMEA7Ul6tOXWjuo71KL4qPamO0bPeOaM,5917
+msg_parser/email_builder.py,sha256=chvgXoAswkd3cc0LtC0dYZriwtgtvs8ijp74Nshu6-8,5063
+msg_parser/msg_parser.py,sha256=DOe-8AA9MpKuyUkgsej4qpfT-l4f8S5Ikqbgmwarqyg,17728
+msg_parser/properties/__init__.py,sha256=vUukwVXBMNtOlOQZUxX3Rf223fxrqGvQaAwhgO-eNBw,117
+msg_parser/properties/__pycache__/__init__.cpython-312.pyc,,
+msg_parser/properties/__pycache__/ms_props_date_type_map.cpython-312.pyc,,
+msg_parser/properties/__pycache__/ms_props_generator.cpython-312.pyc,,
+msg_parser/properties/__pycache__/ms_props_id_map.cpython-312.pyc,,
+msg_parser/properties/ms_exchange_props.txt,sha256=mrVoHQcK0UFwR6zbX_6evPRJhF0nvLr6XKuZ-2XDnpg,265964
+msg_parser/properties/ms_props_date_type_map.py,sha256=ImJgxOkWgA519rvw4v2WcJRZa65Co2Y1GtVEzmszDEs,1134
+msg_parser/properties/ms_props_generator.py,sha256=iKVfuHN7_oIAoAt886tuIM9R0I-nMaSFT2cG0HXTtr0,4426
+msg_parser/properties/ms_props_id_map.py,sha256=MpzL82q738XR85lraD2k6UX8ddjjmeaU0lrbpypcBuk,37930
+msg_parser/properties/ms_props_master.json,sha256=Ld49okOh8Sa43etYcdmCbKhHs0LpEdoAlz2OdAw97p0,496339
diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/WHEEL new file mode 100644 index 00000000..8b701e93 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/WHEEL @@ -0,0 +1,6 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.33.6) +Root-Is-Purelib: true +Tag: py2-none-any +Tag: py3-none-any + diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/entry_points.txt b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/entry_points.txt new file mode 100644 index 00000000..4a1378ae --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/entry_points.txt @@ -0,0 +1,3 @@ +[console_scripts] +msg_parser = msg_parser.cli:main + diff --git a/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/top_level.txt new file mode 100644 index 00000000..647fab0c --- /dev/null +++ b/.venv/lib/python3.12/site-packages/msg_parser-1.2.0.dist-info/top_level.txt @@ -0,0 +1 @@ +msg_parser |