Skip to main content

streamlit-dbtree

Visualize Snowflake DB tree

IMAGE ALT TEXT HERE

Installation instructions

pip install streamlit-dbtree

Usage instructions

import streamlit as st

from streamlit_dbtree import streamlit_dbtree

ctx = snowflake.connector.connect(
    user='<user_name>',
    password='<password>'',
    account='<account_locator>'
    )   
value = streamlit_dbtree(ctx,key="mysnownav")
if value is not None:
    for sel in value:
        st.write(sel.get("id") +" IS A " +sel.get("type"))

Options

Show the border or not:
showBorder=<bool>

Tree height:
height=<int>

Tree background color:
backgroundColor=<str> HEX value or str color like "red", "blue"

Tree font color:
fontColor=<str> HEX value or str color like "red", "blue"

Tree background color for selected item(s):
selectColor=<str> HEX value or str color like "red", "blue"

Tree font color for selected item(s):
fontSelectedColor=<str> HEX value or str color like "red", "blue"

Tree background color for hovered item(s):
hoverColor=<str> HEX value or str color like "red", "blue"

Release files for streamlit-dbtree 0.2.5

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

Source distribution (sdist)

Source distribution for streamlit-dbtree 0.2.5
File Size Uploaded
streamlit-dbtree-0.2.5.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for streamlit-dbtree 0.2.5
File Interpreter ABI Platform
streamlit_dbtree-0.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / streamlit-dbtree-0.2.5.tar.gz

Download URL streamlit-dbtree-0.2.5.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
eb9391b5da0aad4925203b108e4a44206595da8731e5b748e533a9d1e8879f1c
BLAKE2b-256 checksum
How to use checksums
69f754292f23c3bbb44eeb3508f112f5ec93dc103da4d9f84110d8724d65ce70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / streamlit_dbtree-0.2.5-py3-none-any.whl

Download URL streamlit_dbtree-0.2.5-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35d6186731b4dd42cc3d36c7535fd7a7eb9595b348a1cc1ccb74e61ece196803
BLAKE2b-256 checksum
How to use checksums
8cb22ecd0f178f4e85934847216430234b9ef0afd2646f15290cbf455d24ba9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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