cowsdb / libcows

Library builder for CowsDB, a non-commercial, community powered chdb/ClickHouse embedded alternative.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status

libCows

Independent builder generating a stable chdb compatible library binding for C/C++/Go/Rust/Node/Bun/etc


Features

  • In-process SQL OLAP Engine, powered by chdb/ClickHouse
  • Library only designed for native bindings and integrations
  • Compatible with chdb bindings without python obsession.
  • Same source code and featureset as chdb/ClickHouse.

πŸ“¦ Installation

Install libcows manually on x64 or arm64 Linux platforms:

Linux

πŸ“¦ x86_64
wget https://github.com/cowsdb/libcows/releases/latest/download/libcows.zip
unzip libcows.zip
mv libcows.so /usr/lib/libcows.so
πŸ“¦ arm64
wget https://github.com/cowsdb/libcows/releases/latest/download/libcows_arm64.zip
unzip libcows_arm64.zip
mv libcows.so /usr/lib/libcows.so

Packages

Install libcows on any deb or rpm based operating system:

πŸ“¦ Debian Repository (x64/arm64)
wget -q -O - https://cowsdb.github.io/libcows_installer.sh | sudo bash
sudo apt install libcows
πŸ“¦ RPM Repository (x64/arm64)
wget -q -O - https://cowdb.github.io/libcows_installer.sh | sudo bash
sudo yum install -y libcows

:octocat: Usage

A basic libcows usage example is included with this repository:

cd example
./run.sh

🚧: Project Status

  • patch builder, bypass python bindings
  • package library as deb, rpm
  • host package repository on github pages/actions
  • arm64 library support
  • header files and examples
  • split from chdb-io after they used us up

About

Library builder for CowsDB, a non-commercial, community powered chdb/ClickHouse embedded alternative.

License:GNU Affero General Public License v3.0


Languages

Language:Shell 68.0%Language:C 27.1%Language:C++ 4.9%