Screeni-py v3.0.2 — Stability & Compatibility Fixes
Bug Fixes
-
Fixed openai-agents import failure (_load_real_agents) — Replaced fragile site.getsitepackages() path manipulation with direct sys.path surgery: temporarily remove
src/from path so Python finds the real openai-agents in site-packages. Resolves the "openai-agents package is required" error and "No module named 'agents.mcp'" in Docker/CI environments. -
Fixed OTA updater crash with semver versions —
float("3.0.1")raises ValueError because of the double dot. Added_parse_version()helper that converts semver strings to comparable tuples.
Deprecation Warnings Squashed
-
Styler.applymap → Styler.map —
applymapdeprecated in pandas 2.2 and removed in pandas 3.0. -
use_container_width → width — All occurrences replaced:
use_container_width=True→width='stretch',use_container_width=False→width='content'. Removes warnings about removal after 2025-12-31. -
Session State API conflict —
ai_providerselectbox andai_remember_keycheckbox no longer pass both explicit default value AND key= parameter. Eliminates the "created with a default value but also had its value set via the Session State API" warning.
Installation
Docker (Recommended)
docker pull joshipranjal/screeni-py:latest
Source Installation
git clone https://github.com/pranjal-joshi/Screeni-py.git
cd Screeni-py
pip install -e .
Set SCREENIPY_API_KEY environment variable before running:
uv run python -m streamlit run src/streamlit_app.py
Documentation
Disclaimer
DO NOT use the result provided by the software solely to make your trading decisions. Always backtest and analyze the stocks manually before you trade.