A hikvision access control request manager
Project description
HIKVISION AC REQUEST MANAGER
A package used to get needy data from Hikvision ac device request.
How to use
After installing the package use following import:
**from hikac import get_data_from_ac_event
In Your Api router, you can also use like that:
**@attandance_router.post("/attandance/face-id", include_in_schema=False) **async def get_attandance_users_list( ** req: Request, ** db: Session = ActiveSession, **): ** try: ** # use the class to collect nececary items of dict ** eventData = await get_data_from_ac_event(req) ** ** if eventData.attendanceStatus: ** await makeDavomat(eventData.employeeId, eventData.attendanceStatus, eventData.dateTime, eventData.deviceName, db) ** ** return "success" ** except Exception as e: ** print(e.args) **
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hikac-0.0.12.tar.gz.
File metadata
- Download URL: hikac-0.0.12.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fa9cf6bc5231958e32171af52b31f50ef83b032cf40ef34fb523f9dfff26db5b
|
|
| MD5 |
adde64b7c395102681574abbaa142e72
|
|
| BLAKE2b-256 |
f0c56d65fcfbb21bf259e18583377c298d2bda070d87207f9f36da10f1bd69eb
|
File details
Details for the file hikac-0.0.12-py3-none-any.whl.
File metadata
- Download URL: hikac-0.0.12-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
323f3f4f75ce043da6e83d002cca80c4ba72f901e8fa0cc945ebc294131a4546
|
|
| MD5 |
54ecc39459bbab2e6fa582c5dff3144c
|
|
| BLAKE2b-256 |
7b8e37c53b6b8ad8719692fc9e98a88a50a1412e7b9119daa9d5d551b0660f09
|