labfreed 0.2.5a19__tar.gz → 0.2.5a21__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.
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/PKG-INFO +1 -1
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/__init__.py +1 -1
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/python_convenience/pyTREX.py +3 -3
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/python_convenience/quantity.py +1 -1
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/.github/workflows/pypi-publish.yml +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/.github/workflows/run-tests.yml +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/CHANGELOG.md +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/LICENSE +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/README.md +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/labfreed_infrastructure.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_cat/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_cat/category_base.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_cat/pac_cat.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_cat/predefined_categories.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id/extension.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id/id_segment.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id/pac_id.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id/url_parser.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id/url_serializer.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id_resolver/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id_resolver/cit_v1.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id_resolver/cit_v2.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id_resolver/resolver.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/pac_id_resolver/services.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/qr/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/qr/generate_qr.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/python_convenience/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/python_convenience/data_table.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/table_segment.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/trex.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/trex_base_models.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/trex/value_segments.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/utilities/base36.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_extensions/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_extensions/default_extension_interpreters.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_extensions/display_name_extension.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_extensions/trex_extension.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/gs1/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/gs1/gs1.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/gs1/gs1_ai_enum_sorted.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/labfreed/well_known_keys.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/unece/UneceUnits.json +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/unece/__init__.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/unece/unece_units.py +0 -0
- {labfreed-0.2.5a19 → labfreed-0.2.5a21}/pyproject.toml +0 -0
|
@@ -77,9 +77,9 @@ class pyTREX(RootModel[dict[str, Quantity | datetime | time | date | bool | str
|
|
|
77
77
|
if re.fullmatch(r'[A-Z0-9\-\.]*', rt):
|
|
78
78
|
t = 'T.A'
|
|
79
79
|
else:
|
|
80
|
-
t = 'T.
|
|
80
|
+
t = 'T.T'
|
|
81
81
|
elif isinstance(rt, base36):
|
|
82
|
-
t = 'T.
|
|
82
|
+
t = 'T.T'
|
|
83
83
|
|
|
84
84
|
headers.append(ColumnHeader(key=nm, type=t))
|
|
85
85
|
data = []
|
|
@@ -238,7 +238,7 @@ def _trex_value_to_python_type(v):
|
|
|
238
238
|
return decoded
|
|
239
239
|
|
|
240
240
|
elif isinstance(v, BinaryValue):
|
|
241
|
-
decoded = bytes(from_base36(v.value))
|
|
241
|
+
decoded = bytes(from_base36(v.value), encoding='utf-8')
|
|
242
242
|
return decoded
|
|
243
243
|
|
|
244
244
|
elif isinstance(v, ErrorValue):
|
|
@@ -13,7 +13,7 @@ class Quantity(BaseModel):
|
|
|
13
13
|
@classmethod
|
|
14
14
|
def transform_inputs(cls, d:dict):
|
|
15
15
|
if not isinstance(d, dict):
|
|
16
|
-
|
|
16
|
+
return d
|
|
17
17
|
# decimals_to_log_significant_digits
|
|
18
18
|
if decimals:= d.pop('decimals', None):
|
|
19
19
|
d['log_least_significant_digit'] = - decimals
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_extensions/display_name_extension.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{labfreed-0.2.5a19 → labfreed-0.2.5a21}/labfreed/well_known_keys/labfreed/well_known_keys.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|