pysdmx 1.5.0__py3-none-any.whl → 1.5.1__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.
- pysdmx/__init__.py +1 -1
- pysdmx/io/input_processor.py +3 -3
- {pysdmx-1.5.0.dist-info → pysdmx-1.5.1.dist-info}/METADATA +1 -1
- {pysdmx-1.5.0.dist-info → pysdmx-1.5.1.dist-info}/RECORD +6 -6
- {pysdmx-1.5.0.dist-info → pysdmx-1.5.1.dist-info}/LICENSE +0 -0
- {pysdmx-1.5.0.dist-info → pysdmx-1.5.1.dist-info}/WHEEL +0 -0
pysdmx/__init__.py
CHANGED
pysdmx/io/input_processor.py
CHANGED
|
@@ -13,9 +13,11 @@ from httpx import HTTPStatusError, create_ssl_context
|
|
|
13
13
|
|
|
14
14
|
from pysdmx.errors import Invalid, NotImplemented
|
|
15
15
|
from pysdmx.io.format import Format
|
|
16
|
-
from pysdmx.io.xml.__parse_xml import SCHEMA_ROOT_31
|
|
17
16
|
from pysdmx.util import map_httpx_errors
|
|
18
17
|
|
|
18
|
+
SCHEMA_ROOT_31 = "http://www.sdmx.org/resources/sdmxml/schemas/v3_1/"
|
|
19
|
+
SCHEMA_ROOT_30 = "http://www.sdmx.org/resources/sdmxml/schemas/v3_0/"
|
|
20
|
+
|
|
19
21
|
|
|
20
22
|
def __remove_bom(input_string: str) -> str:
|
|
21
23
|
return input_string.replace("\ufeff", "")
|
|
@@ -55,8 +57,6 @@ def __get_sdmx_ml_flavour(input_str: str) -> Tuple[str, Format]:
|
|
|
55
57
|
flavour_check = input_str[:1000].lower()
|
|
56
58
|
if ":generic" in flavour_check:
|
|
57
59
|
return input_str, Format.DATA_SDMX_ML_2_1_GEN
|
|
58
|
-
# Local import to ensure xml extra is checked at the latest moment
|
|
59
|
-
from pysdmx.io.xml.__parse_xml import SCHEMA_ROOT_30
|
|
60
60
|
|
|
61
61
|
if ":structurespecificdata" in flavour_check:
|
|
62
62
|
if SCHEMA_ROOT_30 in flavour_check:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
pysdmx/__extras_check.py,sha256=I39OaM1lAPBnyzHVJ7kA_ZA_tMeDAQLr6ZKqEQ9MK1Q,1659
|
|
2
|
-
pysdmx/__init__.py,sha256=
|
|
2
|
+
pysdmx/__init__.py,sha256=z-vLpdw9oC6bSbEIM2q_cn84_qONSZW-Rh1XtlJ5S2w,67
|
|
3
3
|
pysdmx/api/__init__.py,sha256=8lRaF6kEO51ehl0fmW_pHLvkN_34TtEhqhr3oKo6E6g,26
|
|
4
4
|
pysdmx/api/dc/__init__.py,sha256=oPU32X8CRZy4T1to9mO5KMqMwxQsVI424dPqai-I8zI,121
|
|
5
5
|
pysdmx/api/dc/_api.py,sha256=poy1FYFXnF6maBGy5lpOodf32-7QQjH8PCBNDkuOXxQ,7747
|
|
@@ -32,7 +32,7 @@ pysdmx/io/csv/sdmx20/__init__.py,sha256=mNfMJKSpmMfk4CbbHhjnBOTQ2IZFY15cNUhHtJPc
|
|
|
32
32
|
pysdmx/io/csv/sdmx20/reader/__init__.py,sha256=HSSUE3iL9g2Bzb_vKw97-Uw_3H3yUQxN8ssAyr1EJkI,4925
|
|
33
33
|
pysdmx/io/csv/sdmx20/writer/__init__.py,sha256=xqNg2L2BdCkKVIkMrBpkbR6wq2gZ3r1K7oZRkZ1aBoU,2062
|
|
34
34
|
pysdmx/io/format.py,sha256=BJghvHaXNvsfqJCWvB8jhjGMaLPv7zi7N12O0qRwChc,4749
|
|
35
|
-
pysdmx/io/input_processor.py,sha256=
|
|
35
|
+
pysdmx/io/input_processor.py,sha256=KJPWOumYqjoewetbFQ4qzqDqOC6hpcksaThvLp_Y7Oc,6366
|
|
36
36
|
pysdmx/io/json/fusion/messages/__init__.py,sha256=C0LAG6UfIZcQdlCv5d_D1ZNIcCq04RxZYLAp6tLDqwY,1573
|
|
37
37
|
pysdmx/io/json/fusion/messages/category.py,sha256=E9jrzXenEpqDNUhT1JJLYxty37PSGegRtx45mB3-COg,4589
|
|
38
38
|
pysdmx/io/json/fusion/messages/code.py,sha256=kB3RJiSA75G4IJYObYR0hdiXYcRs-vNMKqUeA6F4SSo,7529
|
|
@@ -142,7 +142,7 @@ pysdmx/util/__init__.py,sha256=m_XWRAmVJ7F6ai4Ckrj_YuPbhg3cJZAXeZrEThrL88k,3997
|
|
|
142
142
|
pysdmx/util/_date_pattern_map.py,sha256=IS1qONwVHbTBNIFCT0Rqbijj2a9mYvs7onXSK6GeQAQ,1620
|
|
143
143
|
pysdmx/util/_model_utils.py,sha256=d0XY8cnxvviQtkJJInVik7LWeuqX-eb4-zikFortL58,2335
|
|
144
144
|
pysdmx/util/_net_utils.py,sha256=nOTz_x3FgFrwKh42_J70IqYXz9duQkMFJWtejZXcLHs,1326
|
|
145
|
-
pysdmx-1.5.
|
|
146
|
-
pysdmx-1.5.
|
|
147
|
-
pysdmx-1.5.
|
|
148
|
-
pysdmx-1.5.
|
|
145
|
+
pysdmx-1.5.1.dist-info/LICENSE,sha256=3XTNDPtv2RxDUNkQzn9MIWit2u7_Ob5daMLEq-4pBJs,649
|
|
146
|
+
pysdmx-1.5.1.dist-info/METADATA,sha256=zXxqRJPu9mcdYc_jg1gR0gKKUhDo3nYmEywnP2Co0Zc,4690
|
|
147
|
+
pysdmx-1.5.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
148
|
+
pysdmx-1.5.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|