{ "info": { "author": "Jeff Levensailor", "author_email": "jeff@levensailor.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# phonescrape\n\nUses BeautifulSoup and RegEx to pull and parse data directly form Cisco IP Phones\n\n#### input a phone ip address\n\n```py\nfrom phonescrape import scrape\n\nphones = ['10.131.202.127', '10.131.202.127']\n\nfor phone in phones:\n details = scrape.allDetails(phone)\n print(details[\"sn\"])\n```\n\n#### and get back a dict of information:\n\n```json\n{\n \"sn\": \"FCH2053D2BS\",\n \"firmware\": \"sip88xx.12-0-1-8\",\n \"dn\": \"52807\",\n \"model\": \"CP-8851\",\n \"kem1\": \"Key expansion module 2\",\n \"kem2\": \"Hardware revision\",\n \"mac_address\": \"F8A5C59E0F1C\",\n \"hostname\": \"SEPF8A5C59E0F1C\",\n \"domain_name\": \"DHCP server\",\n \"dhcp_server\": \"10.131.202.1\",\n \"dhcp\": \"Yes\",\n \"ip_address\": \"10.131.202.127\",\n \"subnetmask\": \"255.255.255.0\",\n \"gateway\": \"10.131.202.1\",\n \"dns1\": \"8.8.8.8\",\n \"dns2\": \"DNS server 3\",\n \"alt_tftp\": \"Yes\",\n \"tftp1\": \"10.144.200.10\",\n \"tftp2\": \"DHCP address released\",\n \"op_vlan\": \"Admin VLAN ID\",\n \"admin_vlan\": \"CUCM server1\",\n \"cucm1\": \"10.144.200.10 Active\",\n \"cucm2\": \"\",\n \"cucm3\": \"CUCM server4\",\n \"info_url\": \"http://10.144.200.10:8443/ccmcip/GetTelecasterHelpText.jsp\",\n \"dir_url\": \"http://10.144.200.10:8443/ccmcip/xmldirectory.jsp\",\n \"msg_url\": \"Services URL\",\n \"svc_url\": \"http://10.144.200.10:8443/ccmcip/getservicesmenu.jsp\",\n \"idle_url\": \"Idle URL time\",\n \"info_url_time\": \"0\",\n \"proxy_url\": \"\",\n \"auth_url\": \"http://10.144.200.10:8080/ccmcip/authenticate.jsp\",\n \"tvs\": \"cucm.car.pnslabs.com\",\n \"status\": [\n \"11:39:03am 10/09/18 ITL installed\",\n \"11:39:04am 10/09/18 SEPF8A5C59E0F1C.cnf.xml.sgn(HTTP)\",\n \"11:39:05am 10/09/18 VPN not configured\"\n ]\n}\n```\n\n", "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/levensailor/phonescrape", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "phonescrape", "package_url": "https://pypi.org/project/phonescrape/", "platform": "", "project_url": "https://pypi.org/project/phonescrape/", "project_urls": { "Homepage": "https://github.com/levensailor/phonescrape" }, "release_url": "https://pypi.org/project/phonescrape/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Downloads and parses information from Cisco IP Phones", "version": "0.0.1" }, "last_serial": 4357010, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "7e902b29bd42e9faf629efc01f009f22", "sha256": "08436998e42af282959ecd5f823374896620f702262ad607fa9fed6eab7c35ad" }, "downloads": -1, "filename": "phonescrape-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7e902b29bd42e9faf629efc01f009f22", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15553, "upload_time": "2018-10-09T18:20:29", "url": "https://files.pythonhosted.org/packages/bc/aa/6b69a80cdb5910d76b2f0fc1172a2ddd9654a9555685a4965b5685e546f2/phonescrape-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a12a336038a168d6e117e64f767a44b4", "sha256": "82c157032b241eb3970eb55cb178c69fba2f1f1ee6f4b39cc249931d4d9e4d62" }, "downloads": -1, "filename": "phonescrape-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a12a336038a168d6e117e64f767a44b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3016, "upload_time": "2018-10-09T18:20:31", "url": "https://files.pythonhosted.org/packages/a8/39/497dcc45fa46a9d40da13388abe01903ec6d9026b4b1b14f3af866d1b2b0/phonescrape-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7e902b29bd42e9faf629efc01f009f22", "sha256": "08436998e42af282959ecd5f823374896620f702262ad607fa9fed6eab7c35ad" }, "downloads": -1, "filename": "phonescrape-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7e902b29bd42e9faf629efc01f009f22", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15553, "upload_time": "2018-10-09T18:20:29", "url": "https://files.pythonhosted.org/packages/bc/aa/6b69a80cdb5910d76b2f0fc1172a2ddd9654a9555685a4965b5685e546f2/phonescrape-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a12a336038a168d6e117e64f767a44b4", "sha256": "82c157032b241eb3970eb55cb178c69fba2f1f1ee6f4b39cc249931d4d9e4d62" }, "downloads": -1, "filename": "phonescrape-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a12a336038a168d6e117e64f767a44b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3016, "upload_time": "2018-10-09T18:20:31", "url": "https://files.pythonhosted.org/packages/a8/39/497dcc45fa46a9d40da13388abe01903ec6d9026b4b1b14f3af866d1b2b0/phonescrape-0.0.1.tar.gz" } ] }