{ "info": { "author": "Ryan Veach", "author_email": "rveach@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# nannypi\n\nThis project is to create a telegram-enabled nanny cam using a raspberry pi and a usb webcam.\n\n## Project Installation\n\nRun the script\n\nEdit the /etc/default/motion file: `sudo vim /etc/default/motion`\n\n```\n# set to 'yes' to enable the motion daemon\nstart_motion_daemon=yes\n\nTELEGRAM_BOT_TOKEN=\nTELEGRAM_CHAT_ID=\n\nexport TELEGRAM_BOT_TOKEN\nexport TELEGRAM_CHAT_ID\n```\n\nEdit motion config file: `sudo vim /etc/motion/motion.conf`\nThe option `on_picture_save` is commented out. Remove the comment and add the following.\n\n```\non_picture_save /opt/nannypi/venv/bin/send_telegram_media.py --delete --file %f\n```\n\n## Python Script info\n\nThis is part of a larger repo created to create a telegram-enabled nanny camera. See the main repo for full information: [nannypi](https://gitlab.com/rveach/nannypi).\n\n### Install Python Scripts\n\n```bash\npip install nannypi\n```\n\n### send_telegram_media.py\n\nThis script will send media to telegram using cli arguments.\n\n```bash\npython send_telegram_media.py -h\nusage: send_telegram_media.py [-h] [-f [FILE [FILE ...]]] [-t TOKEN]\n [-c CHAT_ID] [-d]\n\nSend media images to a Telegram Chat.\n\noptional arguments:\n -h, --help show this help message and exit\n -f [FILE [FILE ...]], --file [FILE [FILE ...]]\n Files to send\n -t TOKEN, --token TOKEN\n telegram token. Can also be specified with the env\n variable TELEGRAM_BOT_TOKEN.\n -c CHAT_ID, --chat-id CHAT_ID\n telegram chat id. Can also be specified with the env\n variable TELEGRAM_CHAT_ID\n -d, --delete delete file after sending\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/rveach/nannypi", "keywords": "Nanny,Telegram", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "nannypi", "package_url": "https://pypi.org/project/nannypi/", "platform": "", "project_url": "https://pypi.org/project/nannypi/", "project_urls": { "Homepage": "https://gitlab.com/rveach/nannypi" }, "release_url": "https://pypi.org/project/nannypi/0.1.2/", "requires_dist": null, "requires_python": ">=3", "summary": "Collection of python scripts used to automate a raspberry pi and telegram powered nanny cam.", "version": "0.1.2" }, "last_serial": 5141637, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "587653aa4dcfc3b25fd5543d5258946a", "sha256": "2edfc0443838a93cc8fb65be21633dd667ebc5318d81edb3deb600d6609a36ab" }, "downloads": -1, "filename": "nannypi-0.1.1.tar.gz", "has_sig": false, "md5_digest": "587653aa4dcfc3b25fd5543d5258946a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 2850, "upload_time": "2019-04-14T18:06:25", "url": "https://files.pythonhosted.org/packages/51/1d/6044e10c832617e700808405b10246b0a28cf17019225f4edfbb949b094f/nannypi-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cdd9b0664c909cef2dd25b8fef884a71", "sha256": "d55fa234a8ce0fbcc679352655e77f994ee3840a8b3f563f24698f93f98135ae" }, "downloads": -1, "filename": "nannypi-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cdd9b0664c909cef2dd25b8fef884a71", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3216, "upload_time": "2019-04-14T19:03:13", "url": "https://files.pythonhosted.org/packages/a6/f2/7db545a416e88e928a29e08e4a9c1df7ac0ff289d4997c0529822d8d2483/nannypi-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cdd9b0664c909cef2dd25b8fef884a71", "sha256": "d55fa234a8ce0fbcc679352655e77f994ee3840a8b3f563f24698f93f98135ae" }, "downloads": -1, "filename": "nannypi-0.1.2.tar.gz", "has_sig": false, "md5_digest": "cdd9b0664c909cef2dd25b8fef884a71", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 3216, "upload_time": "2019-04-14T19:03:13", "url": "https://files.pythonhosted.org/packages/a6/f2/7db545a416e88e928a29e08e4a9c1df7ac0ff289d4997c0529822d8d2483/nannypi-0.1.2.tar.gz" } ] }