Skip to main content

crab-r

pip install uu-crab-r → import crab_r (Python ≥ 3.12, one abi3 wheel per platform).

Generative technical metadata for BigQuery. Name a project, a dataset, a table, or hand over SQL; crab-r reads the catalog, the queries that produce each table (job history, view definitions, or your SQL), Dataplex lineage and the values themselves, then writes column and table descriptions that are checked against the data before they are trusted.

import crab_r

# A dataset, keeping state so an unchanged rerun costs nothing.
report = crab_r.describe("my-project.mart", store="state", budget_usd=1)

# One table and what it reads, one level up.
crab_r.describe("my-project.mart.orders", upstream=1, store="state")

# A query's result, described as a virtual table (checks run over the query).
crab_r.describe(sql="SELECT customer_id, COUNT(*) AS orders FROM orders GROUP BY 1",
                default_dataset="my-project.mart")

# Lookups read the store, no network.
print(crab_r.lookup("state", "my-project.mart.orders.status"))
print(crab_r.upstream("state", "my-project.mart.orders.status"))

Options are the crab-describe command's flags as keyword arguments (lineage_location="us", profile=False, apply=True, ...). Credentials come from Application Default Credentials. Nothing is written to the warehouse unless apply=True.

License: AGPL-3.0-or-later, or a commercial license from lituus-io.

Metadata

Release files for uu-crab-r 0.2.1

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

Source distribution (sdist)

Source distribution for uu-crab-r 0.2.1
File Size Uploaded Provenance Actions
uu_crab_r-0.2.1.tar.gz 789.8 kB Without provenance Details for uu_crab_r-0.2.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for uu-crab-r 0.2.1
File Actions
uu_crab_r-0.2.1-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for uu_crab_r-0.2.1-cp312-abi3-win_amd64.whl
uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_x86_64.whl CPython 3.12 abi3 Linux glibc 2.28+ x86-64 Details for uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_x86_64.whl
uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details for uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_aarch64.whl
uu_crab_r-0.2.1-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for uu_crab_r-0.2.1-cp312-abi3-macosx_11_0_arm64.whl
uu_crab_r-0.2.1-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for uu_crab_r-0.2.1-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 15.0 MB

Release files / uu_crab_r-0.2.1.tar.gz

Download URL uu_crab_r-0.2.1.tar.gz
Size 789.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4e5ab37bf5ef2e6eee25c378e235a77288529038043502574bd458ff959fdff8
BLAKE2b-256 checksum
How to use checksums
6fe02863acf81644c4bc9bdad7ed719748378753e85f29a883764f74b85edd09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / uu_crab_r-0.2.1-cp312-abi3-win_amd64.whl

Download URL uu_crab_r-0.2.1-cp312-abi3-win_amd64.whl
Size 3.0 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e8710abadb97348069a95ddbbc88582bb72fc4bccdcc112245fa40e9a58e74ab
BLAKE2b-256 checksum
How to use checksums
b51e9ec6cc7b14ed3b6e5d1c68dc641b15a6060dbb10bde88f03a90c74761740
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_x86_64.whl
Size 2.9 MB
Tags CPython 3.12 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
437212f743d237b631643aaeb68676287990c193eeb32207147dc40bfd1dcf43
BLAKE2b-256 checksum
How to use checksums
97e82bf474e863b44fbd01f24fd86516dcbc423088bd439a7581f76c477a6553
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL uu_crab_r-0.2.1-cp312-abi3-manylinux_2_28_aarch64.whl
Size 2.8 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
006fbf0ec77785a612ce10563531ee042ce0cc5be27a7f671ecf554abec7a3d2
BLAKE2b-256 checksum
How to use checksums
ea6e814dfe312b658230977787343b5a7e2e0dfee8dee30ed9c5198f1234a48c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / uu_crab_r-0.2.1-cp312-abi3-macosx_11_0_arm64.whl

Download URL uu_crab_r-0.2.1-cp312-abi3-macosx_11_0_arm64.whl
Size 2.7 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ae9c274ac47ef71f99df1fd3d60ecc31e3b3940c8aa48c20c955a180a1f1b9c1
BLAKE2b-256 checksum
How to use checksums
3635a35ce83f08cce3b922f152c400fb8f5d70c0e1f0d024b1575b2563eee051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / uu_crab_r-0.2.1-cp312-abi3-macosx_10_12_x86_64.whl

Download URL uu_crab_r-0.2.1-cp312-abi3-macosx_10_12_x86_64.whl
Size 2.8 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0b04636cb4e957341f082b472c511a3cdf72850cbd432a312c15a446f970bcbc
BLAKE2b-256 checksum
How to use checksums
259d5317adc97b4c1af2ae7ccf14cb8b12c04c709742617027e33005110d2f52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for uu-crab-r 0.2.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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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