├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── PULL_REQUEST_TEMPLATE.md ├── renovate.json └── workflows │ ├── cd-pydgraph.yml │ ├── ci-pydgraph-tests.yml │ └── trunk.yml ├── .gitignore ├── .trunk ├── .gitignore ├── configs │ ├── .checkov.yaml │ ├── .isort.cfg │ ├── .markdownlint.json │ ├── .prettierrc │ ├── .shellcheckrc │ ├── .yamllint.yaml │ └── ruff.toml └── trunk.yaml ├── .vscode ├── extensions.json └── settings.json ├── CHANGELOG.md ├── LICENSE ├── PUBLISHING.md ├── README.md ├── examples ├── embeddings │ └── computeEmbeddings.py ├── notebook │ ├── RAG │ │ ├── RAG_with_Dgraph.ipynb │ │ ├── data │ │ │ ├── amazon_product_kg.json │ │ │ ├── products.rdf │ │ │ └── products.schema │ │ └── generateRDF.ipynb │ ├── README.md │ ├── dgraph-ai-classification.ipynb │ ├── dgraph-episode1.ipynb │ └── self_managed_cluster.ipynb ├── parse_datetime │ ├── README.md │ └── parse_datetime.py ├── simple │ ├── README.md │ ├── __init__.py │ ├── docker-compose.yml │ └── simple.py └── tls │ ├── .gitignore │ ├── README.md │ ├── docker-compose.yml │ ├── hmac-secret │ ├── tls │ └── .gitkeep │ └── tls_example.py ├── pydgraph ├── __init__.py ├── client.py ├── client_stub.py ├── convert.py ├── errors.py ├── meta.py ├── proto │ ├── __init__.py │ ├── api.proto │ ├── api_pb2.py │ └── api_pb2_grpc.py ├── txn.py └── util.py ├── pyproject.toml ├── scripts ├── local-test.sh └── protogen.py └── tests ├── __init__.py ├── acl-secret ├── docker-compose.yml ├── helper.py ├── test_acct_upsert.py ├── test_acl.py ├── test_async.py ├── test_client.py ├── test_client_stub.py ├── test_connect.py ├── test_convert.py ├── test_essentials.py ├── test_queries.py ├── test_txn.py ├── test_type_system.py ├── test_upsert_block.py └── test_util.py /.github/CODEOWNERS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/CODEOWNERS -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/renovate.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/renovate.json -------------------------------------------------------------------------------- /.github/workflows/cd-pydgraph.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/workflows/cd-pydgraph.yml -------------------------------------------------------------------------------- /.github/workflows/ci-pydgraph-tests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/workflows/ci-pydgraph-tests.yml -------------------------------------------------------------------------------- /.github/workflows/trunk.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.github/workflows/trunk.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.gitignore -------------------------------------------------------------------------------- /.trunk/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.trunk/.gitignore -------------------------------------------------------------------------------- /.trunk/configs/.checkov.yaml: -------------------------------------------------------------------------------- 1 | skip-check: 2 | - CKV_GHA_7 3 | -------------------------------------------------------------------------------- /.trunk/configs/.isort.cfg: -------------------------------------------------------------------------------- 1 | [settings] 2 | profile=black 3 | -------------------------------------------------------------------------------- /.trunk/configs/.markdownlint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.trunk/configs/.markdownlint.json -------------------------------------------------------------------------------- /.trunk/configs/.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.trunk/configs/.prettierrc -------------------------------------------------------------------------------- /.trunk/configs/.shellcheckrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.trunk/configs/.shellcheckrc -------------------------------------------------------------------------------- /.trunk/configs/.yamllint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.trunk/configs/.yamllint.yaml -------------------------------------------------------------------------------- /.trunk/configs/ruff.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.trunk/configs/ruff.toml -------------------------------------------------------------------------------- /.trunk/trunk.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.trunk/trunk.yaml -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["trunk.io"] 3 | } 4 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/LICENSE -------------------------------------------------------------------------------- /PUBLISHING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/PUBLISHING.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/README.md -------------------------------------------------------------------------------- /examples/embeddings/computeEmbeddings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/embeddings/computeEmbeddings.py -------------------------------------------------------------------------------- /examples/notebook/RAG/RAG_with_Dgraph.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/RAG/RAG_with_Dgraph.ipynb -------------------------------------------------------------------------------- /examples/notebook/RAG/data/amazon_product_kg.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/RAG/data/amazon_product_kg.json -------------------------------------------------------------------------------- /examples/notebook/RAG/data/products.rdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/RAG/data/products.rdf -------------------------------------------------------------------------------- /examples/notebook/RAG/data/products.schema: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/RAG/data/products.schema -------------------------------------------------------------------------------- /examples/notebook/RAG/generateRDF.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/RAG/generateRDF.ipynb -------------------------------------------------------------------------------- /examples/notebook/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/README.md -------------------------------------------------------------------------------- /examples/notebook/dgraph-ai-classification.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/dgraph-ai-classification.ipynb -------------------------------------------------------------------------------- /examples/notebook/dgraph-episode1.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/dgraph-episode1.ipynb -------------------------------------------------------------------------------- /examples/notebook/self_managed_cluster.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/notebook/self_managed_cluster.ipynb -------------------------------------------------------------------------------- /examples/parse_datetime/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/parse_datetime/README.md -------------------------------------------------------------------------------- /examples/parse_datetime/parse_datetime.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/parse_datetime/parse_datetime.py -------------------------------------------------------------------------------- /examples/simple/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/simple/README.md -------------------------------------------------------------------------------- /examples/simple/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/simple/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/simple/docker-compose.yml -------------------------------------------------------------------------------- /examples/simple/simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/simple/simple.py -------------------------------------------------------------------------------- /examples/tls/.gitignore: -------------------------------------------------------------------------------- 1 | tls/* 2 | !tls/.gitkeep 3 | -------------------------------------------------------------------------------- /examples/tls/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/tls/README.md -------------------------------------------------------------------------------- /examples/tls/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/tls/docker-compose.yml -------------------------------------------------------------------------------- /examples/tls/hmac-secret: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/tls/hmac-secret -------------------------------------------------------------------------------- /examples/tls/tls/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/tls/tls_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/examples/tls/tls_example.py -------------------------------------------------------------------------------- /pydgraph/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/__init__.py -------------------------------------------------------------------------------- /pydgraph/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/client.py -------------------------------------------------------------------------------- /pydgraph/client_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/client_stub.py -------------------------------------------------------------------------------- /pydgraph/convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/convert.py -------------------------------------------------------------------------------- /pydgraph/errors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/errors.py -------------------------------------------------------------------------------- /pydgraph/meta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/meta.py -------------------------------------------------------------------------------- /pydgraph/proto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/proto/__init__.py -------------------------------------------------------------------------------- /pydgraph/proto/api.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/proto/api.proto -------------------------------------------------------------------------------- /pydgraph/proto/api_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/proto/api_pb2.py -------------------------------------------------------------------------------- /pydgraph/proto/api_pb2_grpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/proto/api_pb2_grpc.py -------------------------------------------------------------------------------- /pydgraph/txn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/txn.py -------------------------------------------------------------------------------- /pydgraph/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pydgraph/util.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/local-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/scripts/local-test.sh -------------------------------------------------------------------------------- /scripts/protogen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/scripts/protogen.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/acl-secret: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/acl-secret -------------------------------------------------------------------------------- /tests/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/docker-compose.yml -------------------------------------------------------------------------------- /tests/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/helper.py -------------------------------------------------------------------------------- /tests/test_acct_upsert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_acct_upsert.py -------------------------------------------------------------------------------- /tests/test_acl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_acl.py -------------------------------------------------------------------------------- /tests/test_async.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_async.py -------------------------------------------------------------------------------- /tests/test_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_client.py -------------------------------------------------------------------------------- /tests/test_client_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_client_stub.py -------------------------------------------------------------------------------- /tests/test_connect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_connect.py -------------------------------------------------------------------------------- /tests/test_convert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_convert.py -------------------------------------------------------------------------------- /tests/test_essentials.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_essentials.py -------------------------------------------------------------------------------- /tests/test_queries.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_queries.py -------------------------------------------------------------------------------- /tests/test_txn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_txn.py -------------------------------------------------------------------------------- /tests/test_type_system.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_type_system.py -------------------------------------------------------------------------------- /tests/test_upsert_block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_upsert_block.py -------------------------------------------------------------------------------- /tests/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dgraph-io/pydgraph/HEAD/tests/test_util.py --------------------------------------------------------------------------------