Git Product home page Git Product logo

julia-questdb-client's Introduction

QuestDB client for Julia

This package provides a Julia client for QuestDB, a high-performance time-series database.

Installation

The package can be installed using the Julia package manager:

] add QuestDB

or

using Pkg
Pkg.add("QuestDB")

Usage

The package provides a high-level API for interacting with QuestDB. The API is designed to be as simple as possible, while still providing the functionality required to work with time-series data. The package also provides a low-level API for interacting with the C library directly.

Examples

The following examples show how to use the package to interact with QuestDB. For more examples, see the examples directory.

using .QuestDB
using Dates

auth = (
    "testUser1",                                    # kid
    "5UjEMuA0Pj5pjK8a-fa24dyIf-Es5mYny3oE_Wmus48",  # d
    "fLKYEaoEb9lrn3nkwLDA-M_xnuFOdSt9y0Z7_vWSHLU",  # x
    "Dt5tbS1dEDMSYfym3fgMv0B99szno-dFc1rYF9t0aac"   # y
)  

sender = Sender("localhost", 9009, auth)

try                      
    sender.table("testing_OOP2")
    sender.symbol("first_symbol", "first_symbol")
    sender.column("column_a", "value_a")
    sender.column("column_b_int", 1)
    sender.column("column_c_float", 1.1)
    sender.column("column_d_bool", true)
    sender.column("timestamp_column", Dates.Microsecond(1674983677000000))            
    sender.flush()
catch e
    println(e)
finally
    sender.close()
end

Docs

The documentation for the package can be found here. The documentation is automatically generated using Documenter.jl.

Community

If you need help, have additional questions or want to provide feedback, you may find us on Slack.

You can also sign up to our mailing list to get notified of new releases.

License

The code is released under the Apache License 2.0.

julia-questdb-client's People

Contributors

amunra avatar brandonescamilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

julia-questdb-client's Issues

Any chance for a RC?

I'd like to kindly ask if there is any chance for a RC? I'm also wondering if you are planning to leverage HTTP instead of TCP in the upcoming version?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.