Skip to content

Packages

All repositories live in the cubrid-lab organization. The stable Python packages are MIT licensed.

Python — stable, on PyPI

pycubrid

Pure-Python DB-API 2.0 (PEP 249) driver speaking the CUBRID CAS wire protocol. No C extensions, no C compiler, zero runtime dependencies.

  • Repository · Documentation · PyPI
  • Python 3.10–3.14, CUBRID 10.2–11.4
  • TLS/SSL support, LOB handling, async variant included
  • Notable optimizations: native ping (CHECK_CAS) +280% throughput, SQLAlchemy pool_pre_ping +588% throughput

sqlalchemy-cubrid

SQLAlchemy 2.0 dialect, rebuilt from scratch on top of pycubrid.

  • Repository · Documentation · PyPI
  • Schema reflection (tables, columns, PK/FK, indexes, views, comments)
  • MERGE, ON DUPLICATE KEY UPDATE, REPLACE
  • Native ENUM support (validated against CUBRID 10.2–11.4)
  • Alembic migration support, official SQLAlchemy test suite integrated

cubrid-cookbook-python

Runnable examples and production templates — and a dogfooding platform: 45 examples execute nightly against live CUBRID 11.2 + 11.4 servers, catching driver regressions before users do.

  • Repository · Documentation
  • 75 examples across fundamentals → advanced topics
  • 7 application templates: FastAPI, Flask, Django, Streamlit, Celery, ETL, AI agent

cubrid-mcp-server

Model Context Protocol server for CUBRID — the first publicly available one.

  • Repository · Documentation · PyPI
  • 12 tools (11 read + 1 opt-in write) behind a read-only safety whitelist
  • Domain-knowledge packs that teach LLMs CUBRID SQL syntax
  • Expert workflow prompts for common analysis tasks

Rust — in progress

Repository Description
cubrid-rs CAS protocol codec and clients — workspace with cubrid-protocol, cubrid-client (sync), cubrid-tokio (async), cubrid-pool (connection pool)
sea-orm-cubrid SeaORM dialect for CUBRID

Go — in progress

Repository Description
cubrid-go Pure-Go database/sql driver for CUBRID
gorm-cubrid GORM dialect for CUBRID

TypeScript — in progress

Repository Description
cubrid-client Modern TypeScript-first Node.js client for CUBRID
drizzle-cubrid Drizzle ORM dialect for CUBRID

Tooling

Repository Description
cubrid-benchmark Reproducible benchmark suite with automated comparison for the CUBRID ecosystem
showcase Contest materials, press kit, and presentation assets