Track & visualize user interactions with your streamlit app.
Project description
streamlit-analytics2 👀
Enhanced tracking & visualization for your Streamlit apps.
streamlit-analytics2
is a fork and extension of the original streamlit-analytics, aimed at improving and securing the analytics functionality within Streamlit applications. With minimal setup, track user interactions and visualize analytics directly in your browser, akin to Google Analytics but tailored for Streamlit.
This fork was initiated due to the inability to collaborate directly on the upstream project, which currently has several unresolved security issues and bugs. Our intention is to maintain a positive relationship with the original project and its creator, focusing on enhancing the tool's reliability and security for the community.
This project is in active development. We welcome contributions and address security concerns on a best-effort basis, with details available in our SECURITY.md.
🎈 Live Demo 🎈
Installation
pip install streamlit-analytics2
How to Use
Simple integration with any Streamlit app:
import streamlit as st
import streamlit_analytics2 as streamlit_analytics
with streamlit_analytics.track():
st.text_input("Write something")
st.button("Click me")
[!IMPORTANT] The alias
import streamlit_analytics2 as streamlit_analytics
allows for backwards compatibility and reduces any unecessary changes in your exisitng codebase. Check out our Migration Guide for more info.
All interactions are now tracked, supporting all standard Streamlit widgets.
Moving Forward
- TODOs and Feature Requests: We've transitioned our roadmap and feature requests to GitHub Issues. Feel free to contribute ideas or report bugs!
- Advanced Configuration: Detailed guidance on advanced setup (inlcuding password protection and database integration) options is available in our Project Wiki.
Contributing
Your contributions are welcome! Please refer to our CONTRIBUTING.md for guidelines on how to make a difference.
Security
We prioritize the security of our users' data. For reporting security vulnerabilities or for more information, please review our SECURITY.md.
Acknowledgments
A special thanks to jrieke and all contributors to the original streamlit-analytics
project. Your work has inspired continued innovation and community collaboration.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for streamlit_analytics2-0.1.0b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e771173d065a8a55d0f841e44257a98ac094edd1ec36c1bc53883cd1150a8f |
|
MD5 | 9c87f523b50e79bff930ba49f69a6506 |
|
BLAKE2b-256 | c56f079393de99d422b6074548dc86c446fac74faf6641136638dc7c8ed9fbda |
Hashes for streamlit_analytics2-0.1.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc3531bdaf5c1ae493194fa4084d0a81f840ce96e3e1d8c6b1c424b7679b70ac |
|
MD5 | fb6244ca6ba91e6b645bafaf7c25b3a1 |
|
BLAKE2b-256 | abe79ff2079c22b6aff70d7029cd809d69013555f646a676dc47a0e87e4a3780 |