
Security News
Opengrep Adds Apex Support and New Rule Controls in Latest Updates
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
This is a custom component that allows you to split files and send them from your browser to Streamlit.
pip install st_file_uploader
import streamlit as st
import st_file_uploader as stf
# Set page title and description
st.title("Custom File Uploader Demo")
st.write("This demo shows different ways to customize the file uploader component.")
# Using fully custom version
st.subheader("Fully Custom Version")
custom = stf.create_custom_uploader(
uploader_msg="Drop your amazing file here!",
limit_msg="Maximum size is 200MB",
button_msg="Select File",
icon="MdFileUpload"
)
file_custom = custom.file_uploader(
"Upload with custom text",
type=["xlsx", "csv"],
accept_multiple_files=True,
)
# Basic usage (English default)
st.subheader("Basic Usage (Default English)")
file = stf.file_uploader(
"Upload a CSV file",
type="csv",
)
# Using Spanish version
st.subheader("Spanish Version")
file_es = stf.es.file_uploader(
"Sube un archivo CSV",
type="csv",
)
# Mix of language with custom overrides
st.subheader("French with overrides")
file_fr = stf.file_uploader(
"Télécharger un fichier",
type=["jpg", "png", "gif"],
accept_multiple_files=True,
button_msg="Sélectionner une image",
)
# Show multiple types
st.subheader("Multiple file types demo")
file_types = stf.file_uploader(
"Upload documents",
type="csv",
accept_multiple_files=True,
)
FAQs
A customizable file uploader component for Streamlit
We found that st-file-uploader demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.