Skip to content

Instantly share code, notes, and snippets.

Axel Schneider Axel-Erfurt

Block or report user

Report or block Axel-Erfurt

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Axel-Erfurt
Axel-Erfurt / PyQt5VideoPlayer
Last active Jan 18, 2020
PyQt5 VideoPlayer
View PyQt5VideoPlayer
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from PyQt5.QtGui import QPalette, QKeySequence, QIcon
from PyQt5.QtCore import QDir, Qt, QUrl, QSize, QPoint, QTime, QMimeData, QProcess, QEvent
from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer, QMediaMetaData
from PyQt5.QtMultimediaWidgets import QVideoWidget
from PyQt5.QtWidgets import (QApplication, QFileDialog, QHBoxLayout, QLineEdit,
QPushButton, QSizePolicy, QSlider, QMessageBox, QStyle, QVBoxLayout,
QWidget, QShortcut, QMenu)
@Axel-Erfurt
Axel-Erfurt / SpeedTest.py
Created Apr 27, 2018
GUI for speedtest-cli (PyQt5)
View SpeedTest.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#############################################################################
import csv, codecs, time, os
import matplotlib.pyplot as plt; plt.rcdefaults()
import numpy as np
from PyQt5.QtCore import (QFile, QFileInfo, QPoint, QRect, QSettings, QSize,
Qt, QTextStream, QProcess, QDir)
from PyQt5.QtGui import QIcon, QFont
from PyQt5.QtWidgets import (QAction, QApplication, QMainWindow,
@Axel-Erfurt
Axel-Erfurt / RichTextEdit.py
Last active Jan 13, 2020
RichTextEditor (PyQt5)
View RichTextEdit.py
#!/usr/bin/python3
# -- coding: utf-8 --
from PyQt5.QtWidgets import QTextEdit, QWidget, QVBoxLayout, QApplication, QFileDialog, QMessageBox, QHBoxLayout, \
QToolBar, QComboBox, QAction, QLineEdit, QMenu, QMainWindow, QActionGroup, \
QFontComboBox, QColorDialog, QInputDialog, QPushButton, QPlainTextEdit
from PyQt5.QtGui import QIcon, QPainter, QTextFormat, QColor, QTextCursor, QKeySequence, QClipboard, \
QTextCharFormat, QTextCharFormat, QFont, QPixmap, QFontDatabase, QFontInfo, QTextDocumentWriter, \
QImage, QTextListFormat, QTextBlockFormat, QTextDocumentFragment, QKeyEvent
from PyQt5.QtCore import Qt, QDir, QFile, QFileInfo, QTextStream, QSettings, QTextCodec, QSize, QMimeData, QUrl, QSysInfo, QEvent
from PyQt5 import QtPrintSupport
@Axel-Erfurt
Axel-Erfurt / LiveStreamsDeutscheSender.py
Created Jan 12, 2020
die aktuellen Livestreams der öffentlich rechtlichen Sender auslesen
View LiveStreamsDeutscheSender.py
#!/usr/bin/python3
import requests
channels = ["ard", "zdf", "mdr", "phoenix", "rbb", "br", "hr", "sr", "swr", "ndr", "dw", "wdr", "arte", "3sat", "kika", "orf"]
chList = []
urlList = []
def getURL(name):
headers = {
@Axel-Erfurt
Axel-Erfurt / Qt5_CSV.py
Last active Jan 1, 2020
CSV Reader / Writer (Python Qt5)
View Qt5_CSV.py
#!/usr/bin/python3
#-*- coding:utf-8 -*-
import csv, codecs
import os
import io
import pandas as pd
from PyQt5 import QtPrintSupport
from PyQt5.QtGui import (QImage, QPainter, QIcon, QKeySequence, QIcon, QTextCursor, QPalette,
QCursor, QDropEvent, QTextDocument, QTextTableFormat, QColor, QBrush)
from PyQt5.QtCore import (QFile, QSettings, Qt, QFileInfo, QItemSelectionModel, QDir,
@Axel-Erfurt
Axel-Erfurt / PyEdit2.py
Last active Dec 18, 2019
Python Editor (created with PyQt5)
View PyEdit2.py
#!/usr/bin/python3
# -- coding: utf-8 --
from __future__ import print_function
from PyQt5.QtWidgets import (QPlainTextEdit, QWidget, QVBoxLayout, QApplication, QFileDialog, QMessageBox, QLabel, QCompleter,
QHBoxLayout, QTextEdit, QToolBar, QComboBox, QAction, QLineEdit, QDialog, QPushButton,
QToolButton, QMenu, QMainWindow, QInputDialog, QColorDialog, QStatusBar, QSystemTrayIcon)
from PyQt5.QtGui import (QIcon, QPainter, QTextFormat, QColor, QTextCursor, QKeySequence, QClipboard, QTextDocument,
QPixmap, QStandardItemModel, QStandardItem, QCursor)
from PyQt5.QtCore import (Qt, QVariant, QRect, QDir, QFile, QFileInfo, QTextStream, QSettings, QTranslator, QLocale,
@Axel-Erfurt
Axel-Erfurt / YouTubeDL.py
Last active Oct 19, 2019
GUI for youtube-dl (PyQt5)
View YouTubeDL.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#############################################################################
from PyQt5.QtCore import (QFile, QPoint, QRect, QSize, QStandardPaths,
Qt, QProcess, QSettings)
from PyQt5.QtGui import QIcon, QFont, QClipboard
from PyQt5.QtWidgets import (QAction, QApplication, QFileDialog, QMainWindow, QLineEdit, QProgressBar,
QMessageBox, QHBoxLayout, QVBoxLayout, QWidget, QLabel, QMessageBox, QToolButton, QComboBox)
quote = str(chr(34))
View AudioConverter.py
#!/usr/bin/python3
########################################################
from PyQt5.QtCore import (QAbstractListModel, QDir, QFile,
QModelIndex, Qt, QItemSelectionModel)
from PyQt5.QtWidgets import (QApplication, QGridLayout, QMenu, QAction,
QTableWidget, QTableWidgetItem, QWidget, QPushButton, QFileDialog, QMainWindow,
QMessageBox, QAbstractItemView, QComboBox, QLabel, QSpacerItem)
from PyQt5.QtGui import QIcon
from PyQt5.Qt import QKeySequence, QSizePolicy
import os, subprocess
@Axel-Erfurt
Axel-Erfurt / SQLiteViewer.py
Last active Dec 16, 2018
SQLiteViewer (PyQt5)
View SQLiteViewer.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
### Axel Schneider 2017###
from PyQt5 import QtSql, QtPrintSupport
from PyQt5.QtGui import QTextDocument, QIcon, QTextCursor, QTextTableFormat
from PyQt5.QtCore import QFileInfo, Qt, QSettings, QSize, QFile, QTextStream, QItemSelectionModel, QVariant
from PyQt5.QtWidgets import (QMainWindow, QTableView, QDialog, QGridLayout, QPushButton, QAbstractItemView,
QLineEdit, QWidget, QFileDialog, QComboBox, QMessageBox, QApplication)
import sqlite3
import csv
@Axel-Erfurt
Axel-Erfurt / TVPlayer2.py
Last active Dec 10, 2018
Livestream TVPlayer
View TVPlayer2.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
#############################################################################
from PyQt5.QtCore import (QPoint, QRect, Qt, QUrl)
from PyQt5.QtGui import QIcon
from PyQt5.QtWidgets import (QAction, QApplication, QMainWindow, QMessageBox, QMenu, QWidget)
from PyQt5.QtMultimedia import QMediaContent, QMediaPlayer
from PyQt5.QtMultimediaWidgets import QVideoWidget
import m3u8
You can’t perform that action at this time.