Skip to content

Commit

Permalink
v2.06 - Improvements and minor cosmetic updates
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjal-joshi committed Oct 10, 2023
1 parent 63c549b commit 4eb3dea
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
6 changes: 5 additions & 1 deletion src/classes/Changelog.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down Expand Up @@ -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
6 changes: 3 additions & 3 deletions src/release.md
Original file line number Diff line number Diff line change
@@ -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!**

Expand All @@ -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

Expand All @@ -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` |
Expand Down
10 changes: 7 additions & 3 deletions src/streamlit_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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('<iframe width="445" height="295" src="https://www.youtube.com/embed/videoseries?si=aKXpyKKgwCcWIjhW&amp;list=PLsGnKKT_974J3UVS8M6bxqePfWLeuMsBi" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>', unsafe_allow_html=True)
st.warning("ChangeLog:\n " + changelog[40:-3], icon='⚙️')


Expand Down

0 comments on commit 4eb3dea

Please sign in to comment.