{"id":17283342,"url":"https://github.com/davidvuong/pynetoptix","last_synced_at":"2025-12-14T02:50:11.437Z","repository":{"id":62582059,"uuid":"116764320","full_name":"davidvuong/pynetoptix","owner":"davidvuong","description":"A simple Python wrapper over NetworkOptix's HTTP API","archived":false,"fork":false,"pushed_at":"2018-03-29T00:18:33.000Z","size":27,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T21:32:16.401Z","etag":null,"topics":["api","networkoptix","vms"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/davidvuong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-09T04:07:30.000Z","updated_at":"2022-03-08T12:49:40.000Z","dependencies_parsed_at":"2022-11-03T21:21:51.970Z","dependency_job_id":null,"html_url":"https://github.com/davidvuong/pynetoptix","commit_stats":null,"previous_names":["imageintelligence/pynetoptix"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/davidvuong/pynetoptix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidvuong%2Fpynetoptix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidvuong%2Fpynetoptix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidvuong%2Fpynetoptix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidvuong%2Fpynetoptix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davidvuong","download_url":"https://codeload.github.com/davidvuong/pynetoptix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davidvuong%2Fpynetoptix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276038639,"owners_count":25574393,"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","status":"online","status_checked_at":"2025-09-20T02:00:10.207Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["api","networkoptix","vms"],"created_at":"2024-10-15T09:51:04.597Z","updated_at":"2025-09-20T03:17:53.719Z","avatar_url":"https://github.com/davidvuong.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pynetoptix\n\n**Welcome to pynetoptix!**\n\nThis is an unofficial, zero-dependency, Python 3 wrapper over the NetworkOptix' HTTP API. You can view their API documentation [here](http://www.networkoptix.com/sdk-api/).\n\n## Installation \u0026 usage\n\n```bash\npip install pynetoptix\n```\n\n```python\nimport pynetoptix\n\nnx_username = 'demo'\nnx_password = 'nxwitness'\n\nnx_client = pynetoptix.create_client(nx_username, nx_password)\nprint(nx_client.system.get_cameras_ex())\n```\n\n## Development\n\n```bash\n# Clone the repository from GitHub\ngit clone git@github.com:davidvuong/pynetoptix.git\n\n# Create a Python virtual environment (using Python 3)\nmkvirtualenv pynetoptix -p python3\n\n# Install development dependencies\npip install -r requirements.txt\n\n# Run unit tests\npython -m pytest tests/\n```\n\n## Deployment\n\nPyPi deployments are manual for now. I'll need to configure CI to auto deploy on git branches. However until then, the process is as follows:\n\n1. Bump the version number `pynetoptix.__version__`\n\n    ```python\n    __version_info__ = (0, 0, 1)\n    __version__ = '.'.join([str(i) for i in __version_info__])\n    ```\n\n1. Commit, tag, and push your version bump:\n\n    ```bash\n    git add .\n    git commit -m \"chore(pkg): bump 0.0.1\"\n    git tag -a \"v0.0.1\" -m \"chore(pkg): bump 0.0.1\"\n    git push \u0026\u0026 git push --tags\n    ```\n\n1. Build a new distribution and upload to PyPi:\n\n    ```bash\n    pip install twine\n    python setup.py sdist\n    twine upload dist/pynetoptix-0.0.1.tar.gz\n    ```\n\n**NOTE:** You might get warnings around having a misconfigured `~/.pypirc` file. Create one if you haven't and make sure it contains:\n\n```\n[pypi]\nusername = \u003cusername\u003e\npassword = \u003cpassword\u003e\n```\n\nAsk another developer for the `username` and `password`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidvuong%2Fpynetoptix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidvuong%2Fpynetoptix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidvuong%2Fpynetoptix/lists"}