db_presto

prestodb connector

Pure Nim score 30/100 · tests present · docs generated

Summary

Latest Version 1.1.0
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-08-31 07:16

Authors

  • Bennyelg

Installation

nimble install db_presto
choosenim install db_presto
git clone https://github.com/Bennyelg/nimPresto

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
db_presto - - - - - - -

Dependencies

Package Version Optional
nim >= 0.18.0 No

Source

Repository https://github.com/Bennyelg/nimPresto
Homepage https://github.com/Bennyelg/nimPresto
Documentation View Documentation
Registry Source nimble_official

README

prestodb-Nim nimble

alt tag

Simple presto-db connector using nim.

Current Version:

Release 1.0

What Works ?

  • execute(sql"sql")
  • fetchOne()
  • fetchMany(size)
  • fetchAll()
  • authentication

Usage:

    import db_presto
    let conn = newPrestoClient("https", "host", "8443", "hive", "default", "user", "password")
    var ctx = conn.cursor()
    ctx.execute(sql"select * from gett_algo.weather_forecast5d3h_v2 LIMIT 11")

Installation:

nimble install db_presto

contributing

I'll be happy to get any help, just work & pull request.