scjson 0.3.5__tar.gz → 0.3.6__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.
Files changed (76) hide show
  1. {scjson-0.3.5 → scjson-0.3.6}/MANIFEST.in +1 -1
  2. {scjson-0.3.5/scjson.egg-info → scjson-0.3.6}/PKG-INFO +1 -1
  3. {scjson-0.3.5 → scjson-0.3.6}/pyproject.toml +5 -2
  4. scjson-0.3.6/scjson/dataclasses/__init__.py +121 -0
  5. scjson-0.3.6/scjson/dataclasses/generated.py +1754 -0
  6. scjson-0.3.6/scjson/dataclasses_strict/__init__.py +121 -0
  7. scjson-0.3.6/scjson/dataclasses_strict/generated.py +1761 -0
  8. scjson-0.3.6/scjson/pydantic/__init__.py +121 -0
  9. scjson-0.3.6/scjson/pydantic/generated.py +1185 -0
  10. scjson-0.3.6/scjson/pydantic_strict/__init__.py +121 -0
  11. scjson-0.3.6/scjson/pydantic_strict/generated.py +1188 -0
  12. scjson-0.3.6/scjson/templates/base.rb.jinja2 +4 -0
  13. scjson-0.3.6/scjson/templates/base.rs.jinja2 +2 -0
  14. scjson-0.3.6/scjson/templates/base.swift.jinja2 +4 -0
  15. scjson-0.3.6/scjson/templates/base.ts.jinja2 +21 -0
  16. scjson-0.3.6/scjson/templates/scjson_props.rb.jinja2 +152 -0
  17. scjson-0.3.6/scjson/templates/scjson_props.rs.jinja2 +96 -0
  18. scjson-0.3.6/scjson/templates/scjson_props.swift.jinja2 +184 -0
  19. scjson-0.3.6/scjson/templates/scjson_props.ts.jinja2 +150 -0
  20. {scjson-0.3.5 → scjson-0.3.6/scjson.egg-info}/PKG-INFO +1 -1
  21. {scjson-0.3.5 → scjson-0.3.6}/scjson.egg-info/SOURCES.txt +20 -1
  22. {scjson-0.3.5 → scjson-0.3.6}/scjson.egg-info/top_level.txt +1 -0
  23. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_cli.cpython-311-pytest-8.4.1.pyc +0 -0
  24. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_engine.cpython-311-pytest-8.4.1.pyc +0 -0
  25. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_engine_cli.cpython-311-pytest-8.4.1.pyc +0 -0
  26. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_exec_compare_advanced.cpython-311-pytest-8.4.1.pyc +0 -0
  27. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_exec_compare_integration.cpython-311-pytest-8.4.1.pyc +0 -0
  28. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_exec_sweep_corpus.cpython-311-pytest-8.4.1.pyc +0 -0
  29. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_exec_sweep_integration.cpython-311-pytest-8.4.1.pyc +0 -0
  30. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_json_stream.cpython-311-pytest-8.4.1.pyc +0 -0
  31. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_safe_eval.cpython-311-pytest-8.4.1.pyc +0 -0
  32. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_vector_analyzer.cpython-311-pytest-8.4.1.pyc +0 -0
  33. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_vector_coverage.cpython-311-pytest-8.4.1.pyc +0 -0
  34. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_vector_gen.cpython-311-pytest-8.4.1.pyc +0 -0
  35. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_vector_invoke.cpython-311-pytest-8.4.1.pyc +0 -0
  36. {scjson-0.3.5 → scjson-0.3.6}/tests/__pycache__/test_vector_search.cpython-311-pytest-8.4.1.pyc +0 -0
  37. scjson-0.3.6/vector_lib/analyzer.py +463 -0
  38. scjson-0.3.6/vector_lib/coverage.py +71 -0
  39. scjson-0.3.6/vector_lib/search.py +123 -0
  40. {scjson-0.3.5 → scjson-0.3.6}/LEGAL.md +0 -0
  41. {scjson-0.3.5 → scjson-0.3.6}/LICENSE +0 -0
  42. {scjson-0.3.5 → scjson-0.3.6}/README.md +0 -0
  43. {scjson-0.3.5 → scjson-0.3.6}/exec_compare.py +0 -0
  44. {scjson-0.3.5 → scjson-0.3.6}/exec_sweep.py +0 -0
  45. {scjson-0.3.5 → scjson-0.3.6}/scjson/CaseStyle.py +0 -0
  46. {scjson-0.3.5 → scjson-0.3.6}/scjson/SCXMLDocumentHandler.py +0 -0
  47. {scjson-0.3.5 → scjson-0.3.6}/scjson/__init__.py +0 -0
  48. {scjson-0.3.5 → scjson-0.3.6}/scjson/__main__.py +0 -0
  49. {scjson-0.3.5 → scjson-0.3.6}/scjson/activation.py +0 -0
  50. {scjson-0.3.5 → scjson-0.3.6}/scjson/cli.py +0 -0
  51. {scjson-0.3.5 → scjson-0.3.6}/scjson/context.py +0 -0
  52. {scjson-0.3.5 → scjson-0.3.6}/scjson/engine.py +0 -0
  53. {scjson-0.3.5 → scjson-0.3.6}/scjson/events.py +0 -0
  54. {scjson-0.3.5 → scjson-0.3.6}/scjson/invoke.py +0 -0
  55. {scjson-0.3.5 → scjson-0.3.6}/scjson/jinja_gen.py +0 -0
  56. {scjson-0.3.5 → scjson-0.3.6}/scjson/json_stream.py +0 -0
  57. {scjson-0.3.5 → scjson-0.3.6}/scjson/safe_eval.py +0 -0
  58. {scjson-0.3.5 → scjson-0.3.6}/scjson.egg-info/dependency_links.txt +0 -0
  59. {scjson-0.3.5 → scjson-0.3.6}/scjson.egg-info/entry_points.txt +0 -0
  60. {scjson-0.3.5 → scjson-0.3.6}/scjson.egg-info/requires.txt +0 -0
  61. {scjson-0.3.5 → scjson-0.3.6}/setup.cfg +0 -0
  62. {scjson-0.3.5 → scjson-0.3.6}/tests/test_cli.py +0 -0
  63. {scjson-0.3.5 → scjson-0.3.6}/tests/test_engine.py +0 -0
  64. {scjson-0.3.5 → scjson-0.3.6}/tests/test_engine_cli.py +0 -0
  65. {scjson-0.3.5 → scjson-0.3.6}/tests/test_exec_compare_advanced.py +0 -0
  66. {scjson-0.3.5 → scjson-0.3.6}/tests/test_exec_compare_integration.py +0 -0
  67. {scjson-0.3.5 → scjson-0.3.6}/tests/test_exec_sweep_corpus.py +0 -0
  68. {scjson-0.3.5 → scjson-0.3.6}/tests/test_exec_sweep_integration.py +0 -0
  69. {scjson-0.3.5 → scjson-0.3.6}/tests/test_json_stream.py +0 -0
  70. {scjson-0.3.5 → scjson-0.3.6}/tests/test_safe_eval.py +0 -0
  71. {scjson-0.3.5 → scjson-0.3.6}/tests/test_vector_analyzer.py +0 -0
  72. {scjson-0.3.5 → scjson-0.3.6}/tests/test_vector_coverage.py +0 -0
  73. {scjson-0.3.5 → scjson-0.3.6}/tests/test_vector_gen.py +0 -0
  74. {scjson-0.3.5 → scjson-0.3.6}/tests/test_vector_invoke.py +0 -0
  75. {scjson-0.3.5 → scjson-0.3.6}/tests/test_vector_search.py +0 -0
  76. {scjson-0.3.5 → scjson-0.3.6}/vector_gen.py +0 -0
