Found 46 repositories(showing 30)
choptastic
Erlang date, time, and timezone management: formatting, conversion, and date arithmetic
TobyMosque
QDateTimePicker for Quasar
nikgolkar
Simple QML date picker.
doberkofler
A Qt QDateEdit widget that can also handle null values
kharazi
No description available
polarvogel
Enhance your Uberspace with qdated functionalities
polarvogel
This is a shell script environment to extend your qdated installation with "trash-mail" functions
choptastic
A fork of erlang_localtime specifically reworked to be compatible with qdate
handbaggerli
Test Project using QT Creator and PyQt5, tests QTableView with check box and combo box.
hello2l
from platform import java_ver import sys import PyQt5 import pyttsx3 import speech_recognition as sr import datetime import wikipedia import webbrowser import os from PyQt5 import QtCore,QtGui,QtWidgets from PyQt5.QtGui import QMovie from PyQt5.QtCore import QTimer,QTime,QDate,Qt from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.uic import loadUiType from Jarvis_UI import Ui_JarvisUI engine = pyttsx3.init('sapi5') voices = engine.getProperty('voices') # print(voices[1].id) engine.setProperty('voice', voices[0].id) def speak(audio): engine.say(audio) engine.runAndWait() def wishMe(): hour = int(datetime.datetime.now().hour) if hour>=0 and hour<12: speak("Good Morning!") elif hour>=12 and hour<18: speak("Good Afternoon!") else: speak("Good Evening!") speak("I am Jarvis Sir. Please tell me how may I help you") class MainThread(QThread): def __init__(self): super(MainThread,self).__init__() def run(self): self.TaskExecution() def takeCommand(self): r = sr.Recognizer() with sr.Microphone() as source: print("Listening...") r.pause_threshold = 1 audio = r.listen(source) try: print("Recognizing...") query = r.recognize_google(audio, language='en-in') print(f"User said: {query}\n") except Exception as e: # print(e) print("Say that again please...") return "None" return query.lower() def TaskExecution(self): wishMe() while True: # if 1: self.query = self.takeCommand() # Logic for executing tasks based on query if 'wikipedia' in self.query: speak('Searching Wikipedia...') self.query = self.query.replace("wikipedia", "") results = wikipedia.summary(self.query, sentences=2) speak("According to Wikipedia") print(results) speak(results) elif 'open youtube' in self.query: webbrowser.open("youtube.com") elif 'open google' in self.query: webbrowser.open("google.com") elif 'open stackoverflow' in self.query: webbrowser.open("stackoverflow.com") elif 'play music' in self.query: music_dir = 'D:\\Non Critical\\songs\\Favorite Songs2' songs = os.listdir(music_dir) print(songs) os.startfile(os.path.join(music_dir, songs[0])) elif 'the time' in self.query: strTime = datetime.datetime.now().strftime("%H:%M:%S") speak(f"Sir, the time is {strTime}") elif 'open code' in self.query: codePath = "C:\\Users\\AADI\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe" os.startfile(codePath) elif "open notepad" in self.query: npath = "C:\\Users\dell\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\Accessories\\notepad.exe" os.startfile(npath) elif "open cmd" in self.query: os.system('start cmd') elif "open chrome" in self.query: NPATH = "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" os.startfile(npath) startExecution = MainThread() class Main(QMainWindow): def __init__(self): super().__init__() self.ui = Ui_JarvisUI() self.ui.setupUi(self) self.ui.pushButton.clicked.connect(self.startTask) self.ui.pushButton_2.clicked.connect(self.close) def startTask(self): self.ui.movie = QtGui.QMovie("D:/jarvis/gui_1.gif") self.ui.label.setMovie(self.ui.movie) self.ui.movie.start() self.ui.movie = QtGui.QMovie("D:/jarvis/initial.gif") self.ui.label_2.setMovie(self.ui.movie) self.ui.movie.start() startExecution.start() def ShowTime(self): time_n = QTime.currentTime() now = QDate.currentDate() label_time = time_n.toString('hh:mm:ss') label_date = now.toString(Qt.ISODate) app = QApplication(sys.argv) jarvis = Main() jarvis.show() exit(app.exec_())
antimon2
Japanese `Kyūreki` (旧暦) Calendrical Calculations in Julia.
5HT
QDATE
Jeffrich308
No description available
npqd0208
No description available
Andyliang97
A birthday reminder application called birthdays. Classes to reuse are QDate, QFile, QString, QStringList, and QTextStream.
antimon2
QDates CLI with Comonicon.jl
komm
No description available
guabutian
这是一个增强浏览器JS的扩展Date功能的小小函数库
olegabr
QDateRangePicker plugin for QCubed
gizemuzun
No description available
SCDependencies
No description available
adavoudi
Add support of Solar Hijri date to QDateTime
var-foo
QDateRangePicker plugin for QCubed
No description available
Qt Widget の QDateTime で現在日時を出力する
Qt Widget の Button を押下したら QDateTime で現在日時を出力する
Ahikahi
No description available
alinaseri25
STM32
Qt Widget の Button を押下したら QDateTime で現在日時をクリップボードに出力する
LucasFuhrmann4
No description available