ssc_codegen 0.5.4__tar.gz → 0.5.5__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.

Potentially problematic release.


This version of ssc_codegen might be problematic. Click here for more details.

Files changed (95) hide show
  1. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/workspace.xml +163 -158
  2. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/PKG-INFO +2 -2
  3. ssc_codegen-0.5.5/examples/a.py +7 -0
  4. ssc_codegen-0.5.5/examples/manual_make.py +14 -0
  5. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/pyproject.toml +2 -2
  6. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/__init__.py +1 -1
  7. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/ast_builder.py +63 -28
  8. ssc_codegen-0.5.5/tests/schema/test_default_expr.py +25 -0
  9. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/schema/test_sc_magic_methods.py +13 -0
  10. ssc_codegen-0.5.4/examples/a.py +0 -144
  11. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.gitignore +0 -0
  12. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/.gitignore +0 -0
  13. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/inspectionProfiles/Project_Default.xml +0 -0
  14. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  15. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/libraries/Dart_Packages.xml +0 -0
  16. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/libraries/Dart_SDK.xml +0 -0
  17. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/misc.xml +0 -0
  18. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/modules.xml +0 -0
  19. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/selector_schema_codegen.iml +0 -0
  20. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/.idea/vcs.xml +0 -0
  21. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/LICENSE +0 -0
  22. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/README.md +0 -0
  23. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/README.md +0 -0
  24. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/booksToScrapePage.html +0 -0
  25. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/booksToScrapePage50.html +0 -0
  26. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/dart/booksToScrape.dart +0 -0
  27. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/dart/main.dart +0 -0
  28. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/ex_extended.py +0 -0
  29. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/generate_code.sh +0 -0
  30. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/go/booksToScrape.go +0 -0
  31. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/go/main.go +0 -0
  32. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/js/booksToScrape.js +0 -0
  33. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/js/booksToScrapeTests.js +0 -0
  34. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/js/main.js +0 -0
  35. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/manual_make.py +0 -0
  36. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/python/booksToScrape.py +0 -0
  37. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/python/main.py +0 -0
  38. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/python/main2.py +0 -0
  39. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/runtime_compile.py +0 -0
  40. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/schemas/booksToScrape.py +0 -0
  41. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/booksToScrape/schemas/booksToScrapeTests.py +0 -0
  42. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/testDoc/index.html +0 -0
  43. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/examples/testDoc/schema.py +0 -0
  44. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/main.py +0 -0
  45. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/o.py +0 -0
  46. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/scripts/check.sh +0 -0
  47. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/scripts/fix.sh +0 -0
  48. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/scripts/ver_patch.sh +0 -0
  49. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/scripts/version.py +0 -0
  50. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/ast_ssc.py +0 -0
  51. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/cli.py +0 -0
  52. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/cli_utils.py +0 -0
  53. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/compiler.py +0 -0
  54. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/consts.py +0 -0
  55. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/__init__.py +0 -0
  56. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/ast_utils.py +0 -0
  57. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/base.py +0 -0
  58. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/dart_universal_html.py +0 -0
  59. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/go_goquery.py +0 -0
  60. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/js_pure.py +0 -0
  61. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/py_base.py +0 -0
  62. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/py_bs4.py +0 -0
  63. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/py_parsel.py +0 -0
  64. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/py_scrapy.py +0 -0
  65. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/py_selectolax.py +0 -0
  66. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/templates/dart.py +0 -0
  67. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/templates/go.py +0 -0
  68. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/templates/js.py +0 -0
  69. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/templates/py.py +0 -0
  70. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/templates/utils.py +0 -0
  71. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/tools.py +0 -0
  72. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/converters/utils.py +0 -0
  73. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/document.py +0 -0
  74. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/document_utlis.py +0 -0
  75. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/schema.py +0 -0
  76. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/selector_utils.py +0 -0
  77. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/ssc_codegen/tokens.py +0 -0
  78. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/converter_tools/test_str_utils.py +0 -0
  79. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/converter_tools/test_variable.py +0 -0
  80. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/converters/helpers_converters.py +0 -0
  81. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/converters/test_buildin_converters.py +0 -0
  82. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_document_array.py +0 -0
  83. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_document_assert.py +0 -0
  84. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_document_invalid_expr.py +0 -0
  85. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_document_regex.py +0 -0
  86. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_document_select.py +0 -0
  87. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_document_text.py +0 -0
  88. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_nested.py +0 -0
  89. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/document/test_selector_converters.py +0 -0
  90. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/schema/helpers.py +0 -0
  91. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/schema/test_sc_mro.py +0 -0
  92. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/utils/test_convert_query.py +0 -0
  93. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/utils/test_go_unimport.py +0 -0
  94. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/tests/utils/test_validate_query.py +0 -0
  95. {ssc_codegen-0.5.4 → ssc_codegen-0.5.5}/uv.lock +0 -0
@@ -10,6 +10,7 @@
10
10
  <change afterPath="$PROJECT_DIR$/examples/booksToScrape/schemas/booksToScrapeTests.py" afterDir="false" />
11
11
  <change afterPath="$PROJECT_DIR$/examples/testDoc/index.html" afterDir="false" />
12
12
  <change afterPath="$PROJECT_DIR$/examples/testDoc/schema.py" afterDir="false" />
13
+ <change afterPath="$PROJECT_DIR$/tests/schema/test_default_expr.py" afterDir="false" />
13
14
  <change beforePath="$PROJECT_DIR$/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/.gitignore" afterDir="false" />
14
15
  <change beforePath="$PROJECT_DIR$/examples/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/examples/booksToScrape/README.md" afterDir="false" />
15
16
  <change beforePath="$PROJECT_DIR$/examples/dart/booksToScrape.dart" beforeDir="false" afterPath="$PROJECT_DIR$/examples/booksToScrape/dart/booksToScrape.dart" afterDir="false" />
