This commit is contained in:
Neythen 2021-07-08 20:12:18 +01:00
parent 0b5c6d3dba
commit 07c672bf64
14 changed files with 36 additions and 34 deletions

View File

@ -1,4 +1,4 @@
symbol,name,base,current,24hr change
BTC,bitcoin,usd,32819,-5.750290895111001
ETH,ethereum,gbp,1563.47,-9.117162804525337
DOGE,dogecoin,usd,0.211621,-9.128331054874725
BTC,bitcoin,usd,32909,-5.27349177462667
ETH,ethereum,gbp,1567.8,-8.93621241035941
DOGE,dogecoin,usd,0.211789,-8.771137919593707

1 symbol name base current 24hr change
2 BTC bitcoin usd 32819 32909 -5.750290895111001 -5.27349177462667
3 ETH ethereum gbp 1563.47 1567.8 -9.117162804525337 -8.93621241035941
4 DOGE dogecoin usd 0.211621 0.211789 -9.128331054874725 -8.771137919593707

View File

@ -1 +1 @@
[{"main_weather": "Clear", "description": "clear sky", "temp": 28.57, "min_temp": 27.7, "max_temp": 29.88, "feels_like": 34.55, "humidity": 85, "clouds": 5, "wind_speed": 2.24, "wind_direction": 150, "visibility": 10000, "uv": 0, "rain_chance": 0}, {"main_weather": "Clouds", "description": "broken clouds", "temp": 19.71, "min_temp": 12.56, "max_temp": 21.29, "feels_like": 19.72, "humidity": 76, "clouds": 74, "wind_speed": 3.6, "wind_direction": 260, "visibility": 10000, "uv": 0.53, "rain_chance": 0.7}]
[{"main_weather": "Clear", "description": "clear sky", "temp": 28.37, "min_temp": 28.14, "max_temp": 30.06, "feels_like": 34.15, "humidity": 86, "clouds": 5, "wind_speed": 0.45, "wind_direction": 281, "visibility": 10000, "uv": 0, "rain_chance": 0}, {"main_weather": "Clouds", "description": "broken clouds", "temp": 19.26, "min_temp": 12.56, "max_temp": 21.12, "feels_like": 19.25, "humidity": 77, "clouds": 57, "wind_speed": 3.09, "wind_direction": 230, "visibility": 10000, "uv": 0.18, "rain_chance": 0.3}]

View File

@ -1 +1 @@
[[{"main_weather": "Clear", "description": "clear sky", "min_temp": 27.7, "max_temp": 29.88}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.19, "max_temp": 29.67}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.74, "max_temp": 29.76}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.93, "max_temp": 29.66}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.79, "max_temp": 29.39}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.85, "max_temp": 29.43}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.77, "max_temp": 29.71}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.58, "max_temp": 29.86}], [{"main_weather": "Rain", "description": "light rain", "min_temp": 12.56, "max_temp": 21.29}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 13.75, "max_temp": 22.24}, {"main_weather": "Rain", "description": "light rain", "min_temp": 13.6, "max_temp": 16.97}, {"main_weather": "Rain", "description": "light rain", "min_temp": 12.32, "max_temp": 20.09}, {"main_weather": "Rain", "description": "moderate rain", "min_temp": 14.42, "max_temp": 16.14}, {"main_weather": "Rain", "description": "light rain", "min_temp": 12.53, "max_temp": 21.98}, {"main_weather": "Rain", "description": "light rain", "min_temp": 14.85, "max_temp": 17.18}, {"main_weather": "Clouds", "description": "few clouds", "min_temp": 13.16, "max_temp": 20.6}]]
[[{"main_weather": "Clear", "description": "clear sky", "min_temp": 28.14, "max_temp": 30.06}, {"main_weather": "Clouds", "description": "overcast clouds", "min_temp": 27.59, "max_temp": 29.94}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.95, "max_temp": 29.92}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.98, "max_temp": 30.06}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.99, "max_temp": 29.64}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.95, "max_temp": 29.61}, {"main_weather": "Clouds", "description": "scattered clouds", "min_temp": 27.89, "max_temp": 30}, {"main_weather": "Rain", "description": "light rain", "min_temp": 27.51, "max_temp": 30}], [{"main_weather": "Rain", "description": "light rain", "min_temp": 12.56, "max_temp": 21.12}, {"main_weather": "Clouds", "description": "broken clouds", "min_temp": 12.98, "max_temp": 21.57}, {"main_weather": "Rain", "description": "light rain", "min_temp": 13.06, "max_temp": 15.61}, {"main_weather": "Rain", "description": "light rain", "min_temp": 11.89, "max_temp": 19.79}, {"main_weather": "Rain", "description": "heavy intensity rain", "min_temp": 13.67, "max_temp": 16.51}, {"main_weather": "Rain", "description": "light rain", "min_temp": 13.47, "max_temp": 21.12}, {"main_weather": "Rain", "description": "light rain", "min_temp": 13.57, "max_temp": 22.15}, {"main_weather": "Rain", "description": "light rain", "min_temp": 14.44, "max_temp": 22.67}]]

