edison-parser 0.2__tar.gz → 0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {edison_parser-0.2/src/edison_parser.egg-info → edison_parser-0.3}/PKG-INFO +10 -5
- {edison_parser-0.2 → edison_parser-0.3}/README.md +9 -4
- {edison_parser-0.2 → edison_parser-0.3/src/edison_parser.egg-info}/PKG-INFO +10 -5
- {edison_parser-0.2 → edison_parser-0.3}/src/edison_parser.egg-info/scm_version.json +2 -2
- {edison_parser-0.2 → edison_parser-0.3}/LICENSE +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/MANIFEST.in +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/pyproject.toml +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/setup.cfg +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison/__init__.py +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison/envelope.py +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison/parser.py +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison/py.typed +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison/tokenizer.py +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison_parser.egg-info/SOURCES.txt +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison_parser.egg-info/dependency_links.txt +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison_parser.egg-info/requires.txt +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison_parser.egg-info/scm_file_list.json +0 -0
- {edison_parser-0.2 → edison_parser-0.3}/src/edison_parser.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: edison-parser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3
|
|
4
4
|
Summary: An EDIFACT parser with a real syntax tree.
|
|
5
5
|
Author-email: Alex Prengère <alex.prengere@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -109,16 +109,21 @@ REF+3'
|
|
|
109
109
|
UNT+19+1'
|
|
110
110
|
"""
|
|
111
111
|
|
|
112
|
+
# Create the parser and parse this EDIFACT message.
|
|
113
|
+
# The `summary` attribute is populated by the callbacks.
|
|
112
114
|
parser = PIZZAQParser()
|
|
113
115
|
parser.parse(edi)
|
|
116
|
+
parser.summary # {"MARGARITA": 2, "PESTO": 1}
|
|
114
117
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
# Validate and pretty-print the message.
|
|
119
|
+
PIZZAQParser.validate(edi) # True/False
|
|
120
|
+
PIZZAQParser.show(edi) # to print
|
|
118
121
|
```
|
|
119
122
|
|
|
123
|
+
Here is the output of `PIZZAQParser.show(edi)`.
|
|
124
|
+
|
|
120
125
|
<div align="center">
|
|
121
|
-
<img src="https://raw.githubusercontent.com/AmadeusITGroup/Edison/main/docs/Image.png" width="
|
|
126
|
+
<img src="https://raw.githubusercontent.com/AmadeusITGroup/Edison/main/docs/Image.png" width="364" alt="Edison">
|
|
122
127
|
<p><strong>Tree-based structure.</strong></p>
|
|
123
128
|
</div>
|
|
124
129
|
|
|
@@ -84,16 +84,21 @@ REF+3'
|
|
|
84
84
|
UNT+19+1'
|
|
85
85
|
"""
|
|
86
86
|
|
|
87
|
+
# Create the parser and parse this EDIFACT message.
|
|
88
|
+
# The `summary` attribute is populated by the callbacks.
|
|
87
89
|
parser = PIZZAQParser()
|
|
88
90
|
parser.parse(edi)
|
|
91
|
+
parser.summary # {"MARGARITA": 2, "PESTO": 1}
|
|
89
92
|
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
+
# Validate and pretty-print the message.
|
|
94
|
+
PIZZAQParser.validate(edi) # True/False
|
|
95
|
+
PIZZAQParser.show(edi) # to print
|
|
93
96
|
```
|
|
94
97
|
|
|
98
|
+
Here is the output of `PIZZAQParser.show(edi)`.
|
|
99
|
+
|
|
95
100
|
<div align="center">
|
|
96
|
-
<img src="https://raw.githubusercontent.com/AmadeusITGroup/Edison/main/docs/Image.png" width="
|
|
101
|
+
<img src="https://raw.githubusercontent.com/AmadeusITGroup/Edison/main/docs/Image.png" width="364" alt="Edison">
|
|
97
102
|
<p><strong>Tree-based structure.</strong></p>
|
|
98
103
|
</div>
|
|
99
104
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: edison-parser
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3
|
|
4
4
|
Summary: An EDIFACT parser with a real syntax tree.
|
|
5
5
|
Author-email: Alex Prengère <alex.prengere@gmail.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -109,16 +109,21 @@ REF+3'
|
|
|
109
109
|
UNT+19+1'
|
|
110
110
|
"""
|
|
111
111
|
|
|
112
|
+
# Create the parser and parse this EDIFACT message.
|
|
113
|
+
# The `summary` attribute is populated by the callbacks.
|
|
112
114
|
parser = PIZZAQParser()
|
|
113
115
|
parser.parse(edi)
|
|
116
|
+
parser.summary # {"MARGARITA": 2, "PESTO": 1}
|
|
114
117
|
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
+
# Validate and pretty-print the message.
|
|
119
|
+
PIZZAQParser.validate(edi) # True/False
|
|
120
|
+
PIZZAQParser.show(edi) # to print
|
|
118
121
|
```
|
|
119
122
|
|
|
123
|
+
Here is the output of `PIZZAQParser.show(edi)`.
|
|
124
|
+
|
|
120
125
|
<div align="center">
|
|
121
|
-
<img src="https://raw.githubusercontent.com/AmadeusITGroup/Edison/main/docs/Image.png" width="
|
|
126
|
+
<img src="https://raw.githubusercontent.com/AmadeusITGroup/Edison/main/docs/Image.png" width="364" alt="Edison">
|
|
122
127
|
<p><strong>Tree-based structure.</strong></p>
|
|
123
128
|
</div>
|
|
124
129
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|