usfmtc 0.2.1__tar.gz → 0.2.2__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.
- {usfmtc-0.2.1/python/lib/usfmtc.egg-info → usfmtc-0.2.2}/PKG-INFO +1 -1
- {usfmtc-0.2.1 → usfmtc-0.2.2}/pyproject.toml +1 -1
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/__init__.py +2 -2
- {usfmtc-0.2.1 → usfmtc-0.2.2/python/lib/usfmtc.egg-info}/PKG-INFO +1 -1
- {usfmtc-0.2.1 → usfmtc-0.2.2}/LICENSE.md +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/README.md +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/README.md +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/diagrams.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/extension.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/grammar.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/parser.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/railroad.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/reference.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/rnc2rng/__init__.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/rnc2rng/parser.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/rnc2rng/rnctree.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/rnc2rng/serializer.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/sfmparser.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/usfmgenerate.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/usfmparser.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/usjproc.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/usx.rng +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/usxgrammar.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/usxmodel.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/usxparser.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc/xmlutils.py +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc.egg-info/SOURCES.txt +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc.egg-info/dependency_links.txt +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc.egg-info/entry_points.txt +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc.egg-info/requires.txt +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/python/lib/usfmtc.egg-info/top_level.txt +0 -0
- {usfmtc-0.2.1 → usfmtc-0.2.2}/setup.cfg +0 -0
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# nuitka-project-else:
|
|
9
9
|
# nuitka-project: --output-filename=usfmconv.bin
|
|
10
10
|
|
|
11
|
-
import os
|
|
11
|
+
import os, json
|
|
12
12
|
from usfmtc.sfmparser import parseusfm, UsfmParserBackend
|
|
13
13
|
from usfmtc.parser import NoParseError
|
|
14
14
|
from usfmtc.extension import Extensions
|
|
@@ -192,7 +192,7 @@ class USX:
|
|
|
192
192
|
|
|
193
193
|
def outUsj(self, file=None):
|
|
194
194
|
""" Output USJ from USX object. If file is None returns dict """
|
|
195
|
-
res
|
|
195
|
+
res = usxtousj(self.xml)
|
|
196
196
|
if file is None:
|
|
197
197
|
return res
|
|
198
198
|
else:
|
|
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
|
|
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
|