@@ -24,6 +25,8 @@
24
25
  <change beforePath="$PROJECT_DIR$/examples/python/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/examples/booksToScrape/python/main.py" afterDir="false" />
25
26
  <change beforePath="$PROJECT_DIR$/examples/runtime_compile.py" beforeDir="false" afterPath="$PROJECT_DIR$/examples/booksToScrape/runtime_compile.py" afterDir="false" />
26
27
  <change beforePath="$PROJECT_DIR$/examples/schemas/booksToScrape.py" beforeDir="false" afterPath="$PROJECT_DIR$/examples/booksToScrape/schemas/booksToScrape.py" afterDir="false" />
28
+ <change beforePath="$PROJECT_DIR$/ssc_codegen/ast_builder.py" beforeDir="false" afterPath="$PROJECT_DIR$/ssc_codegen/ast_builder.py" afterDir="false" />
29
+ <change beforePath="$PROJECT_DIR$/tests/schema/test_sc_magic_methods.py" beforeDir="false" afterPath="$PROJECT_DIR$/tests/schema/test_sc_magic_methods.py" afterDir="false" />
27
30
  </list>
28
31
  <option name="SHOW_DIALOG" value="false" />
29
32
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -93,125 +96,128 @@
93
96
  <option name="hideEmptyMiddlePackages" value="true" />
94
97
  <option name="showLibraryContents" value="true" />
95
98
  </component>