@@ -2,4 +2,4 @@ include README.md
2
2
  include LEGAL.md
3
3
  include LICENSE
4
4
  recursive-include tests *
5
- recursive-include templates *
5
+ recursive-include scjson/templates *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: scjson
3
- Version: 0.3.5
3
+ Version: 0.3.6
4
4
  Summary: A JSON-based serialization of SCXML (State Chart XML) for modern tooling, interoperability, and education, with execution engine and trace tools for SCXML/SCML.
5
5
  Author-email: Ira Abbott <ira@mycloud.blue>
6
6
  License-Expression: BSD-1-Clause
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "scjson"
3
- version = "0.3.5"
3
+ version = "0.3.6"
4
4
  description = "A JSON-based serialization of SCXML (State Chart XML) for modern tooling, interoperability, and education, with execution engine and trace tools for SCXML/SCML."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.8"
@@ -28,6 +28,9 @@ requires = ["setuptools>=61.0"]
28
28
  build-backend = "setuptools.build_meta"
29
29
 
30
30
  [tool.setuptools]
31
- packages = ["scjson"]
31
+ include-package-data = true
32
32
  # Install top-level helper modules used by CLI workflows as importable modules
33
33
  py-modules = ["exec_compare", "exec_sweep", "vector_gen"]
34
+
35
+ [tool.setuptools.packages.find]
36
+ include = ["scjson", "scjson.*", "vector_lib"]
@@ -0,0 +1,121 @@
1
+ from .generated import (
2
+ Assign,
3
+ AssignTypeDatatype,
4
+ BindingDatatype,
5
+ BooleanDatatype,
6
+ Cancel,
7
+ Content,
8
+ Data,
9
+ Datamodel,
10
+ Donedata,
11
+ Else,
12
+ Elseif,
13
+ ExmodeDatatype,
14
+ Final,
15
+ Finalize,
16
+ Foreach,
17
+ History,
18
+ HistoryTypeDatatype,
19
+ If,
20
+ Initial,
21
+ Invoke,
22
+ Log,
23
+ Onentry,
24
+ Onexit,
25
+ Parallel,
26
+ Param,
27
+ Raise,
28
+ Script,
29
+ Scxml,
30
+ ScxmlAssignType,
31
+ ScxmlCancelType,
32
+ ScxmlContentType,
33
+ ScxmlDatamodelType,
34
+ ScxmlDataType,
35
+ ScxmlDonedataType,
36
+ ScxmlElseifType,
37
+ ScxmlElseType,
38
+ ScxmlFinalizeType,
39
+ ScxmlFinalType,
40
+ ScxmlForeachType,
41
+ ScxmlHistoryType,
42
+ ScxmlIfType,
43
+ ScxmlInitialType,
44
+ ScxmlInvokeType,
45
+ ScxmlLogType,
46
+ ScxmlOnentryType,
47
+ ScxmlOnexitType,
48
+ ScxmlParallelType,
49
+ ScxmlParamType,
50
+ ScxmlRaiseType,
51
+ ScxmlScriptType,
52
+ ScxmlScxmlType,
53
+ ScxmlSendType,
54
+ ScxmlStateType,
55
+ ScxmlTransitionType,
56
+ Send,
57
+ State,
58
+ Transition,
59
+ TransitionTypeDatatype,
60
+ )
61
+
62
+ __all__ = [
63
+ "AssignTypeDatatype",
64
+ "BindingDatatype",
65
+ "BooleanDatatype",
66
+ "ExmodeDatatype",
67
+ "HistoryTypeDatatype",
68
+ "TransitionTypeDatatype",
69
+ "Assign",
70
+ "Cancel",
71
+ "Content",
72
+ "Data",
73
+ "Datamodel",
74
+ "Donedata",
75
+ "Else",
76
+ "Elseif",
77
+ "Final",
78
+ "Finalize",
79
+ "Foreach",
80
+ "History",
81
+ "If",
82
+ "Initial",
83
+ "Invoke",
84
+ "Log",
85
+ "Onentry",
86
+ "Onexit",
87
+ "Parallel",
88
+ "Param",
89
+ "Raise",
90
+ "Script",
91
+ "Scxml",
92
+ "ScxmlAssignType",
93
+ "ScxmlCancelType",
94
+ "ScxmlContentType",
95
+ "ScxmlDataType",
96
+ "ScxmlDatamodelType",
97
+ "ScxmlDonedataType",
98
+ "ScxmlElseType",
99
+ "ScxmlElseifType",
100
+ "ScxmlFinalType",
101
+ "ScxmlFinalizeType",
102
+ "ScxmlForeachType",
103
+ "ScxmlHistoryType",
104
+ "ScxmlIfType",
105
+ "ScxmlInitialType",
106
+ "ScxmlInvokeType",
107
+ "ScxmlLogType",
108
+ "ScxmlOnentryType",
109
+ "ScxmlOnexitType",
110
+ "ScxmlParallelType",
111
+ "ScxmlParamType",
112
+ "ScxmlRaiseType",
113
+ "ScxmlScriptType",
114
+ "ScxmlScxmlType",
115
+ "ScxmlSendType",
116
+ "ScxmlStateType",
117
+ "ScxmlTransitionType",
118
+ "Send",
119
+ "State",
120
+ "Transition",
121
+ ]