Metadata-Version: 2.4
Name: paperlessngx_mjp_parser
Version: 3.0.1
Summary: Paperless-ngx parser for ZIP-files from german 'Mein Justizpostfach' (MJP)
Author: toweosp
Author-email: toweosp <dev@toweosp.org>
License-Expression: GPL-3.0-only
License-File: LICENSE
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.12
Project-URL: Homepage, https://github.com/toweosp/paperlessngx-mjp-parser
Project-URL: Issues, https://github.com/toweosp/paperlessngx-mjp-parser/issues
Description-Content-Type: text/markdown

# Custom Paperless-ngx parser for zip files from german Mein Justizpostfach (MJP)

This custom parser for Paperless-ngx takes a zip file from german "Mein Justizpostfach" (https://mjp.justiz.de/) and creates a pdf preview containing all attachments present in the zip file. Furthermore the creation date is extracted from the xjustiz_nachricht.xml file.

The zip content must have the following structure:

    Technische Dokumente/
        xjustiz_nachricht.xml

    Anlagen/
        *.pdf

## Prerequisites
Paperless-ngx version 3

## Installation
`pip install paperlessngx-mjp-parser`

For docker based installations use custom container initialization as described here: https://docs.paperless-ngx.com/advanced_usage/#custom-container-initialization

Place a script with the following content in the directory for your container initialization scripts and make it executable:

```
#!/bin/bash
pip install paperlessngx-mjp-parser
```
