nlbq
Natural language interface to BigQuery
Google credentials
The Python BigQuery library expects the environment variable GOOGLE_APPLICATION_CREDENTIALS, which should point to a JSON file containing the credentials of a Google service account. You can create a service account and download its credentials from the Google Cloud Console. Then set the environment variable:
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/google-service-account.json
Creating a demo environment
mkdir demo # Git will ignore this directory
cd demo
python3 -m venv venv
source venv/bin/activate
pip install -e ../ # Install the local package in editable mode
nlbq init # generates prompt.txt, Dockerfile and index.html
# make changes then
pip uninstall nlbq --yes; pip install -e ../
You can initialise with prepopulated BigQuery dataset table schema information with
nlbq init --table dataset.table_id
Usage
nlbq --help
Metadata
Release files for nlbq 0.1.7
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 | Actions |
|---|---|---|---|---|
| nlbq-0.1.7.tar.gz | 11.8 kB | Without provenance | Details for nlbq-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nlbq-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for nlbq-0.1.7-py3-none-any.whl |
Total release size: 23.9 kB
Release files / nlbq-0.1.7.tar.gz
| Download URL | nlbq-0.1.7.tar.gz |
|---|---|
| Size | 11.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bb891454883405c67476b14e20120fc00b84f19be463a2557be53805aae7521
|
|
BLAKE2b-256 checksum How to use checksums |
43aea84e09caabe6639c5c1a4df749389663c1a52d9bbd8ef4770fd5a7b2fdf9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / nlbq-0.1.7-py3-none-any.whl
| Download URL | nlbq-0.1.7-py3-none-any.whl |
|---|---|
| Size | 12.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6fc427949b4bcdfe62fc98cb7ea11c3c5650432ca0da4ed52bcfe0e27e3d2e32
|
|
BLAKE2b-256 checksum How to use checksums |
247d88bf5e2741dae486835cff6f08703e8e54c35a929d757ec458637f6ffc01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for nlbq 0.1.7
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.