View File

@ -1 +0,0 @@
{"stocks": "08/07/2021 14:22:39", "crypto": "08/07/2021 14:22:41", "news": "08/07/2021 14:04:21", "weather": "08/07/2021 14:04:20", "forex": "08/07/2021 20:04:23", "sports": "08/07/2021 14:04:21"}

View File

@ -1,21 +1,21 @@
headline,source,date,time
Weight loss story: "High-protein breakfasts and adding fruits to my diet helped me lose 49 kilos" | The Times of India - Times of India,The Times of India,2021-07-08,16:30:00Z
New study on delta variant reveals importance of receiving both vaccine shots^ highlights challenges posed by mutations - The Washington Post,The Washington Post,2021-07-08,16:30:00Z
Tropical Storm Elsa to make landfall over Florida Wednesday morning; slight chance of 3rd hurricane formation - Orlando Sentinel,Orlando Sentinel,2021-07-08,16:29:44Z
Dow Jones Cuts Losses As Treasury Yields Tumble; Apple Sells Off^ Tesla Stock Slashes Losses Amid Strong China Sales - Investor's Business Daily,Investor's Business Daily,2021-07-08,16:28:00Z
Coronavirus latest news: Boris Johnson says freedom is 'not too far off' as he defends delay to easing of self-isolation rules - Telegraph.co.uk,Telegraph.co.uk,2021-07-08,16:25:12Z
P1.3 billion revenue lost due to pork tariff slash —DOF - GMA News Online,GMA News,2021-07-08,16:21:13Z
World Bank apologizes for report on Filipino students - ABS-CBN News,Abs-cbn.com,2021-07-08,16:16:00Z
Coronavirus: 534 new cases confirmed in Ireland - TheJournal.ie,TheJournal.ie,2021-07-08,16:03:00Z
Jollibee^ DoubleDragon create largest REIT in Philippines - Philstar.com,Philippine Star,2021-07-08,16:00:00Z
Stocks pull back for 3rd straight trading session - Philstar.com,Philippine Star,2021-07-08,16:00:00Z
Tracking Elsa: Tropical Storm Warning Issued For Marylands Eastern Shore^ St. Marys County Declares State Of Emergency - CBS Baltimore,Cbslocal.com,2021-07-08,16:00:00Z
This Is the Cheapest Way to Get Good Mesh Wifi in Your Home - Gizmodo,Gizmodo.com,2021-07-08,16:00:00Z
'You address no one^ you' - cops tell Zuma ally Carl Niehaus as they arrest him outside Estcourt prison - News24,News24,2021-07-08,15:56:55Z
COVID-19 in Quebec: What you need to know on Thursday - CBC.ca,CBC News,2021-07-08,15:56:33Z
Man arrested after police officer 'punched in the face' outside Houses of Parliament - Mirror.co.uk,Mirror Online,2021-07-08,15:55:55Z
Vaccination still urged as Sask. prepares to open up - Western Producer,Western Producer,2021-07-08,15:50:28Z
Philippines ranks lowest in magazines list of safest countries - SunStar Philippines,Sunstar.com.ph,2021-07-08,15:50:23Z
Emergency Software Update for PrintNightmare Zero Day Vulnerability Issued - The National Law Review,The National Law Review,2021-07-08,15:45:59Z
Moderna testing mRNA flu vaccine in clinical trial - Fox News,Fox News,2021-07-08,15:45:27Z
Vauxhall owner Stellantis to invest €30bn in electric vehicles - BBC News,BBC News,2021-07-08,15:33:31Z
Scientists reveal how cauliflowers develop their unique shape - The Irish News,The Irish News,2021-07-08,18:32:22Z
A peek inside a flying bat's brain uncovers clues to mammalian navigation - EurekAlert,EurekAlert,2021-07-08,18:24:36Z
Winnipeg man charged with murder in stabbing of 3-year-old daughter - CBC.ca,CBC News,2021-07-08,18:04:39Z
For The First Time^ Scientists Have Connected a Superconductor to a Semiconductor - ScienceAlert,ScienceAlert,2021-07-08,18:03:07Z
86 more COVID-19 cases^ 3 new deaths reported in Manitoba Thursday - CBC.ca,CBC News,2021-07-08,18:01:31Z
Its Cold in the Ocean but Its Hotter Inside Every Sea Otter - The New York Times,New York Times,2021-07-08,18:00:11Z
A peek inside a flying bat's brain uncovers clues to mammalian navigation - Phys.org,Phys.Org,2021-07-08,18:00:08Z
COVID-19 live updates: Quebec will implement a 'vaccination passport' by Sept. 1^ Dubé says - Montreal Gazette,Montreal Gazette,2021-07-08,18:00:00Z
What a 51^000-year-old carved bone tells us about Neanderthals - CNET,CNET,2021-07-08,17:57:00Z
Diego Simeone: Atletico Madrid coach signs new three-year deal to remain in charge as head coach - Sky Sports,Sky Sports,2021-07-08,17:55:31Z
Growth worries hit markets as US jobless claims rise; ECB sets 2% inflation target as it happened - The Guardian,The Guardian,2021-07-08,17:47:52Z
Microsoft patches remaining versions of Windows against PrintNightmare flaw - TechRepublic,TechRepublic,2021-07-08,17:46:00Z
Varun Dhawan Gives A Glimpse Of His Ripped Physique In New Pics. Anil Kapoor Comments - NDTV Movies,NDTV News,2021-07-08,17:39:10Z
Quebec to use vaccine passports to limit access to non-essential services if COVID-19 worsens - CTV Montreal,Ctvnews.ca,2021-07-08,17:35:02Z
Cloud Computing Will Bring Big Changes to First-Person Shooters in 'Just a Couple Years^' DICE GM Says - IGN - IGN,IGN,2021-07-08,17:34:27Z
Purdue Pharma exit plan gains steam with OK from more states - Associated Press,Associated Press,2021-07-08,17:33:30Z
Repurposed communications satellites could help save humanity from an asteroid impact - Space.com,Space.com,2021-07-08,17:33:18Z
Haiti faces mounting questions after assassination of president - CBC.ca,CBC News,2021-07-08,17:32:54Z
Fitbit co-founder: 'we lead and others follow' here's where it's heading next - Wareable,Wareable,2021-07-08,17:31:45Z
Man charged following truck being driven onto Manitoba Legislature steps - CTV News,Ctvnews.ca,2021-07-08,17:31:35Z

