Streamlit Session Manager
A simple session management library for Streamlit applications that allows easy access to user session data from cookies.
Installation
pip install 5x-streamlit-session-manager
Usage
import streamlit as st
from streamlit_session_manager import SessionManager
# Initialize the session manager
session = SessionManager()
# Get user details
user = session.get_user()
if user:
email = user.get('email')
first_name = user.get('first_name')
last_name = user.get('last_name')
# Or get just the email
email = session.get_email()
# Or get the full name
full_name = session.get_full_name()
Features
- Easy access to user session data
- Get email address from session
- Get user's full name
- Get complete user details
- Error handling and type safety
Requirements
- Python 3.7+
- Streamlit 1.0.0+
- extra-streamlit-components 0.1.0+
License
This project is licensed under the MIT License - see the LICENSE file for details.
Metadata
Release files for 5x-streamlit-session-manager 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| 5x_streamlit_session_manager-0.1.1.tar.gz | 3.9 kB | Without provenance | Details for 5x_streamlit_session_manager-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 5x_streamlit_session_manager-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for 5x_streamlit_session_manager-0.1.1-py3-none-any.whl |
Total release size: 8.5 kB
Release files / 5x_streamlit_session_manager-0.1.1.tar.gz
| Download URL | 5x_streamlit_session_manager-0.1.1.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e98085354dbfbb7a02dc10e229dae89a93c7f1fda244fc75cec0df95da32abeb
|
|
BLAKE2b-256 checksum How to use checksums |
e9df7231e1b47cf5b0a7b98baa9c86c1fadeebc5fc0b59f5097e53286e4ec6fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Release files / 5x_streamlit_session_manager-0.1.1-py3-none-any.whl
| Download URL | 5x_streamlit_session_manager-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b8f6c5aa9b84e2d969c1ec05f66552144f2fed1dde9cd5bcaf104ca1d2d377d1
|
|
BLAKE2b-256 checksum How to use checksums |
689989aaa83913894fc4b5d1182bb5ebb71efd7a2c5b2f389ae224b94889ca07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.6
|
Security for 5x-streamlit-session-manager 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.