longlinh / python_zklib

Attendance Machine Libraries for python with a connection to the network using the UDP protocol and port 4370

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Python ZKLib

ZK fingerprint Attendance Machine Library for python with a connection to the network using the UDP protocol and port 4370

sorry I could not develop this library again because I already resigned from where I work and I do not have attendance machine to develop this library

Getting started

Login as admin to attendance machine and set the ip address for example (to 192.168.0.201) and connect the machine with ethernet to your network.

Connect to the machine

import sys
import zklib
import time
import zkconst

zk = zklib.ZKLib("192.168.0.201", 4370)
ret = zk.connect()
print "connection:", ret

If result was

connection True

Then you are connected.

More examples on how to use the Library available in the zktest.py file

About

Attendance Machine Libraries for python with a connection to the network using the UDP protocol and port 4370

License:GNU General Public License v2.0


Languages

Language:Python 100.0%