{"id":20560683,"url":"https://github.com/mezz64/pyhik","last_synced_at":"2025-05-14T10:13:52.545Z","repository":{"id":38843868,"uuid":"75355824","full_name":"mezz64/pyHik","owner":"mezz64","description":"Python wrapper for Hikvision camera event stream","archived":false,"fork":false,"pushed_at":"2024-12-02T18:38:40.000Z","size":77,"stargazers_count":189,"open_issues_count":23,"forks_count":54,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-04-06T06:01:34.343Z","etag":null,"topics":["hacktoberfest","hikvision","hikvision-camera","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mezz64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-02T03:11:14.000Z","updated_at":"2025-03-16T18:24:37.000Z","dependencies_parsed_at":"2024-06-18T17:10:06.123Z","dependency_job_id":"0b70a6e3-a21a-43a0-a273-bc828119e7bf","html_url":"https://github.com/mezz64/pyHik","commit_stats":{"total_commits":60,"total_committers":13,"mean_commits":4.615384615384615,"dds":0.25,"last_synced_commit":"4138a41f26d99403aee9673c4cd9f1f8f5cde97e"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyHik","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyHik/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyHik/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyHik/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mezz64","download_url":"https://codeload.github.com/mezz64/pyHik/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248695311,"owners_count":21146952,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","hikvision","hikvision-camera","python"],"created_at":"2024-11-16T03:55:25.475Z","updated_at":"2025-04-13T09:56:13.353Z","avatar_url":"https://github.com/mezz64.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI](https://img.shields.io/pypi/v/pyHik.svg)](https://pypi.python.org/pypi/pyHik)\n\n# Introduction\n\nThis is a python module aiming to expose common API events from a Hikvision IP camera or nvr.  Most rebadged models work as well with full functionality.\n\nCode is licensed under the MIT license.\n\n\n# Requirements\n\nIf internal callback methods are used no external libraries are required, otherwise:\n* [pyDispatcher] 2.0.5 \n\n# Installation\n\n```pip install pyhik```\n\n# Usage\n\n```python\nimport pyhik.hikvision\n\ncamera = pyhik.hikvision.HikCamera('http://X.X.X.X', port=80, usr='admin', pwd='1234')\n```\n\n# Available Methods\n\n### Callbacks\n* add_update_callback(callback, msg) - used to register an update callback function.\n** msg should take the form: cam_id.event_type.channel\n\n### Properties\n* get_id - returns unique camera/nvr id\n* get_name - returns camera/nvr name\n* current_event_states - returns the event state dictionary\n\n### Functions\n* start_stream - initialzes the event stream processing thread\n* disconnect - closes the http stream session and stops the processing thread\n\n# TODO\n\n* Support motion detection status and ability to turn on/off\n* Support IR day/night status and ability to switch between day/night/auto\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezz64%2Fpyhik","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmezz64%2Fpyhik","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezz64%2Fpyhik/lists"}