Skip to content

A DataFetch lib written in Rust, works for both Rust and Python.

License

Notifications You must be signed in to change notification settings

Jacobbishopxy/fastqx

Repository files navigation

FastQX

A DataFetch lib written in Rust, works for both Rust and Python. Powered by pyo3 & maturin.

Sources:

  • Sql (MsSql/MySql/Postgresql/Sqlite)
  • Csv
  • Http (Json)

Data Helper:

Data Operators:

Quick Start for Rust

Data construction:

use fastqx::fqx;

// create a `null` value
let a = fqx!();
println!("{:?}", a);

// create a value
let a = fqx!(1);
println!("{:?}", a);

// create an empty row
let a = fqx!(());
println!("{:?}", a);

// create a row
let a = fqx!(1, "ab", 2.0);
println!("{:?}", a);

// create a data
let a = fqx!(
    (1, "a", 1.1),
    (2, "b", fqx!()),
    (3, "c", 3.3),
    (4, "d", 4.4),
    (5, "e", 5.5),
);
println!("{:?}", a);

Other test cases in Rust:

Quick Start for Python

Dev

  • Install Python dependencies: make devenv-init

  • Build Python package: make install

About

A DataFetch lib written in Rust, works for both Rust and Python.

Topics

Resources

License

Stars

Watchers

Forks