Skip to main content

Streamfy — Buefy for Streamlit

Modern frontend web components based on Bulma and Buefy for Streamlit.

Live demo at streamfy.streamlit.app

Getting Started

Install streamfy:

pip install streamfy

Create a simple application app.py:

import streamlit as st
import streamfy as sy

sy.carousel(items=[
  "https://picsum.photos/id/1051/1230/500",
  "https://picsum.photos/id/1052/1230/500",
  "https://picsum.photos/id/1053/1230/500",
])

Run this application:

streamlit run app.py

A file with all components is available in examples/all.py:

Take a look at Buefy's documentation for a list of all properties and examples available.

Contributing

Ensure you have Python 3.6+, Node.js, and npm installed.

Clone this repo and create a new Python virtual environment:

$ python3 -m venv venv  # create venv
$ . venv/bin/activate   # activate venv
$ pip install streamlit # install streamlit

Initialize and run the component frontend:

$ cd streamfy/frontend
$ npm install    # Install npm dependencies
$ npm run serve  # Start the Webpack dev server

From a separate terminal, run the Streamlit app:

$ . venv/bin/activate  # activate the venv you created earlier
$ streamlit run streamfy/__init__.py  # run the example

If all goes well, you should see something like this:

Modify the frontend code at streamfy/frontend/src/Streamfy.vue and the Python code at streamfy/__init__.py.

Resources

Metadata

Release files for streamfy 0.3.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 streamfy 0.3.5
File Size Uploaded
streamfy-0.3.5.tar.gz 812.9 kB Details

Built distribution (wheel)

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

Total release size: 1.6 MB

Release files / streamfy-0.3.5.tar.gz

Download URL streamfy-0.3.5.tar.gz
Size 812.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a7126f8a6cd1a5e8ca4762c61e38e8fb4aa886df326b8d1c313eacd5d5f8cd18
BLAKE2b-256 checksum
How to use checksums
ffb18081ed848c8134a99f6a39ab935ff543898901174c3a03691f814f79c1fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release files / streamfy-0.3.5-py3-none-any.whl

Download URL streamfy-0.3.5-py3-none-any.whl
Size 820.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
989cd52db4d0845280f8c402c39aa150e31ef3beed6f8740901f13a03b614486
BLAKE2b-256 checksum
How to use checksums
b9e847b5be32544fa48f3c119889670588968b5d7cd4306e4a6b4b421de6cb64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.8

Release history Release notifications | RSS feed

This release

0.3.5 This release

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

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

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