├── .codecov.yml ├── .flake8 ├── .github ├── dependabot.yml └── workflows │ ├── publish.yml │ └── test-suite.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── docs ├── assets │ └── images │ │ ├── banner.png │ │ └── icon.png ├── cheat_sheet.md ├── defining_documents.md ├── index.md └── queriying_documents.md ├── examples ├── basic.py └── embedded_models.py ├── mkdocs.yml ├── mongox ├── __init__.py ├── _helpers.py ├── database.py ├── exceptions.py ├── expressions.py ├── fields.py ├── index.py └── models.py ├── poetry.lock ├── pyproject.toml ├── scripts ├── README.md ├── build ├── check ├── clean ├── coverage ├── docs ├── lint ├── publish └── test └── tests ├── __init__.py ├── conftest.py ├── test_database.py ├── test_embedded_models.py ├── test_indexes.py ├── test_integrations.py ├── test_models.py └── test_multiple_models.py /.codecov.yml: -------------------------------------------------------------------------------- 1 | comment: off 2 | -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | max-line-length = 88 3 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test-suite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/.github/workflows/test-suite.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/README.md -------------------------------------------------------------------------------- /docs/assets/images/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/docs/assets/images/banner.png -------------------------------------------------------------------------------- /docs/assets/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/docs/assets/images/icon.png -------------------------------------------------------------------------------- /docs/cheat_sheet.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/docs/cheat_sheet.md -------------------------------------------------------------------------------- /docs/defining_documents.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/docs/defining_documents.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/queriying_documents.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/docs/queriying_documents.md -------------------------------------------------------------------------------- /examples/basic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/examples/basic.py -------------------------------------------------------------------------------- /examples/embedded_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/examples/embedded_models.py -------------------------------------------------------------------------------- /mkdocs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mkdocs.yml -------------------------------------------------------------------------------- /mongox/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/__init__.py -------------------------------------------------------------------------------- /mongox/_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/_helpers.py -------------------------------------------------------------------------------- /mongox/database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/database.py -------------------------------------------------------------------------------- /mongox/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/exceptions.py -------------------------------------------------------------------------------- /mongox/expressions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/expressions.py -------------------------------------------------------------------------------- /mongox/fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/fields.py -------------------------------------------------------------------------------- /mongox/index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/index.py -------------------------------------------------------------------------------- /mongox/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/mongox/models.py -------------------------------------------------------------------------------- /poetry.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/poetry.lock -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/README.md -------------------------------------------------------------------------------- /scripts/build: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/build -------------------------------------------------------------------------------- /scripts/check: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/check -------------------------------------------------------------------------------- /scripts/clean: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/clean -------------------------------------------------------------------------------- /scripts/coverage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/coverage -------------------------------------------------------------------------------- /scripts/docs: -------------------------------------------------------------------------------- 1 | #!/bin/sh -e 2 | 3 | set -x 4 | 5 | poetry run mkdocs serve 6 | -------------------------------------------------------------------------------- /scripts/lint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/lint -------------------------------------------------------------------------------- /scripts/publish: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/publish -------------------------------------------------------------------------------- /scripts/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/scripts/test -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/tests/conftest.py -------------------------------------------------------------------------------- /tests/test_database.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/tests/test_database.py -------------------------------------------------------------------------------- /tests/test_embedded_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/tests/test_embedded_models.py -------------------------------------------------------------------------------- /tests/test_indexes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/tests/test_indexes.py -------------------------------------------------------------------------------- /tests/test_integrations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/tests/test_integrations.py -------------------------------------------------------------------------------- /tests/test_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/tests/test_models.py -------------------------------------------------------------------------------- /tests/test_multiple_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/aminalaee/mongox/HEAD/tests/test_multiple_models.py --------------------------------------------------------------------------------