feat: remove kuzu
This commit is contained in:
@@ -1,57 +0,0 @@
|
||||
# Kuzu
|
||||
|
||||
Kuzu is an embedded graph database. It doesn't have an official Docker image for standalone deployment.
|
||||
|
||||
Kuzu is designed to be embedded in applications. To use Kuzu:
|
||||
|
||||
1. **Python**: Install via pip
|
||||
|
||||
```bash
|
||||
pip install kuzu
|
||||
```
|
||||
|
||||
2. **C++**: Build from source or use pre-built libraries
|
||||
|
||||
3. **Node.js**: Install via npm
|
||||
|
||||
```bash
|
||||
npm install kuzu
|
||||
```
|
||||
|
||||
## Example Usage (Python)
|
||||
|
||||
```python
|
||||
import kuzu
|
||||
|
||||
# Create a database
|
||||
db = kuzu.Database("./test_db")
|
||||
conn = kuzu.Connection(db)
|
||||
|
||||
# Create schema
|
||||
conn.execute("CREATE NODE TABLE Person(name STRING, age INT64, PRIMARY KEY(name))")
|
||||
conn.execute("CREATE REL TABLE Knows(FROM Person TO Person)")
|
||||
|
||||
# Insert data
|
||||
conn.execute("CREATE (:Person {name: 'Alice', age: 30})")
|
||||
conn.execute("CREATE (:Person {name: 'Bob', age: 25})")
|
||||
conn.execute("MATCH (a:Person), (b:Person) WHERE a.name = 'Alice' AND b.name = 'Bob' CREATE (a)-[:Knows]->(b)")
|
||||
|
||||
# Query
|
||||
result = conn.execute("MATCH (a:Person)-[:Knows]->(b:Person) RETURN a.name, b.name")
|
||||
while result.has_next():
|
||||
print(result.get_next())
|
||||
```
|
||||
|
||||
## Reference
|
||||
|
||||
- [Kuzu GitHub](https://github.com/kuzudb/kuzu)
|
||||
- [Kuzu Documentation](https://kuzudb.com)
|
||||
|
||||
## Notes
|
||||
|
||||
Kuzu is an embedded database and does not run as a standalone service. It's designed to be integrated directly into your application.
|
||||
|
||||
For a standalone graph database service, consider:
|
||||
|
||||
- [Neo4j](../neo4j/)
|
||||
- [NebulaGraph](../nebulagraph/)
|
||||
@@ -11,7 +11,7 @@ x-default: &default
|
||||
services:
|
||||
milvus-standalone-embed:
|
||||
<<: *default
|
||||
image: milvusdb/milvus:${MILVUS_VERSION:-v2.6.2}
|
||||
image: milvusdb/milvus:${MILVUS_VERSION:-v2.6.3}
|
||||
security_opt:
|
||||
- seccomp:unconfined
|
||||
environment:
|
||||
@@ -48,7 +48,7 @@ services:
|
||||
|
||||
attu:
|
||||
<<: *default
|
||||
image: zilliz/attu:${ATTU_VERSION:-v2.6.0}
|
||||
image: zilliz/attu:${ATTU_VERSION:-v2.6.1}
|
||||
profiles:
|
||||
- attu
|
||||
environment:
|
||||
|
||||
@@ -11,7 +11,7 @@ x-default: &default
|
||||
services:
|
||||
nginx:
|
||||
<<: *default
|
||||
image: nginx:${NGINX_VERSION:-1.29.1-alpine3.20}
|
||||
image: nginx:${NGINX_VERSION:-1.29.2-alpine3.22}
|
||||
container_name: nginx
|
||||
ports:
|
||||
- "${NGINX_HTTP_PORT_OVERRIDE:-80}:80"
|
||||
|
||||
Reference in New Issue
Block a user