Skip to content

Instantly share code, notes, and snippets.

View mohammedi-haroune's full-sized avatar

Haroune Mohammedi mohammedi-haroune

  • BigMama Technologies
View GitHub Profile
@mohammedi-haroune
mohammedi-haroune / speedtest.py
Created February 10, 2021 11:25
Measure internet speed using speedtest.net Python API.
#! /bin/python3
import csv
import os
import typing
from pathlib import Path
import speedtest
PathLike = typing.Union[str, bytes, os.PathLike]
@mohammedi-haroune
mohammedi-haroune / djezzy_info.py
Created October 16, 2018 20:38
A python script to get information about data usage when using Djezzy service provider
try:
from PIL import Image
except ImportError:
import Image
import pytesseract
from selenium import webdriver
from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC