Catalog PyPI
Back to packageRELEASE DETAILS

0.1.1

PyPI

5x-streamlit-session-manager

A library to fetch user session data from encrypted URL parameters in 5x Streamlit apps

Published9 Apr 2025
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 0.1.1 documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
extra-streamlit-components
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
extra-streamlit-componentsruntime
cryptography
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.8",
  "evaluation": "NOT_EVALUATED"
}
cryptography>=36.0.0runtime

Distribution files

2 collected
5x_streamlit_session_manager-0.1.1-py3-none-any.whl

bdist_wheel · 4.5 KB · Python py3

Source file
5x_streamlit_session_manager-0.1.1.tar.gz

sdist · 3.78 KB · Python source

Source file

Repository

PENDING
5x-nextgen-customer-repo-prod/streamlit_session_manager.gitc

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9e6f5ed43d736dedc8ff96edab2150f36ef9ff744649d2001934b6c367d7d996

Other collected versions

View all collected versions →