Skip to content

aceisace/inkycal_modules

 
 

Repository files navigation

These are third-party modules for the Inkycal project

Inkycal Stocks Module

The stocks-module conveniently displays a list of selected stocks, currencies or indices with their current prices and total/procentual daily change.

It depends on yfinance which uses the Yahoo! Finance data.

You can display any information by using the respective symbols that are used by Yahoo! Finance.

It's easily setup with a string of comma separated symbols like this e.g.: tickers = "TSLA, AMD, NVDA, ^DJI, BTC-USD, EURUSD=X"

Installation instructions

  1. Navigate to the modules directory cd Inkycal/inkycal/modules

  2. Download the third-party module:

wget https://raw.githubusercontent.com/worstface/inkycal_modules/master/inkycal_stocks.py
  1. Install yfinance:
pip3 install yfinance
  1. Add module to Inkycal/inkycal/init.py and Inkycal/inkycal/modules/init.py

Inkycal XKCD Module

Installation instructions

  1. Navigate to the modules directory cd Inkycal/inkycal/modules

  2. Download the third-party module:

wget https://raw.githubusercontent.com/worstface/inkycal_modules/master/inkycal_xkcd.py
  1. Install xkcd lib:
pip3 install xkcd
  1. Add module to Inkycal/inkycal/init.py and Inkycal/inkycal/modules/init.py

Inkycal Tweets Module

The tweets-module displays a tweet from twitter by using the Twint library. It shows the chronologically last tweet defined by a filter which can contain a username, a search term, a location and a minimum of likes. The tweet is displayed whith a header, which contains the name, username and timestamp. It contains the text including a QR-code with a link to the tweet. Below the tweet a footer is drawn, which shows the number of comments, retweets and likes.

Installation instructions

  1. Navigate to the modules directory cd Inkycal/inkycal/modules

  2. Download the third-party module:

wget https://raw.githubusercontent.com/worstface/inkycal_modules/master/inkycal_tweets.py
  1. Install current twint lib:
pip3 install --user --upgrade git+https://github.com/twintproject/twint.git@origin/master#egg=twint
  1. Install segno lib:
pip3 install segno
  1. Add material-icons font (fonts folder)

  2. Add module to Inkycal/inkycal/init.py and Inkycal/inkycal/modules/init.py

About

modules for inkycal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%