Skip to main content
An implementation of PartiQL written in Rust

Document(WIP)

Installation

pip install piqel
poetry add piqel

Usage

import piqel as pq

data = {
    "SHELL": "/bin/bash",
    "NAME": "my machine name",
    "PWD": "/home/fuyutarow/piqel",
    "LOGNAME": "fuyutarow",
    "HOME": "/home/fuyutarow",
    "LANG": "C.UTF-8",
    "USER": "fuyutarow",
    "HOSTTYPE": "x86_64",
    "_": "/usr/bin/env",
}
dl = pq.DataLake(data)
dl = dl.query("SELECT NAME, LOGNAME")
output = dl.to("json")
expected = """[{"NAME":"my machine name","LOGNAME":"fuyutarow"}]"""
assert output == expected

Test

makers test:py

Family

content lang package
pq CLI (brew, scoop)
piqel Rust (cargo) https://crates.io/crates/piqel
piqel-js JavaScript (npm) https://www.npmjs.com/package/piqel
piqel-py Python (pip) https://pypi.org/project/piqel

Metadata

Release files for piqel 0.202208.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for piqel 0.202208.0
File Interpreter ABI Platform
piqel-0.202208.0-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
piqel-0.202208.0-cp39-cp39-macosx_11_0_arm64.whl CPython 3.9 CPython 3.9 macOS 11.0+ ARM64 Details

Total release size: 5.8 MB

Release files / piqel-0.202208.0-cp310-cp310-macosx_11_0_arm64.whl

Download URL piqel-0.202208.0-cp310-cp310-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
487afeb5e85d5abe8fee1b97ca128abdc7ba12393f686e20cd2e7e0db5c28103
BLAKE2b-256 checksum
How to use checksums
aefa2e5acef6150a248f0c466f44b40099503a1deec923b7d747cbc8f883c9b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.10.6

Release files / piqel-0.202208.0-cp39-cp39-macosx_11_0_arm64.whl

Download URL piqel-0.202208.0-cp39-cp39-macosx_11_0_arm64.whl
Size 2.9 MB
Tags CPython 3.9 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
cfdda54d6aad4584be1d97a52ccadefffa8583cb79a7cd0d830e3604d63d04e9
BLAKE2b-256 checksum
How to use checksums
8b32430af5186d4cabccf60c885c31bd66cc3d532d4629dc3c5dead7c0a83138
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.10.6

Release history Release notifications | RSS feed

This release

0.202208.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page