Skip to main content

💎 BrickJewels — one-line Databricks demo installer

brickjewels packages the entire BrickJewels AI jewelry-commerce demo into a single pip-installable package, à la dbdemos. One call provisions the whole stack into your workspace from pre-baked real data.

%pip install brickjewels
dbutils.library.restartPython()

import brickjewels
brickjewels.install('brickjewels', catalog='my_catalog')

Locally with a CLI profile:

pip install brickjewels
python -c "import brickjewels; brickjewels.install('brickjewels', profile='AnujLathi', catalog='anuj_vm_workspace_catalog')"

What gets installed

# Asset Detail
1 UC data layer schema + volume, enriched_jewelry_products (~236 LLM-enriched products) + jewelry_embeddings + ~236 product images
2 Vector Search brickjewels-vs endpoint + jewelry_embeddings_index (DELTA_SYNC, 1024-dim) for semantic & image search
3 Genie Space natural-language analytics over the product catalog
4 AI/BI dashboard catalog & sales analytics, published
5 Lakebase (Postgres) brickjewels-orders instance + brickjewels db: orders, users, nudges, live metal prices, dynamic product prices — seeded with data
6 App React + FastAPI storefront + admin analytics (Databricks App)
7 Background jobs Metals Refresh + Nudge Emails — created PAUSED (stopped, not triggered)

⏸ The two pipelines are installed PAUSED

Per design, the Metals Refresh Pipeline and Nudge Emails Pipeline jobs are created with their schedule pause_status = PAUSED. They will not run on a trigger. The demo works out of the box because metal prices and product prices are seeded into Lakebase. When you want a live refresh, either:

  • trigger them manually from the admin app (Run now), or
  • unpause the schedule in the Jobs UI.

The two job notebooks read Service-Principal credentials and (for emails) Gmail OAuth from a Databricks secret scope brickjewels. These secrets are not created by the installer — set them before unpausing if you want the jobs to run.

Options

brickjewels.install(
    'brickjewels',
    catalog='my_catalog',          # required on non-Free-Edition workspaces
    schema='brickjewels',          # default
    warehouse_id=None,             # default: first running/available
    install_app=True,
    install_lakebase=True,         # provision Lakebase + seed
    install_jobs=True,             # create the two PAUSED jobs
    install_vector_search=True,
    profile='AnujLathi',           # only when running locally
)

Rebuilding the package data (maintainers)

The packaged data/, dashboards/ and Lakebase schema are exported from the live reference build. To refresh them:

python scripts/export_live_assets.py --profile AnujLathi \
    --catalog anuj_vm_workspace_catalog --schema caratlane_jewelry
python -m build           # produces dist/brickjewels-*.whl

Installing the package

Until it's on PyPI, install the wheel straight from a GitHub Release:

pip install https://github.com/anuj1303/brickjewels-demo/releases/download/v0.1.0/brickjewels-0.1.0-py3-none-any.whl

or build-and-install from source:

pip install "git+https://github.com/anuj1303/brickjewels-demo.git"

Publishing to PyPI (maintainers)

The Publish brickjewels to PyPI GitHub Action publishes via trusted publishing (OIDC — no API tokens). One-time setup, then a one-click publish:

  1. On https://pypi.org → your account → Publishing → Add a pending publisher:
    • PyPI Project Name: brickjewels
    • Owner: anuj1303
    • Repository name: brickjewels-demo
    • Workflow name: publish.yml
    • Environment: (leave blank)
  2. In the repo: Actions → Publish brickjewels to PyPI → Run workflow.

Note: the wheel is ~88 MB (the 11.5M-row nudge_emails seed is most of it). That's under PyPI's 100 MB per-file limit but large — the GitHub Release wheel above is the recommended distribution for most users.

Reference build

  • Workspace: AWS FE VM (fe-vm-anuj-vm-workspace)
  • Source catalog/schema: anuj_vm_workspace_catalog.caratlane_jewelry
  • App: tanishq-jewelry-demo (UI name BrickJewels)

Metadata

Release files for brickjewels 0.1.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 brickjewels 0.1.0
File Size Uploaded Provenance Actions
brickjewels-0.1.0.tar.gz 91.9 MB With provenance Details for brickjewels-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for brickjewels 0.1.0
File Interpreter ABI Platform Actions
brickjewels-0.1.0-py3-none-any.whl Python 3 none any Details for brickjewels-0.1.0-py3-none-any.whl

Total release size: 183.7 MB

Release files / brickjewels-0.1.0.tar.gz

Download URL brickjewels-0.1.0.tar.gz
Size 91.9 MB
Tags Source
SHA-256 checksum
How to use checksums
eef22c5a196ceabc91592002d62bbc55036b0c437dd6202e75ebe797484bd395
BLAKE2b-256 checksum
How to use checksums
8bb4a1248177a1176c8903b61a4a6b1092afff101b0fdf8027a7673f0fbaf4ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

Release files / brickjewels-0.1.0-py3-none-any.whl

Download URL brickjewels-0.1.0-py3-none-any.whl
Size 91.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
609e23cc9e29ba09b2d8a99cf6c47a2df3ef24c3009bd2331b14bf24c70b22e3
BLAKE2b-256 checksum
How to use checksums
1aa7e8dde950c584e58c08d519f0824e5e0784f81f5392929c786211d84771bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

Security for brickjewels 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for brickjewels-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 3, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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