Python Library Examples¶
These examples show common ways to use the akasicdb Python package from application code.
Topics¶
| Example | Scope |
|---|---|
| High-Level SDK | Create a collection, insert records, filter metadata, and run similarity search |
| Psycopg3 | Register AkasicDB vector types, insert vectors, create an index, and query by distance |
| SQLAlchemy | Define vector columns in ORM models and use distance expressions |
| Django | Runnable Django script with vector model fields, indexes, and distance queries |
| Graph Query | Execute Cypher queries from Python and inspect generated SQL |