From 4eb3dea419b12aab0f1ac59a683453ed2ba66bfd Mon Sep 17 00:00:00 2001 From: pranjal-joshi Date: Tue, 10 Oct 2023 17:51:57 +0530 Subject: [PATCH] v2.06 - Improvements and minor cosmetic updates --- src/classes/Changelog.py | 6 +++++- src/release.md | 6 +++--- src/streamlit_app.py | 10 +++++++--- 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/src/classes/Changelog.py b/src/classes/Changelog.py index 9b25a650..e84d6edb 100644 --- a/src/classes/Changelog.py +++ b/src/classes/Changelog.py @@ -7,7 +7,7 @@ from classes.ColorText import colorText -VERSION = "2.05" +VERSION = "2.06" changelog = colorText.BOLD + '[ChangeLog]\n' + colorText.END + colorText.BLUE + ''' [1.00 - Beta] @@ -233,4 +233,8 @@ 2. Configuration save bug fixed for checkboxes 3. Attempted to changed Docker DNS +[2.06] +1. Links added with cosmetic upgrade +2. Docs updated + ''' + colorText.END diff --git a/src/release.md b/src/release.md index d082e2f5..b109965e 100644 --- a/src/release.md +++ b/src/release.md @@ -1,7 +1,7 @@ [![MADE-IN-INDIA](https://img.shields.io/badge/MADE%20WITH%20%E2%9D%A4%20IN-INDIA-orange?style=for-the-badge)](https://en.wikipedia.org/wiki/India) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/pranjal-joshi/Screeni-py?style=for-the-badge)](#) [![GitHub all releases](https://img.shields.io/github/downloads/pranjal-joshi/Screeni-py/total?color=Green&label=Downloads&style=for-the-badge)](#) ![Docker Pulls](https://img.shields.io/docker/pulls/joshipranjal/screeni-py?style=for-the-badge&logo=docker) [![MADE_WITH](https://img.shields.io/badge/BUILT%20USING-PYTHON-yellow?style=for-the-badge&logo=python&logoColor=yellow)](https://www.python.org/) ## What's New? -Celebrating more than 7K+ Downloads - Thank You for your support :tada: +Screeni-py is now on **YouTube** for additional help! - Thank You for your support :tada: đŸŗ **Docker containers are released for quick setup and easy usage!** @@ -12,7 +12,7 @@ Celebrating more than 7K+ Downloads - Thank You for your support :tada: 3. New Index - **F&O Stocks Only** Added for F&O traders with modified screening criterias. 4. **Artificial Intelligence v2 for Nifty 50 Prediction** - Predict Next day Gap-up/down - Try `Select Index for Screening > N` 5. New Screener **Buy at Trendline** added for Swing/Mid/Long term traders - Try `Option > 7 > 5`. -6. Alternate Data Source for faster After-Market Analysis - OTA Optimizations and Cosmetic Updates for Docker/GUI! +6. Bugfixes, Optimizations and Cosmetic Updates for Docker/GUI! ## Installation Guide @@ -30,7 +30,7 @@ Celebrating more than 7K+ Downloads - Thank You for your support :tada: ## [Docker Releases](https://hub.docker.com/r/joshipranjal/screeni-py/tags) -| | Tag | Pull Command | Mode | Run Command | +| | Tag | Pull Command | Run Mode | Run Command | |:-: | :-: | --- | --- | --- | | ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) | `latest` | `docker pull joshipranjal/screeni-py:latest` | Command Line | `docker run -it --entrypoint /bin/bash joshipranjal/screeni-py:latest -c "run_screenipy.sh --cli"` | | ![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white) | `latest` | `docker pull joshipranjal/screeni-py:latest` | GUI WebApp | `docker run -p 8501:8501 joshipranjal/screeni-py:latest` | diff --git a/src/streamlit_app.py b/src/streamlit_app.py index bb08cc43..2d45041e 100644 --- a/src/streamlit_app.py +++ b/src/streamlit_app.py @@ -114,8 +114,10 @@ def dummy_call(): progress_text = "🔍 Screening stocks for you... " progress_bar.progress(cnt, text=progress_text + f"**:red[{cnt}%]** Done") if os.environ.get('SCREENIPY_REQ_ERROR') and "TRUE" in os.environ.get('SCREENIPY_REQ_ERROR'): - st.error('Failed to reach Screeni-py server!', icon='đŸĢ¤') - st.info('This issue is related with your Internet Service Provider (ISP) - Many **Jio** users faced this issue as the screeni-py data cache server appeared to be not reachable for them!\n\nTry with another ISP/Network or go through this thread carefully to resolve this error: https://github.com/pranjal-joshi/Screeni-py/issues/164', icon='ℹī¸') + ac, bc = st.columns([2,1]) + ac.error(':disappointed: Failed to reach Screeni-py server!') + ac.info('This issue is related with your Internet Service Provider (ISP) - Many **Jio** users faced this issue as the screeni-py data cache server appeared to be not reachable for them!\n\nPlease watch the YouTube video attached here to resolve this issue on your local system\n\nTry with another ISP/Network or go through this thread carefully to resolve this error: https://github.com/pranjal-joshi/Screeni-py/issues/164', icon='ℹī¸') + bc.video('https://youtu.be/JADNADDNTmU') del os.environ['SCREENIPY_REQ_ERROR'] break @@ -440,7 +442,8 @@ def get_extra_inputs(tickerOption, executeOption, c_index=None, c_criteria=None, from classes.Changelog import VERSION, changelog st.success(f'Screeni-py v{VERSION}', icon='🔍') - st.info(""" + ac, bc = st.columns([2,1]) + ac.info(""" 👨đŸģ‍đŸ’ģ Developed and Maintained by: Pranjal Joshi 🏠 Home Page: https://github.com/pranjal-joshi/Screeni-py @@ -455,6 +458,7 @@ def get_extra_inputs(tickerOption, executeOption, c_index=None, c_criteria=None, đŸŽŦ YouTube Playlist: https://youtube.com/playlist?list=PLsGnKKT_974J3UVS8M6bxqePfWLeuMsBi&si=b6JNMf03IbA_SsXs """) + bc.write('', unsafe_allow_html=True) st.warning("ChangeLog:\n " + changelog[40:-3], icon='⚙ī¸')