PySerials 0.0.0.dev2__tar.gz → 0.0.0.dev3__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.
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/PKG-INFO +2 -2
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/pyproject.toml +2 -2
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/PySerials.egg-info/PKG-INFO +2 -2
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/PySerials.egg-info/requires.txt +1 -1
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/validate.py +2 -2
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/README.md +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/setup.cfg +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/PySerials.egg-info/SOURCES.txt +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/PySerials.egg-info/dependency_links.txt +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/PySerials.egg-info/not-zip-safe +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/PySerials.egg-info/top_level.txt +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/__init__.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/exception/__init__.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/exception/_base.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/exception/read.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/exception/update.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/exception/validate.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/format.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/read.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/update.py +0 -0
- {PySerials-0.0.0.dev2 → pyserials-0.0.0.dev3}/src/pyserials/write.py +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PySerials
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev3
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
|
-
Requires-Dist: jsonschema<5,>=4.
|
|
5
|
+
Requires-Dist: jsonschema<5,>=4.21.0
|
|
6
6
|
Requires-Dist: ruamel.yaml<0.18,>=0.17.32
|
|
7
7
|
Requires-Dist: ruamel.yaml.string<1,>=0.1.1
|
|
8
8
|
Requires-Dist: tomlkit<0.12,>=0.11.8
|
|
@@ -17,10 +17,10 @@ namespaces = true
|
|
|
17
17
|
# ----------------------------------------- Project Metadata -------------------------------------
|
|
18
18
|
#
|
|
19
19
|
[project]
|
|
20
|
-
version = "0.0.0.
|
|
20
|
+
version = "0.0.0.dev3"
|
|
21
21
|
name = "PySerials"
|
|
22
22
|
dependencies = [
|
|
23
|
-
"jsonschema >= 4.
|
|
23
|
+
"jsonschema >= 4.21.0, < 5",
|
|
24
24
|
"ruamel.yaml >= 0.17.32, < 0.18", # https://yaml.readthedocs.io/en/stable/
|
|
25
25
|
"ruamel.yaml.string >= 0.1.1, < 1",
|
|
26
26
|
"tomlkit >= 0.11.8, < 0.12", # https://tomlkit.readthedocs.io/en/stable/,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: PySerials
|
|
3
|
-
Version: 0.0.0.
|
|
3
|
+
Version: 0.0.0.dev3
|
|
4
4
|
Requires-Python: >=3.10
|
|
5
|
-
Requires-Dist: jsonschema<5,>=4.
|
|
5
|
+
Requires-Dist: jsonschema<5,>=4.21.0
|
|
6
6
|
Requires-Dist: ruamel.yaml<0.18,>=0.17.32
|
|
7
7
|
Requires-Dist: ruamel.yaml.string<1,>=0.1.1
|
|
8
8
|
Requires-Dist: tomlkit<0.12,>=0.11.8
|
|
@@ -6,7 +6,7 @@ import pyserials.exception as _exception
|
|
|
6
6
|
def jsonschema(
|
|
7
7
|
data: dict | list | str | int | float | bool,
|
|
8
8
|
schema: dict,
|
|
9
|
-
validator: _jsonschema.
|
|
9
|
+
validator: _jsonschema.protocols.Validator = _jsonschema.Draft202012Validator,
|
|
10
10
|
fill_defaults: bool = True,
|
|
11
11
|
raise_invalid_data: bool = True,
|
|
12
12
|
) -> bool:
|
|
@@ -19,7 +19,7 @@ def jsonschema(
|
|
|
19
19
|
The data to validate.
|
|
20
20
|
schema : dict
|
|
21
21
|
The schema to validate the data against.
|
|
22
|
-
validator : jsonschema.
|
|
22
|
+
validator : jsonschema.protocols.Validator, default: jsonschema.Draft202012Validator
|
|
23
23
|
The JSON schema validator to use.
|
|
24
24
|
fill_defaults : bool, default: True
|
|
25
25
|
Whether to fill in the data with default values from the schema,
|
|
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
|