Skip to main content

Embed the power of Processing.org in your Streamlit app

Project description

streamlit_sp5

Embed your processing sketches in Streamlit!

Installation instructions

pip install streamlit_p5

Usage instructions

import streamlit as st
from streamlit_p5 import sketch

p5_sketch = sketch("""
function setup() {
   createCanvas(700, 500);
}

// The background function is a statement that tells the computer
// which color (or gray value) to make the background of the display window 
function draw() {
   background(204, 153, 0);
}
""", width=700, height=500)

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_p5-0.0.1.tar.gz (247.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

streamlit_p5-0.0.1-py3-none-any.whl (496.6 kB view details)

Uploaded Python 3

File details

Details for the file streamlit_p5-0.0.1.tar.gz.

File metadata

  • Download URL: streamlit_p5-0.0.1.tar.gz
  • Upload date:
  • Size: 247.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for streamlit_p5-0.0.1.tar.gz
Algorithm Hash digest
SHA256 16aade9e357a15d373f2421bdf6700ab66e69f2adcf26317ed584cbdfe5597a9
MD5 83bba449995d9ebedc178c227a07c1a5
BLAKE2b-256 370afe5ee0428cc7a6d56a6c8335dfe6b9226274c60d0aff86d1dd5e9f1a8f49

See more details on using hashes here.

File details

Details for the file streamlit_p5-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: streamlit_p5-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 496.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for streamlit_p5-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c5534cc240ca267cc121ea598191a8dbf5239c61f2cfb81124177a7569c8fecf
MD5 c42d22c18582ff893a919bb76d0f7074
BLAKE2b-256 1bd2cb04360831c91c911cb0284f43f2a79a401a18519702d4c84957ecda7864

See more details on using hashes here.

Supported by

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