Skip to content

Commit

Permalink
Add explainer to README and fixed pip install example
Browse files Browse the repository at this point in the history
  • Loading branch information
phoughton committed May 25, 2024
1 parent 812798a commit 1ba5415
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ A suite of classes to support payment message generation (for ISO 20022 payment

```bash
pip install pyiso20022
pip install xsdata
pip install xsdata[cli,lxml,soap]
```

Then use this code:
Expand All @@ -27,6 +27,10 @@ print(doc.cstmr_cdt_trf_initn.pmt_inf[0].dbtr.pstl_adr.pst_cd)

## Create a MX (ISO20022) payment message programatically:

This is an example of a realistic PACS.008 MX payment message.

Depending on your setup you may need a different or even no wrapper element (I've used <MSGRoot> here, but yours might be called something different etc)

```python
from pyiso20022.pacs.pacs_008_001_08 import *
import pyiso20022.head.head_001_001_02 as hd
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
pytest
# generateDS
xsdata[cli,lxml,soap]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pyiso20022",
version="0.0.12,
version="0.1.1",
author="Peter Houghton",
author_email="[email protected]",
description="pyiso20022 is a library for generating ISO20022 messages in Python.",
Expand Down

0 comments on commit 1ba5415

Please sign in to comment.