news-indicator

所属分类:Python工具库
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2022-06-17 23:04:37
上 传 者sh-1993
说明:  从各种新闻来源收集和显示新闻的Linux指示符
(Linux indicator that collects and displays news from a variety of news sources)

文件列表:
.pre-commit-config.yaml (212, 2021-09-02)
CHANGELOG.md (5350, 2021-09-02)
LICENSE (1065, 2021-09-02)
MANIFEST.in (36, 2021-09-02)
bin/ (0, 2021-09-02)
bin/newsindicator (256, 2021-09-02)
newsindicator.desktop (230, 2021-09-02)
newsindicator/ (0, 2021-09-02)
newsindicator/__init__.py (72, 2021-09-02)
newsindicator/about_and_settings_wins.py (6282, 2021-09-02)
newsindicator/assets/ (0, 2021-09-02)
newsindicator/assets/news_icon.png (620, 2021-09-02)
newsindicator/assets/news_sources.txt (788, 2021-09-02)
newsindicator/get_news.py (3443, 2021-09-02)
newsindicator/news_indicator.py (6785, 2021-09-02)
newsindicator/tests/ (0, 2021-09-02)
newsindicator/tests/__init__.py (0, 2021-09-02)
newsindicator/tests/test_assert.py (306, 2021-09-02)
newsindicator/utils.py (1081, 2021-09-02)
newsindicator_icon.png (1165, 2021-09-02)
requirements.txt (50, 2021-09-02)
setup.cfg (140, 2021-09-02)
setup.py (1378, 2021-09-02)

# Application Indicator for Ubuntu Unity / Gnome / Xfce Application Indicator (system tray icon) that accesses, retrieves and displays the latest news from top media outlets. News sources and blogs can be found/updated at the `/assets/news_sources.txt file`. [![final_notification.png](https://s13.postimg.org/j15fgsfav/final_notification.png)](https://postimg.org/image/caoy7cs4z/) Main features: - Displays latest news via a notification message - Allows setting the news retrieval interval (10, 15, 20, 30 and 60 minutes) - Allows setting the notifications display ON or OFF # Usage **Install**: - Grab a NewsAPI key from https://newsapi.org/ - Navigate to your ~/.profile file and add the key as follows: export NEWS_API_KEY="your_api_key" - Log out and log back in, in order for the changes to take effect - sudo pip install git+https://github.com/0dysseas/news-indicator.git - Run the "News Application Indicator" from your menu or system utilities. **Uninstall**: - sudo pip uninstall newsindicator # Screenshots **(Theme may vary based on your installed desktop theme. I'm using the Mint-Y-Dark)** [![final_menu.png](https://s13.postimg.org/ylct75hnr/final_menu.png)](https://postimg.org/image/iacpau55v/) [![settings_mastered.png](https://s13.postimg.org/a9tt8lbp3/settings_mastered.png)](https://postimg.org/image/utyn72rg3/) # Attributions Powered by https://newsapi.org/ Icon made by Freepik from [www.flaticon.com](http://www.flaticon.com)

近期下载者

相关文件


收藏者