New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

qmvir

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qmvir

QMvir — Hybrid AI-Native Database: OLTP + OLAP + Search + Vector + Cache. JS/TS SDK + CLI installer.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

qmvir

QMvir — Hybrid AI-Native Database combining OLTP + OLAP + Full-text Search + Vector Search + Smart Cache in one platform.

Install

# npm
npm install qmvir

# pnpm
pnpm add qmvir

# Global CLI (auto-downloads platform binary)
npm install -g qmvir

The package auto-downloads the correct native binary for your platform and installs via pip.

SDK Usage (JavaScript / TypeScript)

import { QMClient } from "qmvir";

const qm = new QMClient("http://localhost:8400", { apiKey: "your-key" });

// CRUD
const users = await qm.find("users", {
  where: { status: "active" },
  orderBy: [{ created_at: "desc" }],
  limit: 10,
});

await qm.insert("users", { name: "Alice", balance: 150.5 });
await qm.update("users", "user-123", { balance: 200.0 });
await qm.delete("users", "user-456");

// Full-text + Vector hybrid search
const results = await qm.search("articles", "machine learning", {
  strategy: "hybrid", // lexical | vector | hybrid | rerank
  limit: 20,
});

// Analytics aggregation
const stats = await qm.aggregate("orders", {
  groupBy: ["region", "category"],
  metrics: [{ total: "SUM(amount)" }, { count: "COUNT(*)" }],
  where: { year: 2026 },
});

CLI Usage

# Start QMvir server
qmvir start
qmvir start --port 55433 --data-dir ./qmvir-data

# Connect via psql (PostgreSQL wire protocol)
psql -h 127.0.0.1 -p 55433 -U admin -d qm

# SQL queries
CREATE TABLE users (id INTEGER PRIMARY KEY, name TEXT, balance DOUBLE PRECISION);
INSERT INTO users VALUES (1, 'Alice', 150.50);
SELECT * FROM users WHERE balance > 100;

# Microbenchmark
qm-bench

Benchmark Results (v1.0.0, Apple Silicon)

BenchmarkQMvirPostgreSQL 16DuckDB 1.5Winner
Point Lookup17,5146,7543,136QMvir (2.6x PG)
Aggregation6,0311,3762,348QMvir (4.4x PG)
GROUP BY13,2276,1903,731QMvir (2.1x PG)
JOIN 2-table15,60712,7822,645QMvir (1.2x PG)
JOIN 3-table14,8745,4891,617QMvir (2.7x PG)
Bulk INSERT22,6616,9771,947QMvir (3.2x PG)
UPDATE14,1537,6902,993QMvir (1.8x PG)
OLAP Full Scan9,5292032,667QMvir (47x PG)

8/9 benchmark wins vs PostgreSQL 16 + DuckDB 1.5.

Architecture

         [ Unified Data Gateway ]
                  |
      +-->[ Core DB ]  <── source of truth
      |         |
      |         +--> WAL / CDC / Outbox
      |
      +-->[ Search Engine ]      (BM25, fuzzy, semantic)
      +-->[ Vector Engine ]      (HNSW, IVF-PQ, ANN)
      +-->[ Analytics Store ]    (columnar, materialized views)
      +-->[ Object Storage ]     (archive, lifecycle)

Supported Platforms

PlatformArchitectureStatus
macOSARM64 (M1+)
macOSx86_64
Linuxx86_64
LinuxARM64
Windowsx86_64

Alternative Install Methods

# pip
pip install qmvir

# Shell script (auto-detect platform)
curl -fsSL https://raw.githubusercontent.com/virgori/qmvir-releases/main/install.sh | bash

License

MIT

Keywords

database

FAQs

Package last updated on 14 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts