Skip to content

Commit

Permalink
docs(README.md): fix wrong package name in the code examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bjoern-reetz committed May 26, 2024
1 parent 73f3f54 commit a0a4f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ Python data bindings for the [Common Alerting Protocol Version 1.2](https://docs

This package contains a Python model for CAP XML documents that was generated using using [xsData](https://xsdata.readthedocs.io/) along with some convenience utilities.

To parse a CAP XML from a file into an instance of `cappy.models.Alert`, do as follows:
To parse a CAP XML from a file into an instance of `cap_tools.models.Alert`, do as follows:

```python
from cappy.models import Alert
from cap_tools.models import Alert
from xsdata.formats.dataclass.parsers import XmlParser

parser = XmlParser()
Expand Down

0 comments on commit a0a4f7f

Please sign in to comment.