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.2.tar.gz (3.5 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.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file hikac-0.0.2.tar.gz.

File metadata

  • Download URL: hikac-0.0.2.tar.gz
  • Upload date:
  • Size: 3.5 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.2.tar.gz
Algorithm Hash digest
SHA256 eb58a425e3d90cb25bcc6793317d6b15977c88c772432d74a9bf9ce2ca567c76
MD5 30a2be8fc28868445352e5b377e48741
BLAKE2b-256 13e062d450d3dd1db9895a7360569d4f5dd48630fe99cfbea97f1dda5eb30d50

See more details on using hashes here.

File details

Details for the file hikac-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: hikac-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0cd16918e8edf6329b697aa60b9ae5d77e8765659198403795acb43b7d048035
MD5 93dd032fc716f4266c8ae15f5fd3bcad
BLAKE2b-256 35941a0896d2f2928e38ff9bb79b3f2aee58cef9621292edc67dba02bb87c236

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