asnkit-gen-python 1.1.0__tar.gz → 1.2.0__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.
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/PKG-INFO +2 -2
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/pyproject.toml +2 -2
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/pyproject.toml.orig +2 -2
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/src/asnkit_gen_python/generate.py +5 -1
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/src/asnkit_gen_python/version.py +1 -1
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/LICENSE-COMPILER +0 -0
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/README.rst +0 -0
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/src/asnkit_gen_python/__init__.py +0 -0
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/src/asnkit_gen_python/__main__.py +0 -0
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/src/asnkit_gen_python/cli.py +0 -0
- {asnkit_gen_python-1.1.0 → asnkit_gen_python-1.2.0}/src/asnkit_gen_python/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: asnkit-gen-python
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: asnkit plugin that makes Python code with data classes from ASN.1
|
|
5
5
|
Author: xadaemon
|
|
6
6
|
Author-email: xadaemon <mxavier@boxtheta.com>
|
|
@@ -10,7 +10,7 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
10
10
|
Classifier: Intended Audience :: Developers
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Topic :: Software Development :: Code Generators
|
|
13
|
-
Requires-Dist: asnkitrt==1.
|
|
13
|
+
Requires-Dist: asnkitrt==1.2.0
|
|
14
14
|
Requires-Python: >=3.13
|
|
15
15
|
Project-URL: source, https://github.com/boxtheta/asnkit
|
|
16
16
|
Description-Content-Type: text/x-rst
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "asnkit-gen-python"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.2.0"
|
|
4
4
|
description = "asnkit plugin that makes Python code with data classes from ASN.1"
|
|
5
5
|
readme = "README.rst"
|
|
6
6
|
requires-python = ">=3.13"
|
|
7
|
-
dependencies = ["asnkitrt==1.
|
|
7
|
+
dependencies = ["asnkitrt==1.2.0"]
|
|
8
8
|
license = "Apache-2.0"
|
|
9
9
|
license-files = ["LICENSE-COMPILER"]
|
|
10
10
|
classifiers = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "asnkit-gen-python"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.2.0"
|
|
4
4
|
description = "asnkit plugin that makes Python code with data classes from ASN.1"
|
|
5
5
|
readme = "README.rst"
|
|
6
6
|
authors = [
|
|
@@ -8,7 +8,7 @@ authors = [
|
|
|
8
8
|
]
|
|
9
9
|
requires-python = ">=3.13"
|
|
10
10
|
dependencies = [
|
|
11
|
-
"asnkitrt==1.
|
|
11
|
+
"asnkitrt==1.2.0",
|
|
12
12
|
]
|
|
13
13
|
license = "Apache-2.0"
|
|
14
14
|
license-files = ["LICENSE-COMPILER"]
|
|
@@ -18,6 +18,10 @@ from typing import Any
|
|
|
18
18
|
|
|
19
19
|
from asnkitrt import syntax
|
|
20
20
|
|
|
21
|
+
# The resolved dictionaries are not part of the API of asnkitrt, which is
|
|
22
|
+
# released with this plugin.
|
|
23
|
+
from asnkitrt.syntax.convert import _compiled_to_dict
|
|
24
|
+
|
|
21
25
|
DEFAULT_CODEC = "ber"
|
|
22
26
|
|
|
23
27
|
# What asnkitrt encodes and decodes a type as, by the name of the type.
|
|
@@ -340,7 +344,7 @@ class Generator:
|
|
|
340
344
|
self.sources = sources
|
|
341
345
|
self.codec = codec
|
|
342
346
|
self.embed = embed
|
|
343
|
-
self.modules: dict[str, Any] =
|
|
347
|
+
self.modules: dict[str, Any] = _compiled_to_dict(compiled)
|
|
344
348
|
self.blocks: list[str] = []
|
|
345
349
|
self.registrations: list[str] = []
|
|
346
350
|
self.functions: list[str] = []
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|