{ "info": { "author": "Sergei S.", "author_email": "s@makeitwork.cz", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Topic :: Communications" ], "description": "# CCTV camera image proxy\n\n## What's that\n\nYou have CCTV camera which gives you image snapshot and want to add it\nsomewhere e.g. to your internal web page, refreshing periodically.\n\nProblem: camera is password protected and you don't want to be continuously\nprompted for the credentials\n\nProblem 2: sometimes your camera may die and you want to display some pretty\nerror image.\n\nSolution:\n\n```bash\npip3 install cctvproxy\n# put this string somewhere to your system startup\ncctv-proxy.sh start\n```\n\n## Usage\n\n```\nhttp://cctv-proxy-ip:port/ci?_id=CAM_ID&.....\n```\n\nParams:\n\n* **_id** camera id\n* **_return** if \"raw\" - return raw response from camera, if \"test\" - test\n camera and return OK (or FAILED)\n\nAll other params are passed to CCTV camera as-is.\n\nCCTV Proxy was made for AXIS cameras but you can configure it for almost any.\n\n## Config file\n\nDefault config file path: */usr/local/etc/cctv_proxy.yml*\n\nYou can specify alternative location with *-f* option.\n\n```yaml\n#bind-host: 127.0.0.1\n#bind-port: 8781\n#pool: 30\nlogin: axisusername\npassword: axispassword\n# change for non-AXIS cameras\n#uri: /axis-cgi/jpg/image.cgi\ncams:\n cam1: 192.168.55.1\n cam2: 192.168.55.1\n cam3: 192.168.55.1\ntimeout: 5\n#user: nobody\n#group: nogroup\n# change for each instance\n#pid: /tmp/cctv-proxy.pid\n# if no image available\n#no-image: /data/nocam.jpg\n```\n\nDon't forget to set 600 permissions on a config file.\n\n## Debug\n\n```bash\ncctv-proxy.sh launch [-f config_file]\n# or\npython3 -m cctvproxy.proxy [-f config_file] -D\n```\n\n## TODO\n\nImage processing. Sometime later. I don't need it - [EVA\nICS](https://www.eva-ics.com/) has built-in.", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/divi255/cctvproxy", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cctvproxy", "package_url": "https://pypi.org/project/cctvproxy/", "platform": "", "project_url": "https://pypi.org/project/cctvproxy/", "project_urls": { "Homepage": "https://github.com/divi255/cctvproxy" }, "release_url": "https://pypi.org/project/cctvproxy/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "CCTV camera image proxy", "version": "0.1.1" }, "last_serial": 5484178, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "d10172031d1e093f09a414be8d61c5df", "sha256": "1edf9a4428ec701ef69704cd22ce4e74dc4c338cd645bd66726905364bb31174" }, "downloads": -1, "filename": "cctvproxy-0.0.2.tar.gz", "has_sig": false, "md5_digest": "d10172031d1e093f09a414be8d61c5df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48680, "upload_time": "2019-07-04T00:21:15", "url": "https://files.pythonhosted.org/packages/2b/87/f67d92cde8e4a86ffa5c1f6c5a3d27e2450b147a9277fd386a89fae3f429/cctvproxy-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "8c5377d078b073ff3631510d69b962bc", "sha256": "f9049edd9db3ef565b00836288dd0776d172b09c726510e76c0222d94466b088" }, "downloads": -1, "filename": "cctvproxy-0.0.3.tar.gz", "has_sig": false, "md5_digest": "8c5377d078b073ff3631510d69b962bc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48648, "upload_time": "2019-07-04T00:24:28", "url": "https://files.pythonhosted.org/packages/ee/fe/fe6a1cddbfe72a7f4deb28a89d1a3d1b3831b6f09d4b77e7f565d11d3bef/cctvproxy-0.0.3.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "eaa9ffc7de33a941a0e3e746e7cd004b", "sha256": "819e62eda8eb24e92f74a76f7d8a10674823ca7e2c409765f4f8d640d652979a" }, "downloads": -1, "filename": "cctvproxy-0.1.0.tar.gz", "has_sig": false, "md5_digest": "eaa9ffc7de33a941a0e3e746e7cd004b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48889, "upload_time": "2019-07-04T00:36:10", "url": "https://files.pythonhosted.org/packages/3c/ff/e018c31ef96e32a956a06c933af27850a3de8cd3cbe3f1be920fc58d87f9/cctvproxy-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9fa8594295fd12875c7130a921ec2006", "sha256": "70cccf7e1d16bbf246a67d2f1b4db6a68fcfeaae149c2e65a56b1d16dc1138a7" }, "downloads": -1, "filename": "cctvproxy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9fa8594295fd12875c7130a921ec2006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48927, "upload_time": "2019-07-04T00:41:17", "url": "https://files.pythonhosted.org/packages/70/6f/e5bc2f37b34964f36d72e484b8a65126f8ce95d233be78eb045ee01afe65/cctvproxy-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9fa8594295fd12875c7130a921ec2006", "sha256": "70cccf7e1d16bbf246a67d2f1b4db6a68fcfeaae149c2e65a56b1d16dc1138a7" }, "downloads": -1, "filename": "cctvproxy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9fa8594295fd12875c7130a921ec2006", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48927, "upload_time": "2019-07-04T00:41:17", "url": "https://files.pythonhosted.org/packages/70/6f/e5bc2f37b34964f36d72e484b8a65126f8ce95d233be78eb045ee01afe65/cctvproxy-0.1.1.tar.gz" } ] }