Skip to main content

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

hikac-0.0.12.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hikac-0.0.12-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

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

Hashes for hikac-0.0.12.tar.gz
Algorithm Hash digest
SHA256 fa9cf6bc5231958e32171af52b31f50ef83b032cf40ef34fb523f9dfff26db5b
MD5 adde64b7c395102681574abbaa142e72
BLAKE2b-256 f0c56d65fcfbb21bf259e18583377c298d2bda070d87207f9f36da10f1bd69eb

See more details on using hashes here.

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

Hashes for hikac-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 323f3f4f75ce043da6e83d002cca80c4ba72f901e8fa0cc945ebc294131a4546
MD5 54ecc39459bbab2e6fa582c5dff3144c
BLAKE2b-256 7b8e37c53b6b8ad8719692fc9e98a88a50a1412e7b9119daa9d5d551b0660f09

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page