partiql-py
An implementation of PartiQL written in Rust
Document
Installation
pip install partiql
poetry add partiql
Usage
import partiql as pq
data = {
"SHELL": "/bin/bash",
"NAME": "my machine name",
"PWD": "/home/fuyutarow/partiql-rs",
"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
Familiy
| content | lang | package |
|---|---|---|
| pq | CLI (brew, scoop) | |
| partiql-rs | Rust (cargo) | https://crates.io/crates/partiql-rs |
| partiql-js | JavaScript (npm) | https://www.npmjs.com/package/partiql-js |
| partiql-py | Python (pip) | https://pypi.org/project/partiql |
Metadata
Release files for partiql 0.202107.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| partiql-0.202107.0-cp39-cp39-manylinux_2_27_x86_64.whl | CPython 3.9 | CPython 3.9 | Linux glibc 2.27+ x86-64 | Details for partiql-0.202107.0-cp39-cp39-manylinux_2_27_x86_64.whl |
| partiql-0.202107.0-cp36-cp36m-manylinux_2_27_x86_64.whl | CPython 3.6 | CPython 3.6 pymalloc | Linux glibc 2.27+ x86-64 | Details for partiql-0.202107.0-cp36-cp36m-manylinux_2_27_x86_64.whl |
Total release size: 8.8 MB
Release files / partiql-0.202107.0-cp39-cp39-manylinux_2_27_x86_64.whl
| Download URL | partiql-0.202107.0-cp39-cp39-manylinux_2_27_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.9 Linux glibc 2.27+ x86-64 |
|
SHA-256 checksum How to use checksums |
bb196e8b656b68834a3c317ce4e6ec0cff5d95af359271fc8220e6bf23df7c8d
|
|
BLAKE2b-256 checksum How to use checksums |
dc23d2e0e4626af27d2302f0c9892fed4e1da36249fd91952919c2ad24c43f52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.10.6
|
Release files / partiql-0.202107.0-cp36-cp36m-manylinux_2_27_x86_64.whl
| Download URL | partiql-0.202107.0-cp36-cp36m-manylinux_2_27_x86_64.whl |
|---|---|
| Size | 4.4 MB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.27+ x86-64 |
|
SHA-256 checksum How to use checksums |
273b1341620bc907c403831d190c5db1377c2f8da93a0a77ae7d679d8efd191d
|
|
BLAKE2b-256 checksum How to use checksums |
81597ff5dfaa14dd4de7b39d7d4182d9c9ac5f0b3205d0bccc16642a11a98bec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/0.10.6
|
Security for partiql 0.202107.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.