{ "info": { "author": "Viswanathan S", "author_email": "viswa.swami@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "==============\npython-foscam\n==============\n\nPython Library for Foscam IP Cameras\n\nGetting Started\n===============\n\nInstall\n-------\n\n.. code:: bash\n\n $ pip install python-foscam\n\nSimple example\n--------------\nHere is a simple example to move camera lens up and stop after 1s.\n\n.. code:: python\n\n from libpyfoscam import FoscamCamera\n from time import sleep\n\n mycam = FoscamCamera('192.168.0.113', 88, 'admin', 'superuser')\n mycam.ptz_move_up()\n sleep(1)\n mycam.ptz_stop_run()\n\nAsynchronous feature\n--------------------\nThis example uses the asynchronous feature provided by ``FoscamCamera``.\n\nNormally, a command is sent synchronously, waiting for results and blocking the main thread.\n\nBy initializing ``FoscamCamera`` with `daemon=True` (defaults to False), commands are sent asynchronously.\n\n.. code:: python\n\n mycam = FoscamCamera('192.168.0.113', 88, 'admin', 'superuser', daemon=True)\n mycam.get_ip_info()\n mycam.get_port_info()\n mycam.refresh_wifi_list()\n\n\nSend command with callback\n--------------------------\nThis example illustrates the use of a callback function when the command completes.\n\n.. code:: python\n\n from libpyfoscam import FoscamCamera, FOSCAM_SUCCESS\n def print_ipinfo(returncode, params):\n if returncode != FOSCAM_SUCCESS:\n print 'Failed to get IPInfo!'\n return\n print 'IP: %s, Mask: %s' % (params['ip'], params['mask'])\n\n mycam = FoscamCamera('192.168.0.113', 88, 'admin', 'superuser', daemon=False)\n mycam.get_ip_info(print_ipinfo)\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/viswa-swami/python-foscam", "keywords": "foscam,Camera,IPC", "license": "LGPLv3+", "maintainer": "", "maintainer_email": "", "name": "libpyfoscam", "package_url": "https://pypi.org/project/libpyfoscam/", "platform": "", "project_url": "https://pypi.org/project/libpyfoscam/", "project_urls": { "Homepage": "https://github.com/viswa-swami/python-foscam" }, "release_url": "https://pypi.org/project/libpyfoscam/1.1/", "requires_dist": null, "requires_python": "", "summary": "Python Library for Foscam IP Cameras", "version": "1.1" }, "last_serial": 4961710, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "a410368f0406f6849bb77bb4bf548fc9", "sha256": "079988ec936138c91e0eac0ab375e1eeb442e64bc3c46c881bf718e3fd21b805" }, "downloads": -1, "filename": "libpyfoscam-1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a410368f0406f6849bb77bb4bf548fc9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8930, "upload_time": "2017-09-11T19:48:58", "url": "https://files.pythonhosted.org/packages/d8/fb/9ea9038c437e0d41172648d1a730b7945132cc310888da2d3fb307de5157/libpyfoscam-1.0-py3-none-any.whl" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "bbdb954f817a19dc23c49207af3e0297", "sha256": "04d505461ba12f4da726ccfa0297cfaf3a452546b7930db4873cfe9b668df6f9" }, "downloads": -1, "filename": "libpyfoscam-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bbdb954f817a19dc23c49207af3e0297", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9155, "upload_time": "2019-03-20T02:17:56", "url": "https://files.pythonhosted.org/packages/da/b1/0f321a54f1082ab74e52e6c48d5e688e9508ca348dbfdb0728cee69bd27c/libpyfoscam-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa90cd0dd2d440ce1416ad6acdb12300", "sha256": "c274cafd2c6493ab397fe9f0f8aae0b2c35c7c661fe76dde3bd2f1cd56b8fc32" }, "downloads": -1, "filename": "libpyfoscam-1.1.tar.gz", "has_sig": false, "md5_digest": "fa90cd0dd2d440ce1416ad6acdb12300", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7971, "upload_time": "2019-03-20T02:17:57", "url": "https://files.pythonhosted.org/packages/aa/36/2cdfbb20142edc748e48a4bfd4fbec9b9fa6ca20d5f6ae36bfd51b7068b3/libpyfoscam-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bbdb954f817a19dc23c49207af3e0297", "sha256": "04d505461ba12f4da726ccfa0297cfaf3a452546b7930db4873cfe9b668df6f9" }, "downloads": -1, "filename": "libpyfoscam-1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bbdb954f817a19dc23c49207af3e0297", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9155, "upload_time": "2019-03-20T02:17:56", "url": "https://files.pythonhosted.org/packages/da/b1/0f321a54f1082ab74e52e6c48d5e688e9508ca348dbfdb0728cee69bd27c/libpyfoscam-1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fa90cd0dd2d440ce1416ad6acdb12300", "sha256": "c274cafd2c6493ab397fe9f0f8aae0b2c35c7c661fe76dde3bd2f1cd56b8fc32" }, "downloads": -1, "filename": "libpyfoscam-1.1.tar.gz", "has_sig": false, "md5_digest": "fa90cd0dd2d440ce1416ad6acdb12300", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7971, "upload_time": "2019-03-20T02:17:57", "url": "https://files.pythonhosted.org/packages/aa/36/2cdfbb20142edc748e48a4bfd4fbec9b9fa6ca20d5f6ae36bfd51b7068b3/libpyfoscam-1.1.tar.gz" } ] }