GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BlueSideStrongSide/msg_parser: Python module to read, parse and converting Microsoft Outlook MSG E-Mail files.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

12 Commits
12 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
dist
dist
 
 
docs
docs
 
 
msg_parser
msg_parser
 
 
tests
tests
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
AUTHORS.rst
AUTHORS.rst
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.rst
CONTRIBUTING.rst
 
 
HISTORY.rst
HISTORY.rst
 
 
LICENSE
LICENSE
 
 
MANIFEST.in
MANIFEST.in
 
 
Makefile
Makefile
 
 
README.rst
README.rst
 
 
requirements.txt
requirements.txt
 
 
requirements_dev.txt
requirements_dev.txt
 
 
setup.cfg
setup.cfg
 
 
setup.py
setup.py
 
 
tox.ini
tox.ini
 
 

Repository files navigation

msg_parser

Documentation Status 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

    pip install msg_parser
  • With RTF decompression

    pip install msg_parser[rtf]

Usage

  • Run CLI command

    $ 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

    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)

About

Python module to read, parse and converting Microsoft Outlook MSG E-Mail files.

Resources

Readme
BSD-2-Clause license

Code of conduct

Code of conduct

Contributing

Contributing
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.