{
"info": {
"author": "Swaathi Kakarla",
"author_email": "swaathi@skcript.com",
"bugtrack_url": null,
"classifiers": [],
"description": "Redmon\r\n======\r\n\r\nMonitor a Redis key\r\n\r\nInstallation\r\n------------\r\n\r\nRedmon requires a working Redis connection.\r\n\r\nTo install Redmon from pip,\r\n\r\n::\r\n\r\n pip install redmon\r\n\r\nOr from source,\r\n\r\n::\r\n\r\n python setup.py install\r\n\r\nSetup\r\n-----\r\n\r\nRedmon connects to your Redis connection with the following environment\r\nvariables. If none are set, default values are used. -\r\nREDMON\\_REDIS\\_HOST (default, ``localhost``) : Set it to where your\r\nRedis is running from. - REDMON\\_REDIS\\_PORT (default, ``6379``) : Set\r\nit to where your Redis is running on. - REDMON\\_TIME\\_INT (default,\r\n``1.0``) : Set refresh interval for your Redis key\r\n\r\nGet Started\r\n-----------\r\n\r\nTo watch a Redis key, just simply\r\n\r\n::\r\n\r\n redmon monitor --key=sample\r\n\r\nRedmon now watches a key called ``sample`` every second.\r\n\r\nSetting Refresh Intervals\r\n~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nChanging the refresh interval for your monitor is very simple. You can\r\neither set it with an environment variable or by passing it as an\r\nargument.\r\n\r\n::\r\n\r\n REDMON_TIME_INT=2 redmon monitor --key=sample\r\n\r\n::\r\n\r\n redmon monitor --key=sample --interval=2\r\n\r\nRedmon now watches a key called ``sample`` every two seconds.\r\n\r\n**Intervals passed as arguments take precedence.**\r\n\r\n::\r\n\r\n REDMON_TIME_INT=2 redmon monitor --key=sample --interval=3\r\n\r\nRedmon now watches a key called ``sample`` every three seconds.\r\n\r\nRunning Tests\r\n-------------\r\n\r\nRedmon uses ``pytest`` to write/run test cases. To run the test cases,\r\n\r\n::\r\n\r\n cd tests\r\n py.test\r\n\r\nContributing\r\n------------\r\n\r\n1. `Fork `__ this repo\r\n2. [Clone] (https://help.github.com/articles/cloning-a-repository/) your\r\n newly forked repo\r\n3. Write relevant test cases\r\n4. Raise pull requests to\r\n `swaathi/redmon `__\r\n\r\nComing Up\r\n---------\r\n\r\n- Monitor multiple keys\r\n- Set the values your Redis key should be compared against\r\n- Set the values your Redis key should never be",
"description_content_type": null,
"docs_url": null,
"download_url": "https://github.com/swaathi/redmon/tarball/0.1.2",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/swaathi/redmon",
"keywords": "",
"license": "Copyright (c) 2016, Swaathi Kakarla\r\n\r\nAll rights reserved.\r\n\r\nRedistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:\r\n\r\nRedistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.\r\nRedistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.\r\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
"maintainer": "",
"maintainer_email": "",
"name": "redmon",
"package_url": "https://pypi.org/project/redmon/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/redmon/",
"project_urls": {
"Download": "https://github.com/swaathi/redmon/tarball/0.1.2",
"Homepage": "https://github.com/swaathi/redmon"
},
"release_url": "https://pypi.org/project/redmon/0.1.2/",
"requires_dist": null,
"requires_python": null,
"summary": "Monitor a Redis key",
"version": "0.1.2"
},
"last_serial": 2158328,
"releases": {
"0.1.2": [
{
"comment_text": "",
"digests": {
"md5": "e8709f6fc400659eb98fcc9442b96945",
"sha256": "d742cf265c320ecd1f0cc086c9d14cb32d4a13fdde03521cfa22b70e7e9a507a"
},
"downloads": -1,
"filename": "redmon-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "e8709f6fc400659eb98fcc9442b96945",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4403,
"upload_time": "2016-06-09T08:59:27",
"url": "https://files.pythonhosted.org/packages/6c/65/7c342bca187b4bec3c3c71c08b63879cf342b90e161f93179b4959f4bb22/redmon-0.1.2.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "e8709f6fc400659eb98fcc9442b96945",
"sha256": "d742cf265c320ecd1f0cc086c9d14cb32d4a13fdde03521cfa22b70e7e9a507a"
},
"downloads": -1,
"filename": "redmon-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "e8709f6fc400659eb98fcc9442b96945",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 4403,
"upload_time": "2016-06-09T08:59:27",
"url": "https://files.pythonhosted.org/packages/6c/65/7c342bca187b4bec3c3c71c08b63879cf342b90e161f93179b4959f4bb22/redmon-0.1.2.tar.gz"
}
]
}