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.0

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.0
File Size Uploaded Provenance Actions
uu_crab_r-0.2.0.tar.gz 785.2 kB Without provenance Details for uu_crab_r-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for uu-crab-r 0.2.0
File Actions
uu_crab_r-0.2.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for uu_crab_r-0.2.0-cp312-abi3-win_amd64.whl
uu_crab_r-0.2.0-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.0-cp312-abi3-manylinux_2_28_x86_64.whl
uu_crab_r-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details for uu_crab_r-0.2.0-cp312-abi3-manylinux_2_28_aarch64.whl
uu_crab_r-0.2.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for uu_crab_r-0.2.0-cp312-abi3-macosx_11_0_arm64.whl
uu_crab_r-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for uu_crab_r-0.2.0-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 14.9 MB

Release files / uu_crab_r-0.2.0.tar.gz

Download URL uu_crab_r-0.2.0.tar.gz
Size 785.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6d154475da94beb64e706d3b722882734b1f25c260a04e534566114f88c86eab
BLAKE2b-256 checksum
How to use checksums
7af8a01e7de85a3cb9ca9ab2354a7f5597e7ab04db0a0c6814dab97f2a50f161
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.0-cp312-abi3-win_amd64.whl

Download URL uu_crab_r-0.2.0-cp312-abi3-win_amd64.whl
Size 3.0 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
69e9016059839d2ecfb94de0dc4f7913aa96e57c773ff1ee70a97c9d616ca18a
BLAKE2b-256 checksum
How to use checksums
e4a55fbed38fb8bed2c257e6203ce7f3dffcbfe27c096fee2f2e904fd724cfb5
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.0-cp312-abi3-manylinux_2_28_x86_64.whl

Download URL uu_crab_r-0.2.0-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
a2325d89ed9f5bd3af2e5117540e34d13b24543dba85ac8d9ba75325a27b3f2a
BLAKE2b-256 checksum
How to use checksums
1ce845e572d0a2382bb771265cd8faf00862c7e3acc94a7b2da5c209c3f077b1
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.0-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL uu_crab_r-0.2.0-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
bc7d3e754a6c4cdf4770dbed66883f57eff8927015250ff1153023f7a9bddc5b
BLAKE2b-256 checksum
How to use checksums
1b4d718433e4fbdb758a05dffa6286804f576b878b6d1e2a1beadec4e9f52b43
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.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL uu_crab_r-0.2.0-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
d242f7610af98e79df5af8675c00652095cebaec57a9e164c60f115bfa0c06d7
BLAKE2b-256 checksum
How to use checksums
3caff2c4e8c1787a4baa5438c1d57c473095058f8a0b00b38c28d0af5bbf073d
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.0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL uu_crab_r-0.2.0-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
ec7173c1d7255fcb5080d63563314721a0e2ab825d8f0891b4c443deb414595d
BLAKE2b-256 checksum
How to use checksums
2a98100b40bdbbd291b276ab11921dcbb9b3b5c01e8004339caaed5889654a3e
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.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.

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