mls-parser 0.0.2__py3-none-any.whl → 0.0.3__py3-none-any.whl
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.
- mls_parser/__init__.py +1 -1
- {mls_parser-0.0.2.dist-info → mls_parser-0.0.3.dist-info}/METADATA +7 -7
- {mls_parser-0.0.2.dist-info → mls_parser-0.0.3.dist-info}/RECORD +7 -7
- {mls_parser-0.0.2.dist-info → mls_parser-0.0.3.dist-info}/LICENSE +0 -0
- {mls_parser-0.0.2.dist-info → mls_parser-0.0.3.dist-info}/WHEEL +0 -0
- {mls_parser-0.0.2.dist-info → mls_parser-0.0.3.dist-info}/entry_points.txt +0 -0
- {mls_parser-0.0.2.dist-info → mls_parser-0.0.3.dist-info}/top_level.txt +0 -0
mls_parser/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
version = "0.0.
|
1
|
+
version = "0.0.3"
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: mls-parser
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.3
|
4
4
|
Summary: Flatland Model Layout Sheet Parser
|
5
5
|
Author-email: Leon Starr <leon_starr@modelint.com>
|
6
6
|
License: MIT License
|
@@ -43,9 +43,9 @@ Provides-Extra: dev
|
|
43
43
|
Requires-Dist: bump2version; extra == "dev"
|
44
44
|
Requires-Dist: pytest; extra == "dev"
|
45
45
|
|
46
|
-
# Model Layout Parser
|
46
|
+
# Model Layout Sheet Parser
|
47
47
|
|
48
|
-
Parses an *.mls file (Model Layout
|
48
|
+
Parses an *.mls file (Model Layout Sheet) to yield an abstract syntax tree using python named tuples
|
49
49
|
|
50
50
|
### Why you need this
|
51
51
|
|
@@ -53,7 +53,7 @@ You need to process an *.mls file to layout a model diagram
|
|
53
53
|
|
54
54
|
### Installation
|
55
55
|
|
56
|
-
Create or use a python 3.
|
56
|
+
Create or use a python 3.11+ environment. Then
|
57
57
|
|
58
58
|
% pip install mls-parser
|
59
59
|
|
@@ -63,7 +63,7 @@ At this point you can invoke the parser via the command line or from your python
|
|
63
63
|
|
64
64
|
You need this import statement at a minimum:
|
65
65
|
|
66
|
-
from
|
66
|
+
from mls_parser.parser import LayoutParser
|
67
67
|
|
68
68
|
You can then specify a path as shown:
|
69
69
|
|
@@ -88,7 +88,7 @@ You can also specify a debug option like this:
|
|
88
88
|
|
89
89
|
% mls elevator.mls -D
|
90
90
|
|
91
|
-
This will create a scrall-diagnostics folder in your current working directory and deposite a
|
91
|
+
This will create a scrall-diagnostics folder in your current working directory and deposite a couple of PDFs defining
|
92
92
|
the parse of both the class model grammar: `class_model_tree.pdf` and your supplied text: `class_model.pdf`.
|
93
93
|
|
94
|
-
You should also see a file named `
|
94
|
+
You should also see a file named `mls_parser.log` in a diagnostics directory within your working directory
|
@@ -1,13 +1,13 @@
|
|
1
|
-
mls_parser/__init__.py,sha256=
|
1
|
+
mls_parser/__init__.py,sha256=RRD0ADRcVyDY2lO9M6qp2acyRCweTNRWI9gN-ZwdERY,18
|
2
2
|
mls_parser/__main__.py,sha256=NkowelWxc7cc6HRmcRRcWMdMShy0nKC4uO4Rm9EuB-g,1877
|
3
3
|
mls_parser/exceptions.py,sha256=hJx2OZPTEFOS4RqZJfH0meqV4ZzH7iBP7O9fXLV_McI,3059
|
4
4
|
mls_parser/layout.peg,sha256=BBAeHYR5hBgThUtCej5FmiphI3DlV_1kGJh4NgvnFLo,6019
|
5
5
|
mls_parser/layout_parser.py,sha256=fahdd8YeyJybJXZzz-lDoMi202Sv5UFJa0oGGmMiYcA,4854
|
6
6
|
mls_parser/layout_visitor.py,sha256=krXYZHIs0UkwJ446fYEmyLs448Iq5nPmOa2QRIh0rHI,18008
|
7
7
|
mls_parser/log.conf,sha256=EL_8Pn8A7gz1IV_AODmgtQdBsOREtmhaoomIuAxMSLk,867
|
8
|
-
mls_parser-0.0.
|
9
|
-
mls_parser-0.0.
|
10
|
-
mls_parser-0.0.
|
11
|
-
mls_parser-0.0.
|
12
|
-
mls_parser-0.0.
|
13
|
-
mls_parser-0.0.
|
8
|
+
mls_parser-0.0.3.dist-info/LICENSE,sha256=kL0xVrwl2i3Pk9mQXAVAPANCTaLGGOsoXgvqW7TBs20,1072
|
9
|
+
mls_parser-0.0.3.dist-info/METADATA,sha256=UcjfPpYuDFSlwMYZDovoJypyokmpWfUakuBpO2_2Tkw,4032
|
10
|
+
mls_parser-0.0.3.dist-info/WHEEL,sha256=OVMc5UfuAQiSplgO0_WdW7vXVGAt9Hdd6qtN4HotdyA,91
|
11
|
+
mls_parser-0.0.3.dist-info/entry_points.txt,sha256=HsIgu1_OJw84-8oMi7zGKznq7oQgpviMC_HL46vsjVo,49
|
12
|
+
mls_parser-0.0.3.dist-info/top_level.txt,sha256=s_pWxPSrMvumqwFDqPVWrajhZO2giOrZg9acHgn6h8Q,11
|
13
|
+
mls_parser-0.0.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|