├── README.md ├── docs ├── _static │ ├── css │ │ └── style.css │ ├── custom.css │ └── images │ │ ├── connect_block.png │ │ ├── ex_mongo_dep_param.png │ │ ├── ex_mongo_param.png │ │ ├── ex_query_diagram.png │ │ ├── join_block.png │ │ ├── parameter_diagram.png │ │ ├── qg_logo.png │ │ ├── qgl_syntax.png │ │ ├── query_graph_diagram.png │ │ ├── query_template_diagram.png │ │ ├── retrieve_block.png │ │ ├── syntax_diagram.png │ │ └── syntax_railroad.png ├── conf.py ├── index.rst └── query-templates.rst ├── querygraph ├── __init__.py ├── db │ ├── __init__.py │ ├── interface.py │ ├── interfaces │ │ ├── __init__.py │ │ ├── _cassandra.py │ │ ├── _elastic_search.py │ │ ├── _influx_db.py │ │ ├── _maria_db.py │ │ ├── _mongo_db.py │ │ ├── _ms_sql.py │ │ ├── _mysql.py │ │ ├── _neo4j.py │ │ ├── _postgres.py │ │ └── _sqlite.py │ └── type_converter.py ├── exceptions.py ├── execution_log.py ├── graph.py ├── join_context.py ├── language │ ├── __init__.py │ └── compiler.py ├── manipulation │ ├── __init__.py │ ├── common_parsers.py │ ├── exceptions.py │ ├── expression │ │ ├── __init__.py │ │ ├── evaluator.py │ │ ├── functions.py │ │ └── manipulation_expression.py │ └── set │ │ ├── __init__.py │ │ └── manipulation_set.py ├── query_node.py ├── query_template.py ├── template_parameter.py ├── thread_tree.py └── utils │ ├── __init__.py │ ├── abstract_cls_method.py │ ├── deserializer.py │ ├── multi_method.py │ └── optional_import.py ├── setup.py └── tests ├── __init__.py ├── config.py ├── db ├── __init__.py ├── connectors.py ├── data │ └── albums.json └── interfaces.py ├── language ├── __init__.py └── test.py ├── manipulation ├── __init__.py └── sets │ ├── __init__.py │ └── test.py ├── query_graphs ├── __init__.py └── test.py ├── query_templates ├── __init__.py └── test.py └── template_parameters ├── __init__.py └── test.py /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/README.md -------------------------------------------------------------------------------- /docs/_static/css/style.css: -------------------------------------------------------------------------------- 1 | 2 | 3 | h1{ 4 | font-family: Helvetica, sans-serif; 5 | } -------------------------------------------------------------------------------- /docs/_static/custom.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/custom.css -------------------------------------------------------------------------------- /docs/_static/images/connect_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/connect_block.png -------------------------------------------------------------------------------- /docs/_static/images/ex_mongo_dep_param.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/ex_mongo_dep_param.png -------------------------------------------------------------------------------- /docs/_static/images/ex_mongo_param.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/ex_mongo_param.png -------------------------------------------------------------------------------- /docs/_static/images/ex_query_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/ex_query_diagram.png -------------------------------------------------------------------------------- /docs/_static/images/join_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/join_block.png -------------------------------------------------------------------------------- /docs/_static/images/parameter_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/parameter_diagram.png -------------------------------------------------------------------------------- /docs/_static/images/qg_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/qg_logo.png -------------------------------------------------------------------------------- /docs/_static/images/qgl_syntax.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/qgl_syntax.png -------------------------------------------------------------------------------- /docs/_static/images/query_graph_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/query_graph_diagram.png -------------------------------------------------------------------------------- /docs/_static/images/query_template_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/query_template_diagram.png -------------------------------------------------------------------------------- /docs/_static/images/retrieve_block.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/retrieve_block.png -------------------------------------------------------------------------------- /docs/_static/images/syntax_diagram.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/syntax_diagram.png -------------------------------------------------------------------------------- /docs/_static/images/syntax_railroad.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/_static/images/syntax_railroad.png -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/query-templates.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/docs/query-templates.rst -------------------------------------------------------------------------------- /querygraph/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /querygraph/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /querygraph/db/interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interface.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/__init__.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_cassandra.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_cassandra.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_elastic_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_elastic_search.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_influx_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_influx_db.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_maria_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_maria_db.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_mongo_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_mongo_db.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_ms_sql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_ms_sql.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_mysql.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_neo4j.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_neo4j.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_postgres.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_postgres.py -------------------------------------------------------------------------------- /querygraph/db/interfaces/_sqlite.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/interfaces/_sqlite.py -------------------------------------------------------------------------------- /querygraph/db/type_converter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/db/type_converter.py -------------------------------------------------------------------------------- /querygraph/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/exceptions.py -------------------------------------------------------------------------------- /querygraph/execution_log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/execution_log.py -------------------------------------------------------------------------------- /querygraph/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/graph.py -------------------------------------------------------------------------------- /querygraph/join_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/join_context.py -------------------------------------------------------------------------------- /querygraph/language/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /querygraph/language/compiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/language/compiler.py -------------------------------------------------------------------------------- /querygraph/manipulation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /querygraph/manipulation/common_parsers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/common_parsers.py -------------------------------------------------------------------------------- /querygraph/manipulation/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/exceptions.py -------------------------------------------------------------------------------- /querygraph/manipulation/expression/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/expression/__init__.py -------------------------------------------------------------------------------- /querygraph/manipulation/expression/evaluator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/expression/evaluator.py -------------------------------------------------------------------------------- /querygraph/manipulation/expression/functions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/expression/functions.py -------------------------------------------------------------------------------- /querygraph/manipulation/expression/manipulation_expression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/expression/manipulation_expression.py -------------------------------------------------------------------------------- /querygraph/manipulation/set/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/set/__init__.py -------------------------------------------------------------------------------- /querygraph/manipulation/set/manipulation_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/manipulation/set/manipulation_set.py -------------------------------------------------------------------------------- /querygraph/query_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/query_node.py -------------------------------------------------------------------------------- /querygraph/query_template.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/query_template.py -------------------------------------------------------------------------------- /querygraph/template_parameter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/template_parameter.py -------------------------------------------------------------------------------- /querygraph/thread_tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/thread_tree.py -------------------------------------------------------------------------------- /querygraph/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /querygraph/utils/abstract_cls_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/utils/abstract_cls_method.py -------------------------------------------------------------------------------- /querygraph/utils/deserializer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/utils/deserializer.py -------------------------------------------------------------------------------- /querygraph/utils/multi_method.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/utils/multi_method.py -------------------------------------------------------------------------------- /querygraph/utils/optional_import.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/querygraph/utils/optional_import.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/config.py -------------------------------------------------------------------------------- /tests/db/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/db/connectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/db/connectors.py -------------------------------------------------------------------------------- /tests/db/data/albums.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/db/data/albums.json -------------------------------------------------------------------------------- /tests/db/interfaces.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/db/interfaces.py -------------------------------------------------------------------------------- /tests/language/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/language/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/language/test.py -------------------------------------------------------------------------------- /tests/manipulation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/manipulation/sets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/manipulation/sets/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/manipulation/sets/test.py -------------------------------------------------------------------------------- /tests/query_graphs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/query_graphs/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/query_graphs/test.py -------------------------------------------------------------------------------- /tests/query_templates/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/query_templates/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/query_templates/test.py -------------------------------------------------------------------------------- /tests/template_parameters/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/template_parameters/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/peter-woyzbun/querygraph/HEAD/tests/template_parameters/test.py --------------------------------------------------------------------------------