Can't render this file because it contains an unexpected character in line 2 and column 20.

View File

@ -1,2 +1,2 @@
speed,brightness
m,9
f,9
1 speed brightness
2 m f 9

View File

@ -1,4 +1,4 @@
name,current,opening
MSFT,277.64,276.9
NFLX,533.46,531.17
GOOG,2589.6,2564.005
MSFT,277.49,276.9
NFLX,532.47,531.17
GOOG,2585.06,2564.005

1 name current opening
2 MSFT 277.64 277.49 276.9
3 NFLX 533.46 532.47 531.17
4 GOOG 2589.6 2585.06 2564.005

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -75,7 +75,7 @@ class StockTicker():
def setImage(self, image, offset_x = 0, offset_y = 0, unsafe=False, min_x = 0, max_x = 128, min_y = 0, max_y = 32):
def setImage(self, image, offset_x = 0, offset_y = 0, unsafe=True, min_x = 0, max_x = 128, min_y = 0, max_y = 32):
if (image.mode != "RGB"):
@ -1909,10 +1909,10 @@ class StockTicker():
self.delay = 0.03
elif msg == 'm':
self.delay = 0.01
self.delay = 0.02
elif msg == 'f':
self.delay = 0.005
self.delay = 0.01
elif msg in ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']: # birghtness ettings
@ -1984,7 +1984,7 @@ if __name__ == '__main__':
stock_ticker = StockTicker()
'''
forex = stock_ticker.getForexProfessional()
crypto = stock_ticker.getCryptoProfessional()
news = stock_ticker.getNewsProfessional()
@ -2004,12 +2004,15 @@ if __name__ == '__main__':
while True:
kill = stock_ticker.scrollImage(news, offset_x = 128)
if kill:
break
'''
#
#stock_ticker.process_msg('N')
#stock_ticker.process_msg('G')