96
- <component name="PropertiesComponent">{
97
- &quot;keyToString&quot;: {
98
- &quot;Dart Command Line App.dart_sscgen.dart.executor&quot;: &quot;Debug&quot;,
99
- &quot;Dart Command Line App.main.dart.executor&quot;: &quot;Debug&quot;,
100
- &quot;DefaultHtmlFileTemplate&quot;: &quot;HTML File&quot;,
101
- &quot;Python tests.Python tests for test_buildin_converters.test_converter_impl.executor&quot;: &quot;Run&quot;,
102
- &quot;Python tests.Python tests for test_convert_query.test_convert_css_to_xpath.executor&quot;: &quot;Run&quot;,
103
- &quot;Python tests.Python tests for test_convert_query.test_convert_xpath_to_css.executor&quot;: &quot;Run&quot;,
104
- &quot;Python tests.Python tests for test_document.test_expr.executor&quot;: &quot;Run&quot;,
105
- &quot;Python tests.Python tests for test_document.test_fail_attr_expr.executor&quot;: &quot;Run&quot;,
106
- &quot;Python tests.Python tests for test_document.test_valid_html_expr.executor&quot;: &quot;Run&quot;,
107
- &quot;Python tests.Python tests for test_document_array.test_list_document.executor&quot;: &quot;Run&quot;,
108
- &quot;Python tests.Python tests for test_document_array.test_list_str.executor&quot;: &quot;Run&quot;,
109
- &quot;Python tests.Python tests for test_document_assert.test_assert_expr.executor&quot;: &quot;Run&quot;,
110
- &quot;Python tests.Python tests for test_document_invalid_expr.test_raw_invalid_expr.executor&quot;: &quot;Run&quot;,
111
- &quot;Python tests.Python tests for test_document_regex.test_assert_expr.executor&quot;: &quot;Run&quot;,
112
- &quot;Python tests.Python tests for test_document_regex.test_fail_compile_regex.executor&quot;: &quot;Run&quot;,
113
- &quot;Python tests.Python tests for test_document_select.test_doc_to_str.executor&quot;: &quot;Run&quot;,
114
- &quot;Python tests.Python tests for test_document_select.test_document_to_list_document.executor&quot;: &quot;Run&quot;,
115
- &quot;Python tests.Python tests for test_document_text.test_fail_str_format.executor&quot;: &quot;Run&quot;,
116
- &quot;Python tests.Python tests for test_document_text.test_string_expr.executor&quot;: &quot;Run&quot;,
117
- &quot;Python tests.Python tests for test_go_unimport.test_go_unimport_naive.executor&quot;: &quot;Run&quot;,
118
- &quot;Python tests.Python tests for test_invalid_expr.test_invalid_doc_expr.executor&quot;: &quot;Run&quot;,
119
- &quot;Python tests.Python tests for test_invalid_expr.test_invalid_expr.executor&quot;: &quot;Run&quot;,
120
- &quot;Python tests.Python tests for test_nested.test_nested.executor&quot;: &quot;Run&quot;,
121
- &quot;Python tests.Python tests for test_nested.test_nested_2.executor&quot;: &quot;Run&quot;,
122
- &quot;Python tests.Python tests for test_sc.test_fail_init.executor&quot;: &quot;Run&quot;,
123
- &quot;Python tests.Python tests for test_sc.test_fail_schema_config.executor&quot;: &quot;Run&quot;,
124
- &quot;Python tests.Python tests for test_sc_magic_methods.test_fail_document_value_type.executor&quot;: &quot;Run&quot;,
125
- &quot;Python tests.Python tests for test_sc_magic_methods.test_fail_field_empty_expr.executor&quot;: &quot;Run&quot;,
126
- &quot;Python tests.Python tests for test_sc_magic_methods.test_fail_schema_dict_key.executor&quot;: &quot;Run&quot;,
127
- &quot;Python tests.Python tests for test_sc_magic_methods.test_fail_schema_magic.executor&quot;: &quot;Run&quot;,
128
- &quot;Python tests.Python tests for test_sc_magic_methods.test_fail_schema_split_doc_ret_type.executor&quot;: &quot;Run&quot;,
129
- &quot;Python tests.Python tests for test_sc_mro.test_schema_mro.executor&quot;: &quot;Run&quot;,
130
- &quot;Python tests.Python tests for test_select_document.test_valid_html_expr.executor&quot;: &quot;Run&quot;,
131
- &quot;Python tests.Python tests for test_selector_converters.test_convert_css_to_xpath.executor&quot;: &quot;Run&quot;,
132
- &quot;Python tests.Python tests for test_selector_converters.test_convert_css_to_xpath_queries.executor&quot;: &quot;Run&quot;,
133
- &quot;Python tests.Python tests for test_selector_converters.test_convert_css_to_xpath_tokens.executor&quot;: &quot;Run&quot;,
134
- &quot;Python tests.Python tests for test_selector_converters.test_convert_xpath_to_css_tokens.executor&quot;: &quot;Run&quot;,
135
- &quot;Python tests.Python tests for test_selectors_converters.test_convert_css_to_xpath.executor&quot;: &quot;Run&quot;,
136
- &quot;Python tests.Python tests for test_selectors_converters.test_convert_xpath_to_css.executor&quot;: &quot;Run&quot;,
137
- &quot;Python tests.Python tests for test_str_utils.test_escape_str.executor&quot;: &quot;Run&quot;,
138
- &quot;Python tests.Python tests for test_str_utils.test_to_lower_camel_case.executor&quot;: &quot;Run&quot;,
139
- &quot;Python tests.Python tests for test_str_utils.test_to_snake_case.executor&quot;: &quot;Run&quot;,
140
- &quot;Python tests.Python tests for test_str_utils.test_to_upper_camel_case.executor&quot;: &quot;Run&quot;,
141
- &quot;Python tests.Python tests for test_str_utils.test_wrap_backtick.executor&quot;: &quot;Run&quot;,
142
- &quot;Python tests.Python tests for test_str_utils.test_wrap_double_quotes.executor&quot;: &quot;Run&quot;,
143
- &quot;Python tests.Python tests for test_utils.test_fail_validate_css_query.executor&quot;: &quot;Run&quot;,
144
- &quot;Python tests.Python tests for test_utils.test_fail_validate_xpath_query.executor&quot;: &quot;Run&quot;,
145
- &quot;Python tests.Python tests for test_utils.test_validate_css_query.executor&quot;: &quot;Debug&quot;,
146
- &quot;Python tests.Python tests for test_utils.test_validate_xpath_query.executor&quot;: &quot;Run&quot;,
147
- &quot;Python tests.Python tests for test_variable.test_left_right_var_names.executor&quot;: &quot;Run&quot;,
148
- &quot;Python tests.Python tests for test_variable.test_left_right_var_names_different_name.executor&quot;: &quot;Run&quot;,
149
- &quot;Python tests.Python tests for test_variable.test_left_right_var_names_first_variable.executor&quot;: &quot;Run&quot;,
150
- &quot;Python tests.Python tests for test_variable.test_left_right_var_names_multiple_variables.executor&quot;: &quot;Run&quot;,
151
- &quot;Python tests.Python tests for test_variable.test_left_right_var_names_non_first_variable.executor&quot;: &quot;Run&quot;,
152
- &quot;Python tests.Python tests in test_sc_magic_methods.py.executor&quot;: &quot;Run&quot;,
153
- &quot;Python tests.Python tests in test_variable.py.executor&quot;: &quot;Run&quot;,
154
- &quot;Python tests.Python tests in tests.executor&quot;: &quot;Run&quot;,
155
- &quot;Python.__init__.executor&quot;: &quot;Run&quot;,
156
- &quot;Python._demp.executor&quot;: &quot;Run&quot;,
157
- &quot;Python.a.executor&quot;: &quot;Debug&quot;,
158
- &quot;Python.aaaa.executor&quot;: &quot;Run&quot;,
159
- &quot;Python.animego_pro.executor&quot;: &quot;Run&quot;,
160
- &quot;Python.ast_builder.executor&quot;: &quot;Debug&quot;,
161
- &quot;Python.ast_ssc.executor&quot;: &quot;Run&quot;,
162
- &quot;Python.base (1).executor&quot;: &quot;Run&quot;,
163
- &quot;Python.base.executor&quot;: &quot;Run&quot;,
164
- &quot;Python.booksToScrape.executor&quot;: &quot;Run&quot;,
165
- &quot;Python.calc_hash.executor&quot;: &quot;Run&quot;,
166
- &quot;Python.cli.executor&quot;: &quot;Run&quot;,
167
- &quot;Python.constants.executor&quot;: &quot;Debug&quot;,
168
- &quot;Python.ex_extended.executor&quot;: &quot;Run&quot;,
169
- &quot;Python.expression.executor&quot;: &quot;Run&quot;,
170
- &quot;Python.fixer.executor&quot;: &quot;Debug&quot;,
171
- &quot;Python.generator.executor&quot;: &quot;Debug&quot;,
172
- &quot;Python.go_goquery.executor&quot;: &quot;Run&quot;,
173
- &quot;Python.main (1).executor&quot;: &quot;Run&quot;,
174
- &quot;Python.main.executor&quot;: &quot;Debug&quot;,
175
- &quot;Python.main2.executor&quot;: &quot;Run&quot;,
176
- &quot;Python.main_raw.executor&quot;: &quot;Run&quot;,
177
- &quot;Python.manual_make.executor&quot;: &quot;Run&quot;,
178
- &quot;Python.o.executor&quot;: &quot;Run&quot;,
179
- &quot;Python.py.executor&quot;: &quot;Run&quot;,
180
- &quot;Python.raw_main.executor&quot;: &quot;Run&quot;,
181
- &quot;Python.re_validator.executor&quot;: &quot;Run&quot;,
182
- &quot;Python.runtime_compile.executor&quot;: &quot;Run&quot;,
183
- &quot;Python.schema.executor&quot;: &quot;Run&quot;,
184
- &quot;Python.schemas (1).executor&quot;: &quot;Run&quot;,
185
- &quot;Python.schemas.executor&quot;: &quot;Run&quot;,
186
- &quot;Python.security.executor&quot;: &quot;Run&quot;,
187
- &quot;Python.tg_mini.executor&quot;: &quot;Run&quot;,
188
- &quot;Python.utils.executor&quot;: &quot;Run&quot;,
189
- &quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
190
- &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
191
- &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
192
- &quot;WebServerToolWindowFactoryState&quot;: &quot;false&quot;,
193
- &quot;dart.analysis.tool.window.visible&quot;: &quot;false&quot;,
194
- &quot;git-widget-placeholder&quot;: &quot;main&quot;,
195
- &quot;last_opened_file_path&quot;: &quot;/home/georgiy/PycharmProjects/anicli-api&quot;,
196
- &quot;node.js.detected.package.eslint&quot;: &quot;true&quot;,
197
- &quot;node.js.detected.package.tslint&quot;: &quot;true&quot;,
198
- &quot;node.js.selected.package.eslint&quot;: &quot;(autodetect)&quot;,
199
- &quot;node.js.selected.package.tslint&quot;: &quot;(autodetect)&quot;,
200
- &quot;nodejs_package_manager_path&quot;: &quot;npm&quot;,
201
- &quot;settings.editor.selected.configurable&quot;: &quot;com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable&quot;,
202
- &quot;vue.rearranger.settings.migration&quot;: &quot;true&quot;
99
+ <component name="PropertiesComponent"><![CDATA[{
100
+ "keyToString": {
101
+ "Dart Command Line App.dart_sscgen.dart.executor": "Debug",
102
+ "Dart Command Line App.main.dart.executor": "Debug",
103
+ "DefaultHtmlFileTemplate": "HTML File",
104
+ "Python tests.Python tests for test_buildin_converters.test_converter_impl.executor": "Run",
105
+ "Python tests.Python tests for test_convert_query.test_convert_css_to_xpath.executor": "Run",
106
+ "Python tests.Python tests for test_convert_query.test_convert_xpath_to_css.executor": "Run",
107
+ "Python tests.Python tests for test_default.test_invalid_default.executor": "Run",
108
+ "Python tests.Python tests for test_default_expr.test_invalid_default.executor": "Run",
109
+ "Python tests.Python tests for test_document.test_expr.executor": "Run",
110
+ "Python tests.Python tests for test_document.test_fail_attr_expr.executor": "Run",
111
+ "Python tests.Python tests for test_document.test_valid_html_expr.executor": "Run",
112
+ "Python tests.Python tests for test_document_array.test_list_document.executor": "Run",
113
+ "Python tests.Python tests for test_document_array.test_list_str.executor": "Run",
114
+ "Python tests.Python tests for test_document_assert.test_assert_expr.executor": "Run",
115
+ "Python tests.Python tests for test_document_invalid_expr.test_raw_invalid_expr.executor": "Run",
116
+ "Python tests.Python tests for test_document_regex.test_assert_expr.executor": "Run",
117
+ "Python tests.Python tests for test_document_regex.test_fail_compile_regex.executor": "Run",
118
+ "Python tests.Python tests for test_document_select.test_doc_to_str.executor": "Run",
119
+ "Python tests.Python tests for test_document_select.test_document_to_list_document.executor": "Run",
120
+ "Python tests.Python tests for test_document_text.test_fail_str_format.executor": "Run",
121
+ "Python tests.Python tests for test_document_text.test_string_expr.executor": "Run",
122
+ "Python tests.Python tests for test_go_unimport.test_go_unimport_naive.executor": "Run",
123
+ "Python tests.Python tests for test_invalid_expr.test_invalid_doc_expr.executor": "Run",
124
+ "Python tests.Python tests for test_invalid_expr.test_invalid_expr.executor": "Run",
125
+ "Python tests.Python tests for test_nested.test_nested.executor": "Run",
126
+ "Python tests.Python tests for test_nested.test_nested_2.executor": "Run",
127
+ "Python tests.Python tests for test_sc.test_fail_init.executor": "Run",
128
+ "Python tests.Python tests for test_sc.test_fail_schema_config.executor": "Run",
129
+ "Python tests.Python tests for test_sc_magic_methods.test_fail_document_value_type.executor": "Run",
130
+ "Python tests.Python tests for test_sc_magic_methods.test_fail_field_empty_expr.executor": "Run",
131
+ "Python tests.Python tests for test_sc_magic_methods.test_fail_schema_dict_key.executor": "Run",
132
+ "Python tests.Python tests for test_sc_magic_methods.test_fail_schema_magic.executor": "Run",
133
+ "Python tests.Python tests for test_sc_magic_methods.test_fail_schema_split_doc_ret_type.executor": "Run",
134
+ "Python tests.Python tests for test_sc_magic_methods.test_valid_dict_schema_key.executor": "Run",
135
+ "Python tests.Python tests for test_sc_mro.test_schema_mro.executor": "Run",
136
+ "Python tests.Python tests for test_select_document.test_valid_html_expr.executor": "Run",
137
+ "Python tests.Python tests for test_selector_converters.test_convert_css_to_xpath.executor": "Run",
138
+ "Python tests.Python tests for test_selector_converters.test_convert_css_to_xpath_queries.executor": "Run",
139
+ "Python tests.Python tests for test_selector_converters.test_convert_css_to_xpath_tokens.executor": "Run",
140
+ "Python tests.Python tests for test_selector_converters.test_convert_xpath_to_css_tokens.executor": "Run",
141
+ "Python tests.Python tests for test_selectors_converters.test_convert_css_to_xpath.executor": "Run",
142
+ "Python tests.Python tests for test_selectors_converters.test_convert_xpath_to_css.executor": "Run",
143
+ "Python tests.Python tests for test_str_utils.test_escape_str.executor": "Run",
144
+ "Python tests.Python tests for test_str_utils.test_to_lower_camel_case.executor": "Run",
145
+ "Python tests.Python tests for test_str_utils.test_to_snake_case.executor": "Run",
146
+ "Python tests.Python tests for test_str_utils.test_to_upper_camel_case.executor": "Run",
147
+ "Python tests.Python tests for test_str_utils.test_wrap_backtick.executor": "Run",
148
+ "Python tests.Python tests for test_str_utils.test_wrap_double_quotes.executor": "Run",
149
+ "Python tests.Python tests for test_utils.test_fail_validate_css_query.executor": "Run",
150
+ "Python tests.Python tests for test_utils.test_fail_validate_xpath_query.executor": "Run",
151
+ "Python tests.Python tests for test_utils.test_validate_css_query.executor": "Debug",
152
+ "Python tests.Python tests for test_utils.test_validate_xpath_query.executor": "Run",
153
+ "Python tests.Python tests for test_variable.test_left_right_var_names.executor": "Run",
154
+ "Python tests.Python tests for test_variable.test_left_right_var_names_different_name.executor": "Run",
155
+ "Python tests.Python tests for test_variable.test_left_right_var_names_first_variable.executor": "Run",
156
+ "Python tests.Python tests for test_variable.test_left_right_var_names_multiple_variables.executor": "Run",
157
+ "Python tests.Python tests for test_variable.test_left_right_var_names_non_first_variable.executor": "Run",
158
+ "Python tests.Python tests in test_sc_magic_methods.py.executor": "Run",
159
+ "Python tests.Python tests in test_variable.py.executor": "Run",
160
+ "Python tests.Python tests in tests.executor": "Run",
161
+ "Python.__init__.executor": "Run",
162
+ "Python._demp.executor": "Run",
163
+ "Python.a.executor": "Debug",
164
+ "Python.aaaa.executor": "Run",
165
+ "Python.animego_pro.executor": "Run",
166
+ "Python.ast_builder.executor": "Debug",
167
+ "Python.ast_ssc.executor": "Run",
168
+ "Python.base (1).executor": "Run",
169
+ "Python.base.executor": "Run",
170
+ "Python.booksToScrape.executor": "Run",
171
+ "Python.calc_hash.executor": "Run",
172
+ "Python.cli.executor": "Run",
173
+ "Python.constants.executor": "Debug",
174
+ "Python.ex_extended.executor": "Run",
175
+ "Python.expression.executor": "Run",
176
+ "Python.fixer.executor": "Debug",
177
+ "Python.generator.executor": "Debug",
178
+ "Python.go_goquery.executor": "Run",
179
+ "Python.main (1).executor": "Run",
180
+ "Python.main.executor": "Debug",
181
+ "Python.main2.executor": "Run",
182
+ "Python.main_raw.executor": "Run",
183
+ "Python.manual_make.executor": "Run",
184
+ "Python.o.executor": "Run",
185
+ "Python.py.executor": "Run",
186
+ "Python.raw_main.executor": "Run",
187
+ "Python.re_validator.executor": "Run",
188
+ "Python.runtime_compile.executor": "Run",
189
+ "Python.schema.executor": "Run",
190
+ "Python.schemas (1).executor": "Run",
191
+ "Python.schemas.executor": "Run",
192
+ "Python.security.executor": "Run",
193
+ "Python.tg_mini.executor": "Run",
194
+ "Python.utils.executor": "Run",
195
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
196
+ "RunOnceActivity.ShowReadmeOnStart": "true",
197
+ "RunOnceActivity.git.unshallow": "true",
198
+ "WebServerToolWindowFactoryState": "false",
199
+ "dart.analysis.tool.window.visible": "false",
200
+ "git-widget-placeholder": "main",
201
+ "last_opened_file_path": "/home/georgiy/PycharmProjects/selector_schema_codegen/examples",
202
+ "node.js.detected.package.eslint": "true",
203
+ "node.js.detected.package.tslint": "true",
204
+ "node.js.selected.package.eslint": "(autodetect)",
205
+ "node.js.selected.package.tslint": "(autodetect)",
206
+ "nodejs_package_manager_path": "npm",
207
+ "settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable",
208
+ "vue.rearranger.settings.migration": "true"
203
209
  }
204
- }</component>
210
+ }]]></component>
205
211
  <component name="PyCoverageOptionsProvider">
206
212
  <option name="myUseBundledCoveragePy" value="true" />
207
213
  </component>
208
214
  <component name="RecentsManager">
209
215
  <key name="CopyFile.RECENT_KEYS">
216
+ <recent name="$PROJECT_DIR$/examples" />
210
217
  <recent name="$PROJECT_DIR$" />
211
218
  <recent name="$PROJECT_DIR$/examples/schemas/a" />
212
219
  <recent name="$PROJECT_DIR$/examples/schemas" />
213
220
  <recent name="$PROJECT_DIR$/scs" />
214
- <recent name="$PROJECT_DIR$/ssc_codegen/converters/templates/dart/universal_html" />
215
221
  </key>
216
222
  <key name="MoveFile.RECENT_KEYS">
217
223
  <recent name="$PROJECT_DIR$/examples/booksToScrape" />
@@ -221,8 +227,8 @@
221
227
  <recent name="$PROJECT_DIR$/examples/python" />
222
228
  </key>
223
229
  </component>
224
- <component name="RunManager" selected="Python tests.Python tests for test_buildin_converters.test_converter_impl">
225
- <configuration name="ex_extended" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
230
+ <component name="RunManager" selected="Python tests.Python tests for test_default_expr.test_invalid_default">
231
+ <configuration name="manual_make" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
226
232
  <module name="selector_schema_codegen" />
227
233
  <option name="ENV_FILES" value="" />
228
234
  <option name="INTERPRETER_OPTIONS" value="" />
@@ -236,7 +242,7 @@
236
242
  <option name="ADD_CONTENT_ROOTS" value="true" />
237
243
  <option name="ADD_SOURCE_ROOTS" value="true" />
238
244
  <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
239
- <option name="SCRIPT_NAME" value="$PROJECT_DIR$/examples/booksToScrape/ex_extended.py" />
245
+ <option name="SCRIPT_NAME" value="$PROJECT_DIR$/examples/manual_make.py" />
240
246
  <option name="PARAMETERS" value="" />
241
247
  <option name="SHOW_COMMAND_LINE" value="false" />
242
248
  <option name="EMULATE_TERMINAL" value="false" />
@@ -245,84 +251,77 @@
245
251
  <option name="INPUT_FILE" value="" />
246
252
  <method v="2" />
247
253
  </configuration>
248
- <configuration name="o" type="PythonConfigurationType" factoryName="Python" temporary="true" nameIsGenerated="true">
254
+ <configuration name="Python tests for test_buildin_converters.test_converter_impl" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
249
255
  <module name="selector_schema_codegen" />
250
256
  <option name="ENV_FILES" value="" />
251
257
  <option name="INTERPRETER_OPTIONS" value="" />
252
258
  <option name="PARENT_ENVS" value="true" />
253
- <envs>
254
- <env name="PYTHONUNBUFFERED" value="1" />
255
- </envs>
256
259
  <option name="SDK_HOME" value="" />
257
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
260
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/converters" />
258
261
  <option name="IS_MODULE_SDK" value="true" />
259
262
  <option name="ADD_CONTENT_ROOTS" value="true" />
260
263
  <option name="ADD_SOURCE_ROOTS" value="true" />
261
264
  <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
262
- <option name="SCRIPT_NAME" value="$PROJECT_DIR$/o.py" />
263
- <option name="PARAMETERS" value="" />
264
- <option name="SHOW_COMMAND_LINE" value="false" />
265
- <option name="EMULATE_TERMINAL" value="false" />
266
- <option name="MODULE_MODE" value="false" />
267
- <option name="REDIRECT_INPUT" value="false" />
268
- <option name="INPUT_FILE" value="" />
265
+ <option name="_new_additionalArguments" value="&quot;&quot;" />
266
+ <option name="_new_target" value="&quot;test_buildin_converters.test_converter_impl&quot;" />
267
+ <option name="_new_targetType" value="&quot;PYTHON&quot;" />
269
268
  <method v="2" />
270
269
  </configuration>
271
- <configuration name="Python tests for test_buildin_converters.test_converter_impl" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
270
+ <configuration name="Python tests for test_default_expr.test_invalid_default" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
272
271
  <module name="selector_schema_codegen" />
273
272
  <option name="ENV_FILES" value="" />
274
273
  <option name="INTERPRETER_OPTIONS" value="" />
275
274
  <option name="PARENT_ENVS" value="true" />
276
275
  <option name="SDK_HOME" value="" />
277
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/converters" />
276
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/schema" />
278
277
  <option name="IS_MODULE_SDK" value="true" />
279
278
  <option name="ADD_CONTENT_ROOTS" value="true" />
280
279
  <option name="ADD_SOURCE_ROOTS" value="true" />
281
280
  <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
282
281
  <option name="_new_additionalArguments" value="&quot;&quot;" />
283
- <option name="_new_target" value="&quot;test_buildin_converters.test_converter_impl&quot;" />
282
+ <option name="_new_target" value="&quot;test_default_expr.test_invalid_default&quot;" />
284
283
  <option name="_new_targetType" value="&quot;PYTHON&quot;" />
285
284
  <method v="2" />
286
285
  </configuration>
287
- <configuration name="Python tests for test_selector_converters.test_convert_css_to_xpath_tokens" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
286
+ <configuration name="Python tests for test_sc_magic_methods.test_valid_dict_schema_key" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
288
287
  <module name="selector_schema_codegen" />
289
288
  <option name="ENV_FILES" value="" />
290
289
  <option name="INTERPRETER_OPTIONS" value="" />
291
290
  <option name="PARENT_ENVS" value="true" />
292
291
  <option name="SDK_HOME" value="" />
293
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/document" />
292
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/schema" />
294
293
  <option name="IS_MODULE_SDK" value="true" />
295
294
  <option name="ADD_CONTENT_ROOTS" value="true" />
296
295
  <option name="ADD_SOURCE_ROOTS" value="true" />
297
296
  <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
298
297
  <option name="_new_additionalArguments" value="&quot;&quot;" />
299
- <option name="_new_target" value="&quot;test_selector_converters.test_convert_css_to_xpath_tokens&quot;" />
298
+ <option name="_new_target" value="&quot;test_sc_magic_methods.test_valid_dict_schema_key&quot;" />
300
299
  <option name="_new_targetType" value="&quot;PYTHON&quot;" />
301
300
  <method v="2" />
302
301
  </configuration>
303
- <configuration name="Python tests for test_selector_converters.test_convert_xpath_to_css_tokens" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
302
+ <configuration name="Python tests for tests.schema.test_default_expr.test_invalid_default" type="tests" factoryName="Autodetect" temporary="true" nameIsGenerated="true">
304
303
  <module name="selector_schema_codegen" />
305
304
  <option name="ENV_FILES" value="" />
306
305
  <option name="INTERPRETER_OPTIONS" value="" />
307
306
  <option name="PARENT_ENVS" value="true" />
308
307
  <option name="SDK_HOME" value="" />
309
- <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/document" />
308
+ <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/tests/schema" />
310
309
  <option name="IS_MODULE_SDK" value="true" />
311
310
  <option name="ADD_CONTENT_ROOTS" value="true" />
312
311
  <option name="ADD_SOURCE_ROOTS" value="true" />
313
312
  <EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
314
313
  <option name="_new_additionalArguments" value="&quot;&quot;" />
315
- <option name="_new_target" value="&quot;test_selector_converters.test_convert_xpath_to_css_tokens&quot;" />
314
+ <option name="_new_target" value="&quot;tests.schema.test_default_expr.test_invalid_default&quot;" />
316
315
  <option name="_new_targetType" value="&quot;PYTHON&quot;" />
317
316
  <method v="2" />
318
317
  </configuration>
319
318
  <recent_temporary>
320
319
  <list>
320
+ <item itemvalue="Python tests.Python tests for test_default_expr.test_invalid_default" />
321
+ <item itemvalue="Python tests.Python tests for tests.schema.test_default_expr.test_invalid_default" />
322
+ <item itemvalue="Python tests.Python tests for test_sc_magic_methods.test_valid_dict_schema_key" />
323
+ <item itemvalue="Python.manual_make" />
321
324
  <item itemvalue="Python tests.Python tests for test_buildin_converters.test_converter_impl" />
322
- <item itemvalue="Python.o" />
323
- <item itemvalue="Python.ex_extended" />
324
- <item itemvalue="Python tests.Python tests for test_selector_converters.test_convert_xpath_to_css_tokens" />
325
- <item itemvalue="Python tests.Python tests for test_selector_converters.test_convert_css_to_xpath_tokens" />
326
325
  </list>
327
326
  </recent_temporary>
328
327
  </component>
@@ -409,22 +408,7 @@
409
408
  <workItem from="1738684052578" duration="6332000" />
410
409
  <workItem from="1738746990365" duration="28527000" />
411
410
  <workItem from="1738827918820" duration="143000" />
412
- </task>
413
- <task id="LOCAL-00135" summary="add test for converter utils, fix lowerCamelCase func">
414
- <option name="closed" value="true" />
415
- <created>1738231018899</created>
416
- <option name="number" value="00135" />
417
- <option name="presentableId" value="LOCAL-00135" />
418
- <option name="project" value="LOCAL" />
419
- <updated>1738231018900</updated>
420
- </task>
421
- <task id="LOCAL-00136" summary="CallStructFunctionExpression: fix have_default_expr method, DefaultValueWrapper: change accept_type, ret_type to VariableType.DOCUMENT">
422
- <option name="closed" value="true" />
423
- <created>1738231131458</created>
424
- <option name="number" value="00136" />
425
- <option name="presentableId" value="LOCAL-00136" />
426
- <option name="project" value="LOCAL" />
427
- <updated>1738231131458</updated>
411
+ <workItem from="1738830292119" duration="2627000" />
428
412
  </task>
429
413
  <task id="LOCAL-00137" summary="SIGNATURE_MAP: add ANY, OPTIONAL_INT, OPTIONAL_LIST_INT, OPTIONAL_FLOAT, OPTIONAL_LIST_FLOAT">
430
414
  <option name="closed" value="true" />
@@ -802,7 +786,23 @@
802
786
  <option name="project" value="LOCAL" />
803
787
  <updated>1738794935313</updated>
804
788
  </task>
805
- <option name="localTasksCounter" value="184" />
789
+ <task id="LOCAL-00184" summary="TokenType.EXPR_LIST_JOIN: fix syntax">
790
+ <option name="closed" value="true" />
791
+ <created>1738830468062</created>
792
+ <option name="number" value="00184" />
793
+ <option name="presentableId" value="LOCAL-00184" />
794
+ <option name="project" value="LOCAL" />
795
+ <updated>1738830468062</updated>
796
+ </task>
797
+ <task id="LOCAL-00185" summary="bump">
798
+ <option name="closed" value="true" />
799
+ <created>1738830485847</created>
800
+ <option name="number" value="00185" />
801
+ <option name="presentableId" value="LOCAL-00185" />
802
+ <option name="project" value="LOCAL" />
803
+ <updated>1738830485847</updated>
804
+ </task>
805
+ <option name="localTasksCounter" value="186" />
806
806
  <servers />
807
807
  </component>
808
808
  <component name="TypeScriptGeneratedFilesManager">
@@ -820,7 +820,6 @@
820
820
  </option>
821
821
  </component>
822
822
  <component name="VcsManagerConfiguration">
823
- <MESSAGE value="add schema tests" />
824
823
  <MESSAGE value="add check stacks expr len, extract_default_expr check stack len&#10;throw error if stack is empty" />
825
824
  <MESSAGE value="refactoring: ast utils to another module" />
826
825
  <MESSAGE value="gen_go: add unimport function. fix typo --debug flag" />
@@ -844,6 +843,7 @@
844
843
  <MESSAGE value="add test converters implementation status" />
845
844
  <MESSAGE value="rename modules" />
846
845
  <MESSAGE value="ruff fmt" />
846
+ <MESSAGE value="TokenType.EXPR_LIST_JOIN: fix syntax" />
847
847
  <MESSAGE value="bump" />
848
848
  <option name="LAST_COMMIT_MESSAGE" value="bump" />
849
849
  </component>
@@ -885,6 +885,11 @@
885
885
  <line>14</line>
886
886
  <option name="timeStamp" value="134" />
887
887
  </line-breakpoint>
888
+ <line-breakpoint enabled="true" suspend="THREAD" type="python-line">
889
+ <url>file://$PROJECT_DIR$/ssc_codegen/ast_builder.py</url>
890
+ <line>155</line>
891
+ <option name="timeStamp" value="137" />
892
+ </line-breakpoint>
888
893
  <line-breakpoint enabled="true" type="Dart">
889
894
  <url>file://$PROJECT_DIR$/dart_sscgen/bin/dart_sscgen.dart</url>
890
895
  <line>16</line>
@@ -894,12 +899,12 @@
894
899
  </breakpoint-manager>
895
900
  </component>
896
901
  <component name="com.intellij.coverage.CoverageDataManagerImpl">
897
- <SUITE FILE_PATH="coverage/selector_schema_codegen$.coverage" NAME=" Coverage Results" MODIFIED="1738791063058" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests/converters" />
902
+ <SUITE FILE_PATH="coverage/selector_schema_codegen$.coverage" NAME=" Coverage Results" MODIFIED="1738832894654" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests/schema" />
898
903
  <SUITE FILE_PATH="coverage/selector_schema_codegen$cli.coverage" NAME="cli Coverage Results" MODIFIED="1717347870433" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
899
904
  <SUITE FILE_PATH="coverage/selector_schema_codegen$schemas.coverage" NAME="schemas Coverage Results" MODIFIED="1714992167313" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen/v2" />
900
905
  <SUITE FILE_PATH="coverage/selector_schema_codegen$ex_extended.coverage" NAME="ex_extended Coverage Results" MODIFIED="1738777474650" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/examples" />
901
- <SUITE FILE_PATH="coverage/selector_schema_codegen$calc_hash.coverage" NAME="calc_hash Coverage Results" MODIFIED="1718171677863" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen/utils" />
902
906
  <SUITE FILE_PATH="coverage/selector_schema_codegen$extract.coverage" NAME="validate Coverage Results" MODIFIED="1706819346637" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen2" />
907
+ <SUITE FILE_PATH="coverage/selector_schema_codegen$calc_hash.coverage" NAME="calc_hash Coverage Results" MODIFIED="1718171677863" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen/utils" />
903
908
  <SUITE FILE_PATH="coverage/selector_schema_codegen$ast_ssc.coverage" NAME="ast_ssc Coverage Results" MODIFIED="1735321217497" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen" />
904
909
  <SUITE FILE_PATH="coverage/selector_schema_codegen$translator.coverage" NAME="translator Coverage Results" MODIFIED="1707045679760" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen2" />
905
910
  <SUITE FILE_PATH="coverage/selector_schema_codegen$constants.coverage" NAME="constants Coverage Results" MODIFIED="1717348468280" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen2/schema" />
@@ -915,7 +920,7 @@
915
920
  <SUITE FILE_PATH="coverage/selector_schema_codegen$tg_mini.coverage" NAME="tg_mini Coverage Results" MODIFIED="1717771734055" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
916
921
  <SUITE FILE_PATH="coverage/selector_schema_codegen$expression.coverage" NAME="expression Coverage Results" MODIFIED="1715360828778" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen2" />
917
922
  <SUITE FILE_PATH="coverage/selector_schema_codegen$animego_pro.coverage" NAME="animego_pro Coverage Results" MODIFIED="1717401685023" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/libanime_schema/source_v2/src" />
918
- <SUITE FILE_PATH="coverage/selector_schema_codegen$manual_make.coverage" NAME="manual_make Coverage Results" MODIFIED="1738237757130" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/examples" />
923
+ <SUITE FILE_PATH="coverage/selector_schema_codegen$manual_make.coverage" NAME="manual_make Coverage Results" MODIFIED="1738832322479" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/examples" />
919
924
  <SUITE FILE_PATH="coverage/selector_schema_codegen$__init__.coverage" NAME="__init__ Coverage Results" MODIFIED="1715378131584" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/ssc_codegen2/document" />
920
925
  <SUITE FILE_PATH="coverage/selector_schema_codegen$o.coverage" NAME="o Coverage Results" MODIFIED="1738787607226" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
921
926
  <SUITE FILE_PATH="coverage/selector_schema_codegen$aaaa.coverage" NAME="aaaa Coverage Results" MODIFIED="1717773815300" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" />
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ssc_codegen
3
- Version: 0.5.4
3
+ Version: 0.5.5
4
4
  Summary: Add your description here
5
5
  Project-URL: Documentation, https://github.com/vypivshiy/selector_schema_codegen#readme
6
6
  Project-URL: Issues, https://github.com/vypivshiy/selector_schema_codegen/issues
7
7
  Project-URL: Source, https://github.com/vypivshiy/selector_schema_codegen
8
8
  Project-URL: Examples, https://github.com/vypivshiy/selector_schema_codegen/examples
9
9
  License-File: LICENSE
10
- Requires-Python: >=3.12
10
+ Requires-Python: >=3.10
11
11
  Requires-Dist: cssselect>=1.2.0
12
12
  Requires-Dist: lxml>=5.3.0
13
13
  Requires-Dist: typer>=0.15.1
@@ -0,0 +1,7 @@
1
+ from ssc_codegen import D, N, DictSchema, ItemSchema, ListSchema
2
+
3
+
4
+ class Foo(DictSchema):
5
+ __SPLIT_DOC__ = D().css_all('b')
6
+ __KEY__ = D().default("null").attr("a")
7
+ __VALUE__ = D().default(None).attr("b")
@@ -0,0 +1,14 @@
1
+ """example usage API interface"""
2
+ if __name__ == '__main__':
3
+ # base ast builder
4
+ from ssc_codegen.ast_builder import build_ast_module
5
+ # build-in converter
6
+ from ssc_codegen.converters.py_parsel import converter
7
+ # runtime import module and parse
8
+ # WARNING: DO NOT PASS UNKNOWN MODULES FOR SECURITY REASONS
9
+ # IT COMPILE AND EXEC PYTHON CODE FROM FILE IN RUNTIME
10
+ ast = build_ast_module(
11
+ 'a.py',
12
+ )
13
+ code = converter.convert_program(ast)
14
+ print("\n".join(code))
@@ -1,9 +1,9 @@
1
1
  [project]
2
2
  name = "ssc_codegen"
3
- version = "0.5.4"
3
+ version = "0.5.5"
4
4
  description = "Add your description here"
5
5
  readme = "README.md"
6
- requires-python = ">=3.12"
6
+ requires-python = ">=3.10"
7
7
  dependencies = [
8
8
  "cssselect>=1.2.0",
9
9
  "lxml>=5.3.0",
@@ -2,7 +2,7 @@ from .document import HTMLDocument, StringDocument, ArrayDocument, AssertDocumen
2
2
  NumericDocument
3
3
  from .schema import ItemSchema, DictSchema, ListSchema, FlatListSchema
4
4
 
5
- VERSION = "0.5.4"
5
+ VERSION = "0.5.5"
6
6
 
7
7
  class __MISSING(object):
8
8
  pass