{ "info": { "author": "Viharm", "author_email": "viharm@malviya.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: Other/Proprietary License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: System :: Hardware", "Topic :: System :: Monitoring", "Topic :: Terminals", "Topic :: Utilities" ], "description": "# HDDtempNC\n\n| | |\n|:----------|:----------------------------------------------------|\n| Version | 1.3.0 |\n| Changes | https://github.com/viharm/HDDtempNC/pull/4/commits |\n| Download | https://github.com/viharm/HDDtempNC/releases |\n| Issues | https://github.com/viharm/HDDtempNC/issues |\n| License | Modified BSD (3-clause) |\n| Language | [Python](https://www.python.org) |\n\n\n*HDDtempNC* is a tool to acquire hard disk drive temperature from *hddtemp*'s network interface.\n\nIt is *Python* script and requires a working *Python* environment. It depends a configured and working *hddtemp* daemon on the system whose HDD temperatures are required.\n\n\n## Install\n\n\n### Pre-requisites\n\n* Python 2.x or 3.x\n* Working instance of *HDDtemp* running in daemon mode and listening on a TCP port (*HDDtemp* need not be running on the same host as the one running *HDDtempNC*, however must be reachable via TCP port)\n\n\n## Download\n\n\n### Package\n\nGet the package from the download linked above.\n\n\n### Git clone\n\nClone repository.\n\n```\ngit clone --recurse-submodules \\\nhttps://github.com/viharm/phpAria2rpc.git\n```\n\nRemember to clone recursively (`--recurse-submodules`) to ensure cloning the submodules.\n\n\n### PyPI\n\nFrom version v1.3.0 onwards, *HDDtempNC* is available on *[PyPI](https://pypi.org/)* and can be installed with *pip* (or *pip3*)\n\n\n### Deploy\n\nSave the downloaded directory structure in your choice of path within your application (plugins, includes, etc.)\n\n\n## Usage ##\n\n*HDDtempNC* can be used either from the command line or by calling it in another script/program\n\n\n### Command syntax ###\n\nThe command syntax using long semantic arguments is as follows\n\n```\nhddtempnc.py --disk=/dev/ [ --target= ] [ --port= ] [ --debug ] [ --help ]\n```\n\nThe command syntax using short *POSIX*-style arguments is as follows\n\n```\nhddtempnc.py -d /dev/ [ -t ] [ -p ] [ -g ] [ -h ]\n```\n\nFollowing parameters are available:\n\n| Argument | Alternative argument | Description | Optional | Default |\n| --------------------- | --------------------------------- | -------------------------------------------------------------- |:--------:|:-----------:|\n| `-g` | `--debug` |Debug to console/stdout | Yes | None |\n| `-t 192.168.0.30` | `--target=server.local` |Specify target host (IP address or resolvable host name) | Yes | `localhost` |\n| `-p 3378` | `--port=3698` |Specify target host's port | Yes | `7634` |\n| `-d /dev/sda` | `--disk=/dev/sda` |Specify disk to interrogate (full device path) | No | None |\n| `-h` | `--help` |Show help | Yes | None |\n\n\n\n#### Options\n\nThe above command options are explained below. The sequence of parameters is not important.\n\n\n##### Disk\n\n`-d (--disk=)`\n\nSpecify disk to interrogate by providing full path to the block device\n\nExample: `/dev/sda`\n\nOptional: No\n\nDefault value: None\n\n\n##### Host\n\n`-t (--target=)`\n\nSpecify target host to interrogate. *HDDtemp* must be running on this host (in daemon mode) and listening on a TCP port.\n\nExamples: `192.168.0.30`, `server.local`, `server.domain.tld`\n\nOptional: Yes\n\nDefault value: `localhost`\n\n\n##### Port\n\n`-p (--port=)`\n\nSpecify target port to interrogate. *HDDtemp* must be listening on this port.\n\nOptional: Yes\n\nDefault value: `7634`\n\n\n##### Debug\n\n`-g (--debug)`\n\nEnable debugging to console/stdout\n\nOptional: Yes\n\nDefault value: None\n\n\n##### Runtime help\n\n`-h (--help)`\n\nShow help and exit.\n\nOptional: Yes\n\nDefault value: None\n\n\n### Examples ###\n\nCommand examples\n\n\n#### Long parameters ####\n\n```\n/usr/bin/python3 hddtempnc.py --disk=/dev/sda`\n/usr/bin/python3 hddtempnc.py --target=192.168.0.20 --disk=/dev/sdb\n/usr/bin/python hddtempnc.py --port=7630 --disk=/dev/sdc\n/usr/bin/python hddtempnc.py --disk=/dev/sda --port=9000 --target=10.65.0.65\n```\n\n\n#### Short parameters\n\n```\n/usr/bin/python3 hddtempnc.py -d /dev/sda\n/usr/bin/python3 hddtempnc.py -t 192.168.0.20 -d /dev/sdb\n/usr/bin/python hddtempnc.py -p 7630 -d /dev/sdc\n/usr/bin/python hddtempnc.py -d /dev/sda -p 9000 -t 10.65.0.65\n```\n\n\n## Support\n\nFeature requests, bugs, issues and other comments can be created at the issues link provided at the top of this page.\n\n\n# Contribute\n\nPlease feel free to clone/fork and contribute via pull requests. Donations also welcome, simply create an issue by using the link provided at the top of this page.\n\nPlease make contact for more information.\n\n\n# Environments\n\nDeveloped on..\n\n* *Debian Wheezy*\n* *Debian Jessie*\n* *Debian Stretch*\n\nKnown to be working on \n\n* *Debian Wheezy*\n* *Debian Jessie*\n* *Debian Stretch*\n* *FreeBSD* 11.2-RELEASE\n* *Windows* 10\n* *Python* 3.7\n\n\n## Links ##\n\n* *hddtemp* home\n http://www.guzu.net/linux/hddtemp.php\n* *hddtemp* on *[Savannah](http://savannah.gnu.org/)*\n https://savannah.nongnu.org/projects/hddtemp/\n* *hddtemp* guide on *Arch* wiki\n https://wiki.archlinux.org/index.php/Hddtemp\n\n\n## License\n\nLicensed under the modified BSD (3-clause) license.\n\nA copy of the license is available...\n\n* in the enclosed [`LICENSE`](LICENCE) file.\n* at http://opensource.org/licenses/BSD-3-Clause\n\n\n# Credits\n\n\n#### Codiad\n\n*Codiad* web based IDE (https://github.com/Codiad/Codiad), used under a MIT-style license.\n\nCopyright (c) Codiad & Kent Safranski (codiad.com)\n\n\n#### CodeGit\n\n*CodeGit* *Git* plugin for *Codiad* (https://github.com/Andr3as/Codiad-CodeGit), used under a MIT-style license.\n\nCopyright (c) Andr3as \n\n\n#### Ungit\n\n*Ungit* client for *Git* (https://github.com/FredrikNoren/ungit) used under the MIT license\n\nCopyright (C) Fredrik Nor\u00c3\u00a9n\n\n\n## GitHub\n\nHosted by *GitHub* code repository (github.com).\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/viharm/HDDtempNC", "keywords": "python hddtemp netcat terminal hdd", "license": "", "maintainer": "", "maintainer_email": "", "name": "hddtempnc", "package_url": "https://pypi.org/project/hddtempnc/", "platform": "", "project_url": "https://pypi.org/project/hddtempnc/", "project_urls": { "Bug Reports": "https://github.com/viharm/HDDtempNC/issues", "Homepage": "https://github.com/viharm/HDDtempNC", "Source": "https://github.com/viharm/HDDtempNC" }, "release_url": "https://pypi.org/project/hddtempnc/1.3.0/", "requires_dist": null, "requires_python": "", "summary": "Tool to acquire hard disk drive temperature from the network interface", "version": "1.3.0" }, "last_serial": 4314340, "releases": { "1.3.0": [ { "comment_text": "", "digests": { "md5": "4d69efaab2ead329d47e8b73a88b7ebf", "sha256": "59e33891be243326e9a9a52f393353d226fa4e4dbe5008e6572da03737f586c0" }, "downloads": -1, "filename": "hddtempnc-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4d69efaab2ead329d47e8b73a88b7ebf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6965, "upload_time": "2018-09-26T22:20:35", "url": "https://files.pythonhosted.org/packages/ef/4c/adaaf2486fc9431f13db40ee8ec446256a3fe16d3bd8f4ce382da728d353/hddtempnc-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "212d6bc114b524a7656c153358c19513", "sha256": "4f509bf7f51861be4515dbd577f481522ca7b4ee18ad1936326fc5ce54030037" }, "downloads": -1, "filename": "hddtempnc-1.3.0.tar.gz", "has_sig": false, "md5_digest": "212d6bc114b524a7656c153358c19513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7109, "upload_time": "2018-09-26T22:20:36", "url": "https://files.pythonhosted.org/packages/f9/1a/061cdbcc894a12a1362ed4fa59a9ce84f460c56f93b9161f0a46691553cd/hddtempnc-1.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4d69efaab2ead329d47e8b73a88b7ebf", "sha256": "59e33891be243326e9a9a52f393353d226fa4e4dbe5008e6572da03737f586c0" }, "downloads": -1, "filename": "hddtempnc-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "4d69efaab2ead329d47e8b73a88b7ebf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6965, "upload_time": "2018-09-26T22:20:35", "url": "https://files.pythonhosted.org/packages/ef/4c/adaaf2486fc9431f13db40ee8ec446256a3fe16d3bd8f4ce382da728d353/hddtempnc-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "212d6bc114b524a7656c153358c19513", "sha256": "4f509bf7f51861be4515dbd577f481522ca7b4ee18ad1936326fc5ce54030037" }, "downloads": -1, "filename": "hddtempnc-1.3.0.tar.gz", "has_sig": false, "md5_digest": "212d6bc114b524a7656c153358c19513", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7109, "upload_time": "2018-09-26T22:20:36", "url": "https://files.pythonhosted.org/packages/f9/1a/061cdbcc894a12a1362ed4fa59a9ce84f460c56f93b9161f0a46691553cd/hddtempnc-1.3.0.tar.gz" } ] }