semvec/pypi-packages huggingface dataset:
pyqt-timer-label 0.0.1
PyQt QLabel adapted to timer feature
License: MIT


# pyqt-timer-label
PyQt QLabel adapted to timer feature

## Requirements
* PyQt5 >= 5.8

## Setup
`python -m pip install pyqt-timer-label`

## Included Packages
* <a href="https://github.com/yjg30737/pyqt-responsive-label.git">pyqt-responsive-label</a> - for auto-resize the font of label accordance with window's size 

## Detailed Description
You can set start hour/min/sec. Same to end. You can use this when you want to make a timer label which follows ```hh:mm:ss``` format. By the way, default end time is 00:00:00. You can change it with methods i'll explain below.

## Method, Signal Overview
* ```setStartHour(h: int)```, ```setStartMinute(m: int)```, ```setStartSecond(s: int)```. Same to end.
* ```setTimerReverse(f: bool)``` to make timer go reversed. Default is True, which means subtracts one second.
* There are useful methods like ```start()```, ```pause()```, ```restart()```, ```refresh()```, ```reset()```, ```stop()``` as well as useful signals like ```doubleClicked```, ```prepared```, ```started```, ```paused```, ```restarted```, ```refreshed```, ```resetSignal```, ```stopped```.
* `isPaused() -> bool` - Check if the timer being paused or not

## Example
Code Sample
```python
from PyQt5.QtWidgets import QApplication, QWidget, QGridLayout
from pyqt_timer_label import TimerLabel


if __name__ == "__main__":
    import sys

    app = QApplication(sys.argv)
    lbl = TimerLabel()
    lbl.setStartHour(0)
    lbl.setStartMinute(0)
    lbl.setStartSecond(15)
    widget = QWidget()
    lay = QGridLayout()
    lay.addWidget(lbl)
    widget.setLayout(lay)
    widget.show()
    lbl.start()
    sys.exit(app.exec_())
```
Start time is 00:00:15. End time is by default so it is 00:00:00. 

Result

https://user-images.githubusercontent.com/55078043/154182901-bb7fd5fb-4eb1-46dd-bd5e-3cc9bacf95c7.mp4

Note: I started recording from 12 seconds approximately. Preparation for recording took time so the result shows from the moment which indicates 9 seconds left.

## See Also
* <a href="https://github.com/yjg30737/pyqt-timer.git">pyqt-timer</a>
* <a href="https://github.com/yjg30737/pyqt-transparent-timer.git">pyqt-transparent-timer</a>
pyqt-highlight-completer 0.0.1
PyQt highlight completer
License: MIT


# pyqt-highlight-completer
PyQt highlight completer

## Requirements
*  PyQt5 >= 5.8

## Setup
`python -m pip install pyqt-highlight-completer`

## Note
This package mainly consist of QLineEdit and QTableWidget. QCompleter is not even used.

## Example
Code Sample
```python
from PyQt5.QtWidgets import QApplication
from pyqt_highlight_completer import HighlightCompleter

if __name__ == "__main__":
    import sys

    app = QApplication(sys.argv)
    mainWindow = HighlightCompleter()
    mainWindow.show()
    mainWindow.addTexts('Alberic Litte,Angalmo,Antus Odiil,Ariela Doran,Arriana Valga,Athragar,Bittneld the Curse-Bringer,Carmen Litte,Casta Scribonia,Chanel,Chorrol Jailor,Chorrol Soldier,City Watch,Dar-Ma,Earana,Emfrid,Estelle Renoit,Eugal Belette,Fighters Guild Porter,Francois Motierre,Gaturn gro-Gonk,Glistel,Gureryne Selvilo,Honditar,Jirolin Doran,Kurz gro-Baroth,Laythe Wavrick,Lazy Kaslowyn,Lum gro-Baroth,Malintus Ancrus,Modryn Oreyn,Nardhil,Nermus the Mooch,Orag gra-Bargol,Orgnolf Hairy-Legs,Orok gro-Ghoth,Otius Loran,Rallus Odiil,Rasheda,Rena Bruiant,Reynald Jemane,Rimalus Bruiant,Seed-Neeus,Talasma,Teekeeus,Valus Odiil,Vilena Donton,Wallace'.split(
        ','))
    app.exec_()
```

Result

![image](https://user-images.githubusercontent.com/55078043/146474104-44a42dc3-0b80-49d5-9571-dec2f83e3b47.png)