├── .envrc ├── .github └── workflows │ ├── pypi.yml │ └── tests.yml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── README.md ├── docker-compose.yml ├── misc └── _doc │ ├── README.md.j2 │ └── README.py ├── mongosql ├── __init__.py ├── bag.py ├── crud │ ├── __init__.py │ ├── crudhelper.py │ └── crudview.py ├── exc.py ├── handlers │ ├── __init__.py │ ├── aggregate.py │ ├── base.py │ ├── count.py │ ├── filter.py │ ├── group.py │ ├── join.py │ ├── joinf.py │ ├── limit.py │ ├── project.py │ └── sort.py ├── query.py ├── sa.py └── util │ ├── __init__.py │ ├── bulk.py │ ├── counting_query_wrapper.py │ ├── history_proxy.py │ ├── inspect.py │ ├── marker.py │ ├── method_decorator.py │ ├── mongoquery_settings_handler.py │ ├── reusable.py │ ├── selectinquery.py │ └── settings_dict.py ├── myproject └── __init__.py ├── noxfile.py ├── pyproject.toml └── tests ├── __init__.py ├── benchmarks ├── .gitignore ├── __init__.py ├── benchmark_CountingQuery.py ├── benchmark_compare_orm_overhead_with_pure_jsonb_output.py ├── benchmark_one_query.py ├── benchmark_selectinquery.py ├── benchmark_utils.py ├── benchmark_v2_vs_v1.py └── mongosql_v1_checkout.sh ├── conftest.py ├── crud_view.py ├── models.py ├── saversion.py ├── t1_bags_test.py ├── t2_handlers_test.py ├── t3_statements_test.py ├── t4_query_test.py ├── t5_crud_test.py ├── t_method_decorator_test.py ├── t_modelhistoryproxy_test.py ├── t_raiseload_col_test.py ├── t_selectinquery_test.py └── util.py /.envrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/.envrc -------------------------------------------------------------------------------- /.github/workflows/pypi.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/.github/workflows/pypi.yml -------------------------------------------------------------------------------- /.github/workflows/tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/.github/workflows/tests.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/README.md -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /misc/_doc/README.md.j2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/misc/_doc/README.md.j2 -------------------------------------------------------------------------------- /misc/_doc/README.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/misc/_doc/README.py -------------------------------------------------------------------------------- /mongosql/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/__init__.py -------------------------------------------------------------------------------- /mongosql/bag.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/bag.py -------------------------------------------------------------------------------- /mongosql/crud/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/crud/__init__.py -------------------------------------------------------------------------------- /mongosql/crud/crudhelper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/crud/crudhelper.py -------------------------------------------------------------------------------- /mongosql/crud/crudview.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/crud/crudview.py -------------------------------------------------------------------------------- /mongosql/exc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/exc.py -------------------------------------------------------------------------------- /mongosql/handlers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/__init__.py -------------------------------------------------------------------------------- /mongosql/handlers/aggregate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/aggregate.py -------------------------------------------------------------------------------- /mongosql/handlers/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/base.py -------------------------------------------------------------------------------- /mongosql/handlers/count.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/count.py -------------------------------------------------------------------------------- /mongosql/handlers/filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/filter.py -------------------------------------------------------------------------------- /mongosql/handlers/group.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/group.py -------------------------------------------------------------------------------- /mongosql/handlers/join.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/join.py -------------------------------------------------------------------------------- /mongosql/handlers/joinf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/joinf.py -------------------------------------------------------------------------------- /mongosql/handlers/limit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/limit.py -------------------------------------------------------------------------------- /mongosql/handlers/project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/project.py -------------------------------------------------------------------------------- /mongosql/handlers/sort.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/handlers/sort.py -------------------------------------------------------------------------------- /mongosql/query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/query.py -------------------------------------------------------------------------------- /mongosql/sa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/sa.py -------------------------------------------------------------------------------- /mongosql/util/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/__init__.py -------------------------------------------------------------------------------- /mongosql/util/bulk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/bulk.py -------------------------------------------------------------------------------- /mongosql/util/counting_query_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/counting_query_wrapper.py -------------------------------------------------------------------------------- /mongosql/util/history_proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/history_proxy.py -------------------------------------------------------------------------------- /mongosql/util/inspect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/inspect.py -------------------------------------------------------------------------------- /mongosql/util/marker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/marker.py -------------------------------------------------------------------------------- /mongosql/util/method_decorator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/method_decorator.py -------------------------------------------------------------------------------- /mongosql/util/mongoquery_settings_handler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/mongoquery_settings_handler.py -------------------------------------------------------------------------------- /mongosql/util/reusable.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/reusable.py -------------------------------------------------------------------------------- /mongosql/util/selectinquery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/selectinquery.py -------------------------------------------------------------------------------- /mongosql/util/settings_dict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/mongosql/util/settings_dict.py -------------------------------------------------------------------------------- /myproject/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/myproject/__init__.py -------------------------------------------------------------------------------- /noxfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/noxfile.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/pyproject.toml -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/__init__.py -------------------------------------------------------------------------------- /tests/benchmarks/.gitignore: -------------------------------------------------------------------------------- 1 | /mongosql_v1 2 | -------------------------------------------------------------------------------- /tests/benchmarks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/benchmarks/benchmark_CountingQuery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/benchmarks/benchmark_CountingQuery.py -------------------------------------------------------------------------------- /tests/benchmarks/benchmark_compare_orm_overhead_with_pure_jsonb_output.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/benchmarks/benchmark_compare_orm_overhead_with_pure_jsonb_output.py -------------------------------------------------------------------------------- /tests/benchmarks/benchmark_one_query.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/benchmarks/benchmark_one_query.py -------------------------------------------------------------------------------- /tests/benchmarks/benchmark_selectinquery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/benchmarks/benchmark_selectinquery.py -------------------------------------------------------------------------------- /tests/benchmarks/benchmark_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/benchmarks/benchmark_utils.py -------------------------------------------------------------------------------- /tests/benchmarks/benchmark_v2_vs_v1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/benchmarks/benchmark_v2_vs_v1.py -------------------------------------------------------------------------------- /tests/benchmarks/mongosql_v1_checkout.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/benchmarks/mongosql_v1_checkout.sh -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- 1 | import pytest 2 | -------------------------------------------------------------------------------- /tests/crud_view.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/crud_view.py -------------------------------------------------------------------------------- /tests/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/models.py -------------------------------------------------------------------------------- /tests/saversion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/saversion.py -------------------------------------------------------------------------------- /tests/t1_bags_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t1_bags_test.py -------------------------------------------------------------------------------- /tests/t2_handlers_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t2_handlers_test.py -------------------------------------------------------------------------------- /tests/t3_statements_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t3_statements_test.py -------------------------------------------------------------------------------- /tests/t4_query_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t4_query_test.py -------------------------------------------------------------------------------- /tests/t5_crud_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t5_crud_test.py -------------------------------------------------------------------------------- /tests/t_method_decorator_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t_method_decorator_test.py -------------------------------------------------------------------------------- /tests/t_modelhistoryproxy_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t_modelhistoryproxy_test.py -------------------------------------------------------------------------------- /tests/t_raiseload_col_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t_raiseload_col_test.py -------------------------------------------------------------------------------- /tests/t_selectinquery_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/t_selectinquery_test.py -------------------------------------------------------------------------------- /tests/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kolypto/py-mongosql/HEAD/tests/util.py --------------------------------------------------------------------------------