Skip to content

Instantly share code, notes, and snippets.

View paduel's full-sized avatar
🎯
Focusing

paduel

🎯
Focusing
View GitHub Profile
@paduel
paduel / wave_started_app.py
Created March 24, 2021 00:08 — forked from mtanco/wave_started_app.py
Starter code I have been using for most new apps
from h2o_wave import main, app, Q, ui, handle_on, on, data
from loguru import logger
def on_startup():
"""
Runs when the app is started, even if there are no browsers connected
:return:
"""
logger.info('http://localhost:10101/')
@paduel
paduel / flashscore_live_parser.py
Last active December 5, 2022 04:10
FlashScore Live Events Parser
from requests_html import AsyncHTMLSession
import pandas as pd
from unicodedata import normalize
url = 'https://www.flashscore.com/'
asession = AsyncHTMLSession()
async def get_scores():