https://github.com/darukio/pyzktecoclocksservice
Windows background service with a system-tray interface for automating scheduled attendance tasks (periodic clock time sync, log retrieval, error handling and backups). Provides user controls to start, stop, reinstall the service, toggle automatic deletion of downloaded records, and enable or disable auto-start on system boot.
https://github.com/darukio/pyzktecoclocksservice
eventlet pyqt5 python python-3 service windows-10 windows-11 windows-service zkteco
Last synced: about 2 months ago
JSON representation
Windows background service with a system-tray interface for automating scheduled attendance tasks (periodic clock time sync, log retrieval, error handling and backups). Provides user controls to start, stop, reinstall the service, toggle automatic deletion of downloaded records, and enable or disable auto-start on system boot.
- Host: GitHub
- URL: https://github.com/darukio/pyzktecoclocksservice
- Owner: Darukio
- License: gpl-3.0
- Created: 2025-02-14T11:54:47.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2025-05-06T02:33:22.000Z (about 1 year ago)
- Last Synced: 2025-05-07T03:52:51.493Z (about 1 year ago)
- Topics: eventlet, pyqt5, python, python-3, service, windows-10, windows-11, windows-service, zkteco
- Language: Python
- Homepage:
- Size: 1.64 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyZKTecoClocks
[](https://darukio.github.io/PyZKTecoClocks/) [](https://github.com/Darukio/PyZKTecoClocks)
## [](#)
### Instalación
#### Prerrequisitos
- Python 3.7+
- Windows 10 o superior
#### Dependencias
Todos los paquetes necesarios están listados en `requirements.txt`.
```bash
# Ejecutar en cmd o PowerShell con permisos de administrador
Set-ExecutionPolicy RemoteSigned
# Si es necesario, navegar al directorio del proyecto
git clone https://github.com/Darukio/PyZKTecoClocks.git && cd PyZKTecoClocks
git submodule update --remote --recursive
python install.py # Instala las dependencias de forma global
```
#### Creación de ejecutables
**Ejecutable del servicio:**
```bash
# Ejecutar en cmd o PowerShell con permisos de admin
pyinstaller --noconsole --clean --version-file version_info.txt --onefile --hidden-import=eventlet.hubs.epolls --hidden-import=eventlet.hubs.kqueue --hidden-import=eventlet.hubs.selects --hidden-import=dns --hidden-import=dns.dnssec --hidden-import=dns.e164 --hidden-import=dns.hash --hidden-import=dns.namedict --hidden-import=dns.tsigkeyring --hidden-import=dns.update --hidden-import=dns.version --hidden-import=dns.zone --hidden-import=dns.versioned --add-data "json/errors.json;json/" --noupx --log-level=INFO --debug all schedulerService.py
```
**Interfaz del servicio:**
```bash
# Ejecutar en cmd o PowerShell con permisos de admin
pyinstaller.exe --noconsole --clean --version-file version_info.txt --onefile --hidden-import=eventlet.hubs.epolls --hidden-import=eventlet.hubs.kqueue --hidden-import=eventlet.hubs.selects --hidden-import=dns --hidden-import=dns.dnssec --hidden-import=dns.e164 --hidden-import=dns.hash --hidden-import=dns.namedict --hidden-import=dns.tsigkeyring --hidden-import=dns.update --hidden-import=dns.version --hidden-import=dns.zone --hidden-import=dns.versioned -n "Servicio Reloj de Asistencias" -i "resources/24-7.png" --add-data "resources/system_tray/*;resources/system_tray" --add-data "resources/24-7.png;resources/" --add-data "json/errors.json;json/" --noupx --log-level=INFO --uac-admin --debug all main.py
```