Skip to content
 
 

Latest commit

 

History

77 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python ZKLib

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

Now

Python version 3.x supported

Docs

Getting started

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

Connect to the machine

import os
import sys
sys.path.append("zktlib")

from zktlib import zklib as zkt
import time
from datetime import datetime
import zkconst

zk = zkt.ZKLib("192.168.1.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 zkmain.py and zktest.py file

About

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

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages