GenSQL for Python
This package provides bindings for GenSQL.
This package requires Java (>= 17) to be installed, either in $JAVA_HOME, or in your $PATH.
Usage:
First, you'll need a database file. You can find an example one here or create one using your own data set with this pipeline
Then, in your python file, you can load and query your database like so:
import gensql
db = gensql.DB("db.edn")
db.query("SELECT * FROM data LIMIT 5")
Optionally you can pick between the strict and permissive variants of gensql with the mode flag (defaults to permissive):
db.query("SELECT * FROM data LIMIT 5", mode="permissive")
You can also pass the results directly into DataFrame from pandas:
import gensql
import pandas as pd
db = gensql.DB("db.edn")
df = pd.DataFrame(db.query("SELECT * FROM data LIMIT 5"))
Metadata
Release files for gensql 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| gensql-0.3.1.tar.gz | 52.7 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gensql-0.3.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 105.2 MB
Release files / gensql-0.3.1.tar.gz
| Download URL | gensql-0.3.1.tar.gz |
|---|---|
| Size | 52.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e256d86d00f5000721f5ae8e3b300079daa7f3b5aedac5a056826cd84b13fd4
|
|
BLAKE2b-256 checksum How to use checksums |
e8d143cf0f509af57ab159a06382e9b9411f6601d38a0b7193cfc88838ae419c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Bluefin","version":"42","id":"Deinonychus","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / gensql-0.3.1-py3-none-any.whl
| Download URL | gensql-0.3.1-py3-none-any.whl |
|---|---|
| Size | 52.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2306e2a9282d9dddd2edd22c05f1333aace806ca1babe0aebe47a0ff289fcafb
|
|
BLAKE2b-256 checksum How to use checksums |
d030e3a4e7cbc8a4b107e6034220fd141aecccb5039d17b0e08334d0edb960c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.11 {"installer":{"name":"uv","version":"0.9.11"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Bluefin","version":"42","id":"Deinonychus","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for gensql 0.3.1
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.