Skip to content

Instantly share code, notes, and snippets.

View real-yfprojects's full-sized avatar

yfprojects real-yfprojects

  • Germany
  • 05:29 (UTC +02:00)
View GitHub Profile
@real-yfprojects
real-yfprojects / flathub_stats.py
Last active August 26, 2022 06:43
Calculate the total number of downloads from flathub in a given time span for the *vorta* app.
"""
Calculate the total number of downloads for a flathub app.
"""
import json
import logging
import sys
from datetime import date, timedelta
from typing import Generator, Tuple
import requests
@real-yfprojects
real-yfprojects / Develop-Qt5-Kubuntu20.md
Last active December 7, 2020 12:20
Developing Qt5 on Kubuntu 20

Installation

pip3 install pyqt5  # propably already installed
sudo apt-get install python3-pyqt5   # probably already installed aswell
sudo apt-get install pyqt5-dev-tools  # code generator, ...
sudo apt-get install qttools5-dev-tools  # qt development tools (assistant, designer, linguist)