Skip to main content

Zk Attendance Machine lib

Project description

# Python ZKLib #

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

## 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.
```bash
pip install zklib
```
Connect to the machine

```python
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for zklib, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size zklib-0.1.1.tar.gz (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page