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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hikac-0.0.11.tar.gz
  • Upload date:
  • Size: 3.6 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.11.tar.gz
Algorithm Hash digest
SHA256 908914b96012e97850bef8afed967b89d1a252e58267702c5067daea4310aab4
MD5 6babaf6e77c97e1d449026bf6b53a1a1
BLAKE2b-256 c97cdd006852047e22290cf54b1494e5aed280d3808fd420496c7551c4bad49d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hikac-0.0.11-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.11-py3-none-any.whl
Algorithm Hash digest
SHA256 c876fe5f6c06f5eecc5fe3e97853e3196faffc76dcc6691bac4fcc85169d0a21
MD5 03987e3fb31a5c914727c8e90dbd70f6
BLAKE2b-256 c1754ae40911badb8c94ff5f00b966d698d06799b950e2dd6e399e890d4543b2

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