{ "info": { "author": "Kevin J. Walchko", "author_email": "kevin.walchko@outlook.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: System :: Shells", "Topic :: Utilities" ], "description": "hostinfo\n=========\n\n\n.. image:: https://raw.githubusercontent.com/walchko/hostinfo/master/pics/example.png\n\t:align: center\n\n\n\n.. image:: https://travis-ci.org/walchko/hostinfo.svg?branch=master\n :target: https://travis-ci.org/walchko/hostinfo\n\t:alt: Travis-ci\n.. image:: https://img.shields.io/pypi/v/hostinfo.svg\n :target: https://pypi.python.org/pypi/hostinfo/\n :alt: Latest Version\n.. image:: https://img.shields.io/pypi/l/hostinfo.svg\n :target: https://pypi.python.org/pypi/hostinfo/\n :alt: License\n.. image:: https://api.codacy.com/project/badge/Grade/0e28e971366e4abfaf79c668d19d8356\n :alt: Codacy Badge\n :target: https://www.codacy.com/app/kevin-walchko/hostinfo?utm_source=github.com&utm_medium=referral&utm_content=walchko/hostinfo&utm_campaign=badger\n\n\n**Why?** I have several headless Raspberry Pi's doing things and I wanted a simple cross\nplatform way to see what they are up too.\n\nInstall\n--------\n\nThe preferred way is to use ``pip`` with `pypi.org `_ ::\n\n\tpip install hostinfo\n\nFor development you can also do::\n\n\tgit clone https://github.com/walchko/hostinfo.git\n\tcd hostinfo\n\tpip install -e .\n\nUsage\n------\n\nNow in order to determine your ip and mac address, you need to supply an\ninterface. You can also supply a port to serve up the webpage. To speed up\nthings, generating a QR code is **off** by default.\n\n::\n\n\tkevin@Logan hostinfo $ infoserver.py --help\n\tusage: infoserver.py [-h] [-v] [-e ETHERNET] [-p PORT] [-q]\n\n\tLaunches a server that reports host information via a static web page. Example:\n\n\t\tinfoserver.py -p 8800 -e en0 -q\n\n\toptional arguments:\n\t -h, --help show this help message and exit\n\t -v, --version show program's version number and exit\n\t -e ETHERNET, --ethernet ETHERNET ethernet interface, default is eth0\n\t -p PORT, --port PORT port, default is 5000\n\nQR Reader\n-------------\n\nA sample view of a qr reader on my iPhone.\n\n.. image:: https://github.com/walchko/hostinfo/blob/master/pics/qr_reader.png?raw=true\n\t:align: center\n\t:width: 300px\n\nRaspbian [Debian Jessie] Service\n-----------------------------------\n\nNow you can create a service that will always start up when the computer boots::\n\n\tpi@bender hostinfo $ more /etc/systemd/system/hostinfo.service\n\t[Service]\n\tExecStart=/usr/local/bin/infoserver.py -p 8080 -e eth0 -q\n\tRestart=always\n\tStandardOutput=syslog\n\tStandardError=syslog\n\tSyslogIdentifier=hostinfo\n\tUser=pi\n\tGroup=pi\n\tEnvironment=NODE_ENV=production\n\n\t[Install]\n\tWantedBy=multi-user.target\n\nChange the port, ethernet interface, and desire to generate a QR code to your\nliking. Once you create this file, you need to do::\n\n\tpi@bender hostinfo $ sudo systemctl enable hostinfo\n\tCreated symlink from /etc/systemd/system/multi-user.target.wants/hostinfo.service to /etc/systemd/system/hostinfo.service.\n\n\tpi@bender hostinfo $ sudo service hostinfo start\n\n\tpi@bender hostinfo $ sudo service hostinfo status\n\t\u25cf hostinfo.service\n\t Loaded: loaded (/etc/systemd/system/hostinfo.service; enabled)\n\t Active: active (running) since Sun 2017-01-22 13:14:26 MST; 7s ago\n\t Main PID: 28533 (infoserver.py)\n\t CGroup: /system.slice/hostinfo.service\n\t \u2514\u250028533 /usr/bin/python /usr/local/bin/infoserver.py -p 8080 -e et...\n\n\tJan 22 13:14:26 bender systemd[1]: Started hostinfo.service.\n\nNow that the server is up and running, just launch a browser and connect\nto ``computer:port``. For example, ``bender.local:8080`` because that is\nwhat I set it too above.\n\nChanges\n--------\n\n============= ======== ======\nDate Version Notes\n============= ======== ======\n2017-04-15 0.5.0 using flask and support python 3.6\n2017-01-22 0.2.1 bug fixes, working on macOS and Raspbian.\n2017-01-21 0.1.0 init\n============= ======== ======\n\nLicense\n----------\n\n**The MIT License (MIT)**\n\nCopyright (c) 2017 Kevin J. Walchko\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/walchko/hostinfo", "keywords": "system info", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "hostinfo", "package_url": "https://pypi.org/project/hostinfo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/hostinfo/", "project_urls": { "Homepage": "https://github.com/walchko/hostinfo" }, "release_url": "https://pypi.org/project/hostinfo/0.5.1/", "requires_dist": [ "build-utils", "flask", "psutil", "py-cpuinfo", "simplejson" ], "requires_python": "", "summary": "A simple python http server to display basic system information.", "version": "0.5.1" }, "last_serial": 2806582, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "259f6ea9ccb6f2fa9c4d719652dae7e9", "sha256": "627913f7c71cc0c3ce0ce780081a756ed5b5de56f770a03e475e94f9d72c5b1f" }, "downloads": -1, "filename": "hostinfo-0.0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "259f6ea9ccb6f2fa9c4d719652dae7e9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9244, "upload_time": "2017-01-22T07:53:39", "url": "https://files.pythonhosted.org/packages/48/66/bc45d0b59f415249f283cb2a6abc86123b27660f72185d0a14a20451e8d3/hostinfo-0.0.1-py2-none-any.whl" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "1aa71d6835403f9b97c86156623ee5b2", "sha256": "b516a6284ede58c20e6aae3d4c8445e4713240b6873a044e21eee5c81ed3a289" }, "downloads": -1, "filename": "hostinfo-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "1aa71d6835403f9b97c86156623ee5b2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9562, "upload_time": "2017-01-22T08:26:09", "url": "https://files.pythonhosted.org/packages/bc/b6/825dfe280546c318afa846e1a5ff07c7735f60dcee3040e65145b0aa0f24/hostinfo-0.1.0-py2-none-any.whl" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "66504fdef18f842142d0787839a0b218", "sha256": "64861384f5b1840e35fe0a85acd2f12bc58deac03acdf94a3a2395970c734baa" }, "downloads": -1, "filename": "hostinfo-0.2.0-py2-none-any.whl", "has_sig": false, "md5_digest": "66504fdef18f842142d0787839a0b218", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 9872, "upload_time": "2017-01-22T16:49:20", "url": "https://files.pythonhosted.org/packages/d6/1d/ba50312fb5ed79c5e730f74545873aaa6be4737640729ff24efa1402f895/hostinfo-0.2.0-py2-none-any.whl" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "297edd00cdbddfc3fba31bfba71e85c9", "sha256": "d4fe8af328f2da35b7698361e72e8204d10eacd8ba8e7d047f3354bbbf455a24" }, "downloads": -1, "filename": "hostinfo-0.2.1-py2-none-any.whl", "has_sig": false, "md5_digest": "297edd00cdbddfc3fba31bfba71e85c9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 102113, "upload_time": "2017-01-23T05:38:18", "url": "https://files.pythonhosted.org/packages/53/bc/d8454482e7c2093bc339a0b37e3da87ac9dfb4a903dcfdda0be040cc5c87/hostinfo-0.2.1-py2-none-any.whl" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "b3911630924d772439f9f37c4497938c", "sha256": "3d0afe91ee5dd2e54b1c516d02d9f946ec6c5e01163f61a5da38531cf8947699" }, "downloads": -1, "filename": "hostinfo-0.5.0-py2-none-any.whl", "has_sig": false, "md5_digest": "b3911630924d772439f9f37c4497938c", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 83757, "upload_time": "2017-04-16T05:51:34", "url": "https://files.pythonhosted.org/packages/e2/8c/1b7fa6e0cf6581fabb9e9471e093b14fbeed8d121c5fc21648c5dea9bd7f/hostinfo-0.5.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8999d9393fb7cda178db724bb682b1b", "sha256": "ef560c7b2ff2f1a06fbbd70955143b7b5a54936967c3694c16e9c89cd108038b" }, "downloads": -1, "filename": "hostinfo-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b8999d9393fb7cda178db724bb682b1b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 83759, "upload_time": "2017-04-16T05:51:36", "url": "https://files.pythonhosted.org/packages/b8/0e/f0d2a5e6028de8bc218acffd61efb790e794c9bb354e2f99fe6062d7be34/hostinfo-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c1aed4f9947efda9dd91a5fa7b004a7", "sha256": "e318015fde7de3fad975d6d1c74d2c4b14aa8145a7048f463287c8a579f032c9" }, "downloads": -1, "filename": "hostinfo-0.5.0.tar.gz", "has_sig": false, "md5_digest": "6c1aed4f9947efda9dd91a5fa7b004a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 81155, "upload_time": "2017-04-16T05:51:38", "url": "https://files.pythonhosted.org/packages/29/07/e50d05f80bf1a98b8dc5b3301e50ffb934fa0f6428f0476917118de12f9d/hostinfo-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "141450b777d5b85979fb2d377acdf352", "sha256": "50a0525b331ccdb25353cf8659ffed8359c58097a7db33cc796257ab90ddb811" }, "downloads": -1, "filename": "hostinfo-0.5.1-py2-none-any.whl", "has_sig": false, "md5_digest": "141450b777d5b85979fb2d377acdf352", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 83797, "upload_time": "2017-04-16T06:06:26", "url": "https://files.pythonhosted.org/packages/73/52/af5726943c054e3032d60752a1e69bdcc2fbff28c5941b2ef636133f9263/hostinfo-0.5.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8961b0a4f7f9ef8d22f84e05f1a1bac9", "sha256": "bb4e507a2fafe13c2ef48f54f5629abfb8fd02c7d4ca63cbd1b289cceee5e928" }, "downloads": -1, "filename": "hostinfo-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8961b0a4f7f9ef8d22f84e05f1a1bac9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 83795, "upload_time": "2017-04-16T06:06:29", "url": "https://files.pythonhosted.org/packages/fe/96/e0e2c566d179f4c6a79283739d2b6f255cb78236e3470d3360e35cbf6723/hostinfo-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ae042c4efae4f3c1deb7f0aae7ff607", "sha256": "cfad024b88b3809a8bb6cbebca8ed45ddbc495e2488a68a80c465334c2874cce" }, "downloads": -1, "filename": "hostinfo-0.5.1.tar.gz", "has_sig": false, "md5_digest": "6ae042c4efae4f3c1deb7f0aae7ff607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 81183, "upload_time": "2017-04-16T06:06:31", "url": "https://files.pythonhosted.org/packages/dc/c6/8a229ffd3470cef584f86c1cb1567d6bb12ee901852b1a7554fbedd31258/hostinfo-0.5.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "141450b777d5b85979fb2d377acdf352", "sha256": "50a0525b331ccdb25353cf8659ffed8359c58097a7db33cc796257ab90ddb811" }, "downloads": -1, "filename": "hostinfo-0.5.1-py2-none-any.whl", "has_sig": false, "md5_digest": "141450b777d5b85979fb2d377acdf352", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 83797, "upload_time": "2017-04-16T06:06:26", "url": "https://files.pythonhosted.org/packages/73/52/af5726943c054e3032d60752a1e69bdcc2fbff28c5941b2ef636133f9263/hostinfo-0.5.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8961b0a4f7f9ef8d22f84e05f1a1bac9", "sha256": "bb4e507a2fafe13c2ef48f54f5629abfb8fd02c7d4ca63cbd1b289cceee5e928" }, "downloads": -1, "filename": "hostinfo-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "8961b0a4f7f9ef8d22f84e05f1a1bac9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 83795, "upload_time": "2017-04-16T06:06:29", "url": "https://files.pythonhosted.org/packages/fe/96/e0e2c566d179f4c6a79283739d2b6f255cb78236e3470d3360e35cbf6723/hostinfo-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6ae042c4efae4f3c1deb7f0aae7ff607", "sha256": "cfad024b88b3809a8bb6cbebca8ed45ddbc495e2488a68a80c465334c2874cce" }, "downloads": -1, "filename": "hostinfo-0.5.1.tar.gz", "has_sig": false, "md5_digest": "6ae042c4efae4f3c1deb7f0aae7ff607", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 81183, "upload_time": "2017-04-16T06:06:31", "url": "https://files.pythonhosted.org/packages/dc/c6/8a229ffd3470cef584f86c1cb1567d6bb12ee901852b1a7554fbedd31258/hostinfo-0.5.1.tar.gz" } ] }