├── .gitignore ├── .travis.yml ├── LICENSE ├── MANIFEST.in ├── README.md ├── hq ├── __init__.py ├── __main__.py ├── config.py ├── hq.py ├── hquery │ ├── __init__.py │ ├── axis.py │ ├── computed_constructors │ │ ├── __init__.py │ │ ├── hash_key_value.py │ │ ├── html_attribute.py │ │ ├── html_element.py │ │ ├── json_array.py │ │ └── json_hash.py │ ├── equality_operators.py │ ├── evaluation_error.py │ ├── evaluation_in_context.py │ ├── expression_context.py │ ├── flwor.py │ ├── function_support.py │ ├── functions │ │ ├── __init__.py │ │ ├── core_boolean.py │ │ ├── core_node_set.py │ │ ├── core_number.py │ │ ├── core_string.py │ │ ├── extend_node_set.py │ │ └── extend_string.py │ ├── hquery_processor.py │ ├── location_path.py │ ├── node_test.py │ ├── object_type.py │ ├── relational_operators.py │ ├── sequences.py │ ├── string_interpolation.py │ ├── syntax_error.py │ ├── tokens.py │ ├── union_decomposition.py │ └── variables.py ├── output.py ├── soup_util.py ├── string_util.py └── verbosity.py ├── hq_runner.py ├── requirements ├── base.txt └── dev.txt ├── setup.py ├── test ├── __init__.py ├── common_test_util.py ├── conftest.py ├── hquery │ ├── __init__.py │ ├── hquery_test_util.py │ ├── test_arithmetic_operators.py │ ├── test_axes.py │ ├── test_computed_html_construction.py │ ├── test_computed_json_construction.py │ ├── test_core_functions.py │ ├── test_equality_operators.py │ ├── test_expressions.py │ ├── test_extended_functions.py │ ├── test_flwor.py │ ├── test_if_then_else.py │ ├── test_interpolated_strings.py │ ├── test_location_paths.py │ ├── test_name_tests.py │ ├── test_node_tests.py │ ├── test_relational_operators.py │ ├── test_sequences_and_ranges.py │ ├── test_strings.py │ ├── test_union_decomposition.py │ ├── test_xpath1_abbreviated_samples.py │ └── test_xpath1_unabbreviated_samples.py ├── test_cli.py └── test_unicode_support.py └── tox.ini /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- 1 | include LICENSE 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/README.md -------------------------------------------------------------------------------- /hq/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hq/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/__main__.py -------------------------------------------------------------------------------- /hq/config.py: -------------------------------------------------------------------------------- 1 | 2 | class settings: 3 | VERBOSE = False 4 | -------------------------------------------------------------------------------- /hq/hq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hq.py -------------------------------------------------------------------------------- /hq/hquery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hq/hquery/axis.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/axis.py -------------------------------------------------------------------------------- /hq/hquery/computed_constructors/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hq/hquery/computed_constructors/hash_key_value.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/computed_constructors/hash_key_value.py -------------------------------------------------------------------------------- /hq/hquery/computed_constructors/html_attribute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/computed_constructors/html_attribute.py -------------------------------------------------------------------------------- /hq/hquery/computed_constructors/html_element.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/computed_constructors/html_element.py -------------------------------------------------------------------------------- /hq/hquery/computed_constructors/json_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/computed_constructors/json_array.py -------------------------------------------------------------------------------- /hq/hquery/computed_constructors/json_hash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/computed_constructors/json_hash.py -------------------------------------------------------------------------------- /hq/hquery/equality_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/equality_operators.py -------------------------------------------------------------------------------- /hq/hquery/evaluation_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/evaluation_error.py -------------------------------------------------------------------------------- /hq/hquery/evaluation_in_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/evaluation_in_context.py -------------------------------------------------------------------------------- /hq/hquery/expression_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/expression_context.py -------------------------------------------------------------------------------- /hq/hquery/flwor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/flwor.py -------------------------------------------------------------------------------- /hq/hquery/function_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/function_support.py -------------------------------------------------------------------------------- /hq/hquery/functions/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /hq/hquery/functions/core_boolean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/functions/core_boolean.py -------------------------------------------------------------------------------- /hq/hquery/functions/core_node_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/functions/core_node_set.py -------------------------------------------------------------------------------- /hq/hquery/functions/core_number.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/functions/core_number.py -------------------------------------------------------------------------------- /hq/hquery/functions/core_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/functions/core_string.py -------------------------------------------------------------------------------- /hq/hquery/functions/extend_node_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/functions/extend_node_set.py -------------------------------------------------------------------------------- /hq/hquery/functions/extend_string.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/functions/extend_string.py -------------------------------------------------------------------------------- /hq/hquery/hquery_processor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/hquery_processor.py -------------------------------------------------------------------------------- /hq/hquery/location_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/location_path.py -------------------------------------------------------------------------------- /hq/hquery/node_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/node_test.py -------------------------------------------------------------------------------- /hq/hquery/object_type.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/object_type.py -------------------------------------------------------------------------------- /hq/hquery/relational_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/relational_operators.py -------------------------------------------------------------------------------- /hq/hquery/sequences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/sequences.py -------------------------------------------------------------------------------- /hq/hquery/string_interpolation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/string_interpolation.py -------------------------------------------------------------------------------- /hq/hquery/syntax_error.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/syntax_error.py -------------------------------------------------------------------------------- /hq/hquery/tokens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/tokens.py -------------------------------------------------------------------------------- /hq/hquery/union_decomposition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/union_decomposition.py -------------------------------------------------------------------------------- /hq/hquery/variables.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/hquery/variables.py -------------------------------------------------------------------------------- /hq/output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/output.py -------------------------------------------------------------------------------- /hq/soup_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/soup_util.py -------------------------------------------------------------------------------- /hq/string_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/string_util.py -------------------------------------------------------------------------------- /hq/verbosity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq/verbosity.py -------------------------------------------------------------------------------- /hq_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/hq_runner.py -------------------------------------------------------------------------------- /requirements/base.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/requirements/base.txt -------------------------------------------------------------------------------- /requirements/dev.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/requirements/dev.txt -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/setup.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/common_test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/common_test_util.py -------------------------------------------------------------------------------- /test/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/conftest.py -------------------------------------------------------------------------------- /test/hquery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/hquery/hquery_test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/hquery_test_util.py -------------------------------------------------------------------------------- /test/hquery/test_arithmetic_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_arithmetic_operators.py -------------------------------------------------------------------------------- /test/hquery/test_axes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_axes.py -------------------------------------------------------------------------------- /test/hquery/test_computed_html_construction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_computed_html_construction.py -------------------------------------------------------------------------------- /test/hquery/test_computed_json_construction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_computed_json_construction.py -------------------------------------------------------------------------------- /test/hquery/test_core_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_core_functions.py -------------------------------------------------------------------------------- /test/hquery/test_equality_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_equality_operators.py -------------------------------------------------------------------------------- /test/hquery/test_expressions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_expressions.py -------------------------------------------------------------------------------- /test/hquery/test_extended_functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_extended_functions.py -------------------------------------------------------------------------------- /test/hquery/test_flwor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_flwor.py -------------------------------------------------------------------------------- /test/hquery/test_if_then_else.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_if_then_else.py -------------------------------------------------------------------------------- /test/hquery/test_interpolated_strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_interpolated_strings.py -------------------------------------------------------------------------------- /test/hquery/test_location_paths.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_location_paths.py -------------------------------------------------------------------------------- /test/hquery/test_name_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_name_tests.py -------------------------------------------------------------------------------- /test/hquery/test_node_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_node_tests.py -------------------------------------------------------------------------------- /test/hquery/test_relational_operators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_relational_operators.py -------------------------------------------------------------------------------- /test/hquery/test_sequences_and_ranges.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_sequences_and_ranges.py -------------------------------------------------------------------------------- /test/hquery/test_strings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_strings.py -------------------------------------------------------------------------------- /test/hquery/test_union_decomposition.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_union_decomposition.py -------------------------------------------------------------------------------- /test/hquery/test_xpath1_abbreviated_samples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_xpath1_abbreviated_samples.py -------------------------------------------------------------------------------- /test/hquery/test_xpath1_unabbreviated_samples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/hquery/test_xpath1_unabbreviated_samples.py -------------------------------------------------------------------------------- /test/test_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/test_cli.py -------------------------------------------------------------------------------- /test/test_unicode_support.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/test/test_unicode_support.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/rbwinslow/hq/HEAD/tox.ini --------------------------------------------------------------------------------