Skip to main content

VueDsfr components for Streamlit

Project description

streamlit-dsfr

VueDsfr components for Streamlit

Installation instructions

pip install streamlit-dsfr

Usage instructions

import streamlit as st
import streamlit_dsfr as stdsfr

# Instead of st.button():
value = stdsfr.button()

# Returns True or False
st.write(value)

Available static components:

  • stdsfr.alert
  • stdsfr.badge
  • stdsfr.image

Available interactive components:

  • stdsfr.button
  • stdsfr.link_button
  • stdsfr.copy_button
  • stdsfr.checkbox
  • stdsfr.radio
  • stdsfr.text_input
  • stdsfr.number_input
  • stdsfr.text_area
  • stdsfr.slider
  • stdsfr.file_uploader

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

streamlit-dsfr-0.0.7.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

streamlit_dsfr-0.0.7-py3-none-any.whl (1.4 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page