{ "info": { "author": "Victor Jimenez", "author_email": "betabandido@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Home Automation" ], "description": "Surveillance system based on Raspberry Pi.\n\nPisurvl is a surveillance solution with motion detection and alert notifications. This repository contains the server\npart of the solution. It is implemented in Python and it uses `OpenCV`_ to access the camera of the Raspberry Pi. Despite\nbeing implemented on top of a Raspberry Pi, the solution should work on any system having a camera that is supported\nby OpenCV.\n\nInstallation\n============\n\nInstalling OpenCV\n----------------------\n\nCurrently there is no easy way to install OpenCV 3 on Linux. The following commands install all the necessary\ndependencies to build OpenCV 3:\n\n.. code:: bash\n\n sudo apt install build-essential cmake git pkg-config\n sudo apt install libgtk2.0-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev\n sudo apt install libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev\n sudo apt install libatlas-base-dev gfortran liblapacke-dev\n sudo apt install python3 python3-dev python3-setuptools\n sudo easy_install3 pip\n\nThe following command installs the latest version of Numpy. The installation may take a while to complete.\n\n.. code:: bash\n\n sudo pip3 install numpy\n\nThe following commands download and compile OpenCV 3:\n\n.. code:: bash\n\n mkdir build-opencv && cd build-opencv\n git clone https://github.com/opencv/opencv.git\n git clone https://github.com/opencv/opencv_contrib.git\n cd opencv_contrib && git checkout 3.2.0 && cd ..\n cd opencv && git checkout 3.2.0\n mkdir build && cd build\n cmake -D CMAKE_BUILD_TYPE=Release \\\n -D CMAKE_INSTALL_PREFIX=/usr/local \\\n -D OPENCV_EXTRA_MODULES_PATH=`pwd`/../../opencv_contrib/modules \\\n ..\n make -j4\n\nThen install OpenCV:\n\n.. code:: bash\n\n sudo make install\n\n\nInstalling PiSurvl\n------------------\n\n.. code:: bash\n\n sudo pip3 install --upgrade pisurvl\n git clone https://github.com/betabandido/pisurvl.git\n sudo cp pisurvl/init/pisurvl.service /etc/systemd/system\n sudo systemctl enable pisurvl.service\n\nConfiguring PiSurvl\n-------------------\n\nCreate a settings file based on the provided template:\n\n.. code:: bash\n\n mkdir -p ~/.pisurvl\n cp pisurvl/template-settings.yaml ~/.pisurvl/settings.yaml\n\nFill in the fields ``from`` and ``to`` in the ``notifications`` section.\n\nUse `Google API Manager`_ to generate some client credentials and download the ``client_secrets.json`` file. Then move\nthe file into the PiSurvl configuration folder:\n\n.. code:: bash\n\n mv client_secrets.json ~/.pisurvl\n\nExecute ``pisurvl-server`` to authorize PiSurvl to access Google Drive.\n\nRunning PiSurvl\n---------------\n\nUse ``systemctl`` to start the service:\n\n.. code:: bash\n\n sudo systemctl start pisurvl.service\n\nDevelopment\n===========\n\nTo upload a new release to PyPI follow the next steps:\n\n1) Bump version in ``setup.py``\n2) Run ``python3 setup.py sdist upload``\n\n\n.. _OpenCV: http://opencv.org\n.. _Google API Manager: https://console.developers.google.com\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/betabandido/pisurvl", "keywords": "surveillance camera home-automation", "license": "GPLv3", "maintainer": "", "maintainer_email": "", "name": "pisurvl", "package_url": "https://pypi.org/project/pisurvl/", "platform": "", "project_url": "https://pypi.org/project/pisurvl/", "project_urls": { "Homepage": "https://github.com/betabandido/pisurvl" }, "release_url": "https://pypi.org/project/pisurvl/0.0.8/", "requires_dist": null, "requires_python": "", "summary": "A surveillance system based on Raspberry Pi", "version": "0.0.8" }, "last_serial": 3059335, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "90409f5f5e8fd41c792254ccfe5d4725", "sha256": "e0ef191fe7379c1d98094777a0af3006b17d5e2d7a2e8db236407678438a9cb7" }, "downloads": -1, "filename": "pisurvl-0.0.2.tar.gz", "has_sig": false, "md5_digest": "90409f5f5e8fd41c792254ccfe5d4725", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10041, "upload_time": "2017-07-09T18:23:36", "url": "https://files.pythonhosted.org/packages/84/3e/3ff36553fcd8ed12ab49f9a75adfabcc8c972e31895fc768785e45725aea/pisurvl-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "f0eef3ef107bc2f13a122bd5ff702fb0", "sha256": "1a8c63535931f9832c7d35cee25b6a7ee8f2f1297ef601f399ed4a4d072c37d6" }, "downloads": -1, "filename": "pisurvl-0.0.3.tar.gz", "has_sig": false, "md5_digest": "f0eef3ef107bc2f13a122bd5ff702fb0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10249, "upload_time": "2017-07-09T18:27:37", "url": "https://files.pythonhosted.org/packages/f9/71/9b20e05003d4ab3dbc2125528103220410803e65c14b3f312f9aba293470/pisurvl-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "01aee223823a0659104697881d9e3429", "sha256": "cd5f427a80cce448485a9b11e77c51c7567fcab0d7e48c2091c8114e9322c4cc" }, "downloads": -1, "filename": "pisurvl-0.0.4.tar.gz", "has_sig": false, "md5_digest": "01aee223823a0659104697881d9e3429", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10230, "upload_time": "2017-07-09T18:40:06", "url": "https://files.pythonhosted.org/packages/44/77/fb285b9c033cd3e19982308c46eaef06911272820bab781407430403d5e8/pisurvl-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "3c89d7cdf7fdd1713b9b90136eee2b60", "sha256": "218346fe672d3a4d1477c93174e9d3721ddfb1ceead02bf32ee3f6d52bba52da" }, "downloads": -1, "filename": "pisurvl-0.0.5.tar.gz", "has_sig": false, "md5_digest": "3c89d7cdf7fdd1713b9b90136eee2b60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10254, "upload_time": "2017-07-09T21:18:41", "url": "https://files.pythonhosted.org/packages/29/0f/7b0fe6d5966913ea495ed008ddaa2f7baa36b7c2550d8ade3ec362a3f543/pisurvl-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "88af12afbdf6e89d00801d7f7d852903", "sha256": "6231a6e26c5f616b67f414373553eab6944f395883306f209f470a013900a9fe" }, "downloads": -1, "filename": "pisurvl-0.0.6.tar.gz", "has_sig": false, "md5_digest": "88af12afbdf6e89d00801d7f7d852903", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11989, "upload_time": "2017-07-14T07:37:55", "url": "https://files.pythonhosted.org/packages/76/d2/edef7557bed38f5521c8b4991a14b3cac76975d3d7deadc44d0a6670fd44/pisurvl-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "b1549c891ef541af0c10e30f9ec7ddd6", "sha256": "f3a03d79e4093c069cb6be02bb68dcd0ba0f6e77a17f95c0de3d7f2ad649c03b" }, "downloads": -1, "filename": "pisurvl-0.0.7.tar.gz", "has_sig": false, "md5_digest": "b1549c891ef541af0c10e30f9ec7ddd6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12752, "upload_time": "2017-07-30T13:15:53", "url": "https://files.pythonhosted.org/packages/97/e6/43d224fa500d66da09e9a7cdbd1047b76828debbf84911b30dc1186cdf22/pisurvl-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "867a25d0d1298687dbb4671e96271f54", "sha256": "7310e206d443d5ff2a5bb0436889e80d5e8ce79c8787930b8e2683df6a47c510" }, "downloads": -1, "filename": "pisurvl-0.0.8.tar.gz", "has_sig": false, "md5_digest": "867a25d0d1298687dbb4671e96271f54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12759, "upload_time": "2017-07-30T13:45:58", "url": "https://files.pythonhosted.org/packages/99/f6/9c0af0fa5f2b5e3619eac72563f33f6547b39415780336075f522b061ea6/pisurvl-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "867a25d0d1298687dbb4671e96271f54", "sha256": "7310e206d443d5ff2a5bb0436889e80d5e8ce79c8787930b8e2683df6a47c510" }, "downloads": -1, "filename": "pisurvl-0.0.8.tar.gz", "has_sig": false, "md5_digest": "867a25d0d1298687dbb4671e96271f54", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12759, "upload_time": "2017-07-30T13:45:58", "url": "https://files.pythonhosted.org/packages/99/f6/9c0af0fa5f2b5e3619eac72563f33f6547b39415780336075f522b061ea6/pisurvl-0.0.8.tar.gz" } ] }