{ "info": { "author": "Ben DeMott", "author_email": "ben.demott@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=======================\nsolr-zkutil CLI Utility \n=======================\n\nAbout\n-----\n``solr-zkutil`` is an easy to use tool written in ``Python`` that allows you to quickly understand\ninformation about your **Solr** ZooKeeper cluster.\n\nIf you live in an ethereal environment in which solr-hosts are frequently changing, or you have\nmany different solr environments to keep track of, this tool is for you!\n\nThe program is designed to work with **Windows** or **Linux** hosts, and is easy to install.\n\nRuns on **python3** or **python2**!\n\nFeatures\n--------\n|livenodesgif|\n\nSupports environment aliases for ZooKeeper Connections\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ \n|environmentconf|\n\nAdd your ZooKeeper connection string to the program and an environment alias\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n solr-zkutil config --add 'DEV=zk01.host.com:2181,zk02.host.com:2181,zk03.host.com:2181'\n \n| `Or replace the configuration entirely using valid json`\n\n::\n \n solr-zkutil config --configuration '{\\\"DEV\\\":\\\"zk01.dev.host.com:2181,zk02.dev.host.com:2181,zk03.dev.host.com:2181\\\", \\\"QA\\\": \\\"zk01.qa.host.com:2181,zk02.qa.host.com:2181,zk03.qa.host.com:2181\\\"}'\n\n\n|environmentadd|\n\nQuery ZooKeeper for Solr Hosts, and Open the administration web-interface automatically\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n| ``solr-zkutil live-nodes --env DEV --browser``\n\n| `or`\n\n| ``solr-zkutil live-nodes -z zk01.dev.host.com:2181 --browser``\n\n|livenodes|\n\nWatch any ZooKeeper file/node for changes, during deployments, etc\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n| ``solr-zkutil watch /live_nodes --env DEV``\n\n| `or`\n\n| ``solr-zkutil watch /clusterstate.json --env PROD`` \n\n|watchnode|\n\nIssue Administrative Commands Easily\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n| ``solr-zkutil admin RUOK --env DEV``\n\n|admincmd|\n\n| ``solr-zkutil ls /live_nodes -z zk01.dev.host.com:2181,zk02.dev.host.com:2181,zk03.dev.host.com:2181``\n\n| `or.. note that ls can also be used to view the contents of node`\n\n| ``solr-zkutil ls /clusterstate.json --env PROD --all-hosts``\n\nView the contents/children of a node across all ensemble (cluster) members quickly\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n|lsnodesall|\n\nView all nodes, with stats info\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n|lsnodesdebug|\n\nExecute admin commands across all nodes\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n|adminall|\n\nInstallation\n------------\n\nWindows\n^^^^^^^\nOn windows install ``Python 2.7`` or ``Python 3.3+``, and ensure Python ``exe`` and ``Scripts`` paths are configured \nto be on your Windows Path environment, and the program should be accessible through ``PowerShell``\nor ``cmd.exe``. \n\nSetting up Python Paths is an option during the installation of the Python Package on Windows, I highly suggest you check the box, or mark the feature **add Python to system path** so this step is accomplished for you.\n\n`Note: I will try to add a bundled exe installer soon for Windows`\n\n**Python Include Paths**\n\n- ``C:\\Python27``\n- ``C:\\Python27\\Scripts``\n\nThe ``pip`` command is bundled with the Python Windows installation.\n\nOnce you have this configured you should be able to also execute ``pip`` without specifying its path.\n\nLinux\n^^^^^\nA recent version of Python ships with most linux distributions, if you don't have pip\ninstall it with (ubuntu/debian)::\n\n sudo apt-get install python-pip\n \n(Fedora)::\n\n sudo dnf install python-pip\n \nThere are no additional special instructions on Linux.\n\nInstalling from PyPi (recommended)\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n pip install solr-zkutil\n \nOr to update your solr-zkutil to the latest version::\n\n pip install solr-zkutil --upgrade\n\nInstall Manually\n^^^^^^^^^^^^^^^^\nSimply download, clone the repository, open a console and execute:\n``python setup.py install`` \n\nOn windows if you have not configured your Python environment you can install with::\n\n C:\\Python27\\python.exe setup.py install\n\nInstall from pip/github\n^^^^^^^^^^^^^^^^^^^^^^^\n::\n\n pip install git+https://github.com/bendemott/solr-zkutil.git\n\n\nProgram Commands\n----------------\nOnce installed the program is executable using the command::\n\n solr-zkutil\n\nFor help with the command type::\n\n solr-zkutil --help\n\nIf you are having trouble configuring paths the program can also be ran using:: \n\n python -m solrzkutil\n\nor for `Windows`:: \n\n C:\\Python27\\python.exe -m solrzkutil \n\nUsage\n^^^^^\n::\n\n usage: solr-zkutil [-h]\n {live-nodes,clusterstate,watch,ls,stat,admin,config} ...\n\n positional arguments:\n {live-nodes,clusterstate,watch,ls,stat,admin,config}\n --- available sub-commands ---\n live-nodes List Solr Live Nodes from ZooKeeper\n clusterstate List Solr Collections and Nodes\n watch Watch a ZooKeeper Node for Changes\n ls List a ZooKeeper Node\n stat Check ZooKeeper ensemble status\n admin Execute a ZooKeeper administrative command\n config Show connection strings, or set environment\n configuration\n\n optional arguments:\n -h, --help show this help message and exit\n \n \n.. |livenodesgif| image:: http://i.imgur.com/uTROF7Z.gif\n.. |environmentconf| image:: http://i.imgur.com/v1df7K9.png\n.. |environmentadd| image:: http://i.imgur.com/UL1peUD.png\n.. |livenodes| image:: http://i.imgur.com/QpQt1Xs.png\n.. |watchnode| image:: http://i.imgur.com/9S9x9wb.png\n.. |admincmd| image:: http://i.imgur.com/Wm1DpmL.png\n.. |lsnodesall| image:: http://i.imgur.com/Lk1yVtB.png\n.. |lsnodesdebug| image:: http://i.imgur.com/mcl54I5.png\n.. |adminall| image:: http://i.imgur.com/aDqCdzE.png", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bendemott/solr-zkutil", "keywords": "solr,zookeeper,cli", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "solr-zkutil", "package_url": "https://pypi.org/project/solr-zkutil/", "platform": "", "project_url": "https://pypi.org/project/solr-zkutil/", "project_urls": { "Homepage": "https://github.com/bendemott/solr-zkutil" }, "release_url": "https://pypi.org/project/solr-zkutil/1.1/", "requires_dist": null, "requires_python": "", "summary": "command-line utility for Solr Cloud to show pertinent information in ZooKeeper quickly.", "version": "1.1" }, "last_serial": 3220588, "releases": { "0.82": [ { "comment_text": "", "digests": { "md5": "d4da5472d609f184b5f83c826edc8a07", "sha256": "94440b2dd9c3c7c44b141889562bb5273a72586c1077bf861db9cad056f904d7" }, "downloads": -1, "filename": "solr-zkutil-0.82.tar.gz", "has_sig": false, "md5_digest": "d4da5472d609f184b5f83c826edc8a07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10545, "upload_time": "2017-02-08T07:13:59", "url": "https://files.pythonhosted.org/packages/f7/0e/2f2a457a13d0bbc7286b881af81b8f5fb3a81738c011146e29bf307341a9/solr-zkutil-0.82.tar.gz" } ], "0.83": [ { "comment_text": "", "digests": { "md5": "3a8aa4d3310fa4eb98c04a439ecfe4c1", "sha256": "0be84d49dbccabaece017a7b492a6765be0abcb77f73a84b84d572d64cd0fa16" }, "downloads": -1, "filename": "solr-zkutil-0.83.tar.gz", "has_sig": false, "md5_digest": "3a8aa4d3310fa4eb98c04a439ecfe4c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10110, "upload_time": "2017-02-08T21:14:30", "url": "https://files.pythonhosted.org/packages/12/fe/fe969918b7c35456e9f1bf61ebf67641625a75a5ce13ced5a178d2c730fd/solr-zkutil-0.83.tar.gz" } ], "0.84": [ { "comment_text": "", "digests": { "md5": "5edce44956daaff628f849cf69f01713", "sha256": "ab9f77faab9e83fc28309385e517da24e75fcc967ad895fc66f1666be3fd0ddb" }, "downloads": -1, "filename": "solr-zkutil-0.84.tar.gz", "has_sig": false, "md5_digest": "5edce44956daaff628f849cf69f01713", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10940, "upload_time": "2017-02-08T22:19:48", "url": "https://files.pythonhosted.org/packages/04/f7/f9bac28ce0d3c8af6dc1e4f79243619961e8c19abd7fad793664b7172d77/solr-zkutil-0.84.tar.gz" } ], "0.85": [ { "comment_text": "", "digests": { "md5": "14dc5f2255b207ac57b9aa80dd141a37", "sha256": "45102c99bc344b826025405cf1ce888322305fa4c105143b66afc723b013af29" }, "downloads": -1, "filename": "solr-zkutil-0.85.tar.gz", "has_sig": false, "md5_digest": "14dc5f2255b207ac57b9aa80dd141a37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10877, "upload_time": "2017-02-08T22:22:20", "url": "https://files.pythonhosted.org/packages/2e/3a/722efe501c3aca71b88641b545cd734047a9f6eaeee9681ab52d0f2817a8/solr-zkutil-0.85.tar.gz" } ], "0.88": [ { "comment_text": "", "digests": { "md5": "7a21b36fc2d6dcc2f42ce7ddd8bb00b5", "sha256": "d97f56137fd0f1ca625118f1ec6ff7b02497bcd45fa5c82a55d44565e14bb0cf" }, "downloads": -1, "filename": "solr-zkutil-0.88.tar.gz", "has_sig": false, "md5_digest": "7a21b36fc2d6dcc2f42ce7ddd8bb00b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13652, "upload_time": "2017-02-16T18:27:39", "url": "https://files.pythonhosted.org/packages/9b/97/2fc493483dace7555f7a7b754a4e4bc4c4a34e69188db2d5230b39eb1263/solr-zkutil-0.88.tar.gz" } ], "0.89": [ { "comment_text": "", "digests": { "md5": "2d560fd290e10f1f38bd0d221766a719", "sha256": "eb7f7b444f129523105392af1c5cd4e517d037d781b4a6e28450783b3d3f194b" }, "downloads": -1, "filename": "solr-zkutil-0.89.tar.gz", "has_sig": false, "md5_digest": "2d560fd290e10f1f38bd0d221766a719", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13623, "upload_time": "2017-02-16T23:51:41", "url": "https://files.pythonhosted.org/packages/e9/92/2f996e2e2ef84be6d7d9f3e8df937c828bbc9b42c4b3d24b94ac62b51784/solr-zkutil-0.89.tar.gz" } ], "0.90": [ { "comment_text": "", "digests": { "md5": "f26042e9d1ffe678309c6f7f7b06753b", "sha256": "645cf6fd9dbc3d20ff28571e255c8a720512157af87d21776707ed9356303b08" }, "downloads": -1, "filename": "solr-zkutil-0.90.tar.gz", "has_sig": false, "md5_digest": "f26042e9d1ffe678309c6f7f7b06753b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13589, "upload_time": "2017-02-17T00:37:51", "url": "https://files.pythonhosted.org/packages/12/53/e0c7af8866ba0a749b9e241f54ff0276664f1bf233118a3ab5ea7ce0c4e9/solr-zkutil-0.90.tar.gz" } ], "0.91": [ { "comment_text": "", "digests": { "md5": "59666919fdb6b331b80b082afc17b22d", "sha256": "43bbe0a30152511d13397c3609ee3c030cf01c76cd308b67d1ff98c84f75bffa" }, "downloads": -1, "filename": "solr-zkutil-0.91.tar.gz", "has_sig": false, "md5_digest": "59666919fdb6b331b80b082afc17b22d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14179, "upload_time": "2017-02-17T21:11:15", "url": "https://files.pythonhosted.org/packages/51/f0/26896546f6b7d46a0ea2867f47bcf5bf48084ab0aef257f2c2b3deb35543/solr-zkutil-0.91.tar.gz" } ], "0.92": [ { "comment_text": "", "digests": { "md5": "161ec56e691c76eb02599673ce18c1df", "sha256": "58a2d64ba5f5f89c9a08f191c0a26ce015113ad4fa1cc1ee24dc9406063429ae" }, "downloads": -1, "filename": "solr-zkutil-0.92.tar.gz", "has_sig": false, "md5_digest": "161ec56e691c76eb02599673ce18c1df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14194, "upload_time": "2017-02-17T21:22:40", "url": "https://files.pythonhosted.org/packages/e3/a6/76441f8ff9ed9b76722b2b6c2164ec0e6641b27742e045ddf5cb9f30d5a3/solr-zkutil-0.92.tar.gz" } ], "0.93": [ { "comment_text": "", "digests": { "md5": "aafad908a98fb8416ffd813e061f6c29", "sha256": "d6768d1a5ea35c532b6184a9dd537128b74bbdcc9068a27f878b6398b45405dc" }, "downloads": -1, "filename": "solr-zkutil-0.93.tar.gz", "has_sig": false, "md5_digest": "aafad908a98fb8416ffd813e061f6c29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14214, "upload_time": "2017-02-17T21:36:50", "url": "https://files.pythonhosted.org/packages/d5/99/b6f740a2686279e5d1be1789b8eca43865376a8ff1645892aa996993e4e3/solr-zkutil-0.93.tar.gz" } ], "0.94": [ { "comment_text": "", "digests": { "md5": "19885f165eda02c96e53c7ac10f83b2e", "sha256": "28056e787fc3d89386f30eeb91ec8fbc1870c3fa3f6903d590f0778f613e195b" }, "downloads": -1, "filename": "solr-zkutil-0.94.tar.gz", "has_sig": false, "md5_digest": "19885f165eda02c96e53c7ac10f83b2e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14213, "upload_time": "2017-02-17T21:57:54", "url": "https://files.pythonhosted.org/packages/ff/03/dbd87f37236d3c41c656aff395ed49cd8823c2d46998b47d4faddefaab3e/solr-zkutil-0.94.tar.gz" } ], "0.95": [ { "comment_text": "", "digests": { "md5": "3d771c08f3c6432539eca501d12693cc", "sha256": "0aaba1c1b68b849b7f0c23e276eca4cd97db12e7cb77c06c56d87aa83812415f" }, "downloads": -1, "filename": "solr-zkutil-0.95.tar.gz", "has_sig": false, "md5_digest": "3d771c08f3c6432539eca501d12693cc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15406, "upload_time": "2017-03-07T21:24:50", "url": "https://files.pythonhosted.org/packages/cb/85/b7d1374ab885a729aa21619424d293b11a3e39df74b125be9a0d36e744bb/solr-zkutil-0.95.tar.gz" } ], "0.96": [ { "comment_text": "", "digests": { "md5": "6950fbbc518054fdc5c7c737a642181b", "sha256": "ac14f200334fd1fea6cc8615bc2c71304e09491e5f4ed5ef5b6b4fb65a5f78cf" }, "downloads": -1, "filename": "solr-zkutil-0.96.tar.gz", "has_sig": false, "md5_digest": "6950fbbc518054fdc5c7c737a642181b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20009, "upload_time": "2017-06-07T03:25:41", "url": "https://files.pythonhosted.org/packages/38/dd/375398f4f08f9dfc8e832ec28a0050a8cdde6b68b1d56885ae9b5e5526fb/solr-zkutil-0.96.tar.gz" } ], "0.98": [ { "comment_text": "", "digests": { "md5": "a74f91936c166babb9d10270d3a76cef", "sha256": "69d716c849b1ec5db855d1a150b8f73805b694a9ef6eddf9e6272042d289e35e" }, "downloads": -1, "filename": "solr-zkutil-0.98.tar.gz", "has_sig": false, "md5_digest": "a74f91936c166babb9d10270d3a76cef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30472, "upload_time": "2017-09-12T18:52:50", "url": "https://files.pythonhosted.org/packages/22/db/8309a70b2ee143509d8316b2fe4e8ff4db4f557fafb1ccfbc5bb3856fe41/solr-zkutil-0.98.tar.gz" } ], "0.99": [ { "comment_text": "", "digests": { "md5": "22d5aaca7dc2f71645e0b8cc6491704d", "sha256": "814cc84d76271581601d5acb33e623e48c172e19b817302fad83b54505873228" }, "downloads": -1, "filename": "solr-zkutil-0.99.tar.gz", "has_sig": false, "md5_digest": "22d5aaca7dc2f71645e0b8cc6491704d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 30644, "upload_time": "2017-09-21T19:16:17", "url": "https://files.pythonhosted.org/packages/0f/14/86cf28f9e3a7a2f786c5235063c56eb4e0ec689da531ee1a98d09a38aa26/solr-zkutil-0.99.tar.gz" } ], "1.0": [ { "comment_text": "", "digests": { "md5": "42195218db67bff9e893868e7297fb33", "sha256": "fab121efebd0b781857988c420001ba57e2e97137b32c9bef722150d7e553281" }, "downloads": -1, "filename": "solr-zkutil-1.0.tar.gz", "has_sig": false, "md5_digest": "42195218db67bff9e893868e7297fb33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37805, "upload_time": "2017-10-02T21:52:00", "url": "https://files.pythonhosted.org/packages/5d/1e/41477bb08393d1a7e95780bf5f300ec2fa3b8ec561b2497aa6eaee6b775f/solr-zkutil-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "cc70cc3ecb33f67e4e89e12742d5685d", "sha256": "3966d9db007e95792f7bec99c61e696517dc5f8451a4283a519e443bb1a35d2c" }, "downloads": -1, "filename": "solr-zkutil-1.1.tar.gz", "has_sig": false, "md5_digest": "cc70cc3ecb33f67e4e89e12742d5685d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37862, "upload_time": "2017-10-02T22:21:01", "url": "https://files.pythonhosted.org/packages/94/2a/52cab77399deb53f4d8ffdd076895e46aaa4b2d97b564a974c4960ffaeac/solr-zkutil-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cc70cc3ecb33f67e4e89e12742d5685d", "sha256": "3966d9db007e95792f7bec99c61e696517dc5f8451a4283a519e443bb1a35d2c" }, "downloads": -1, "filename": "solr-zkutil-1.1.tar.gz", "has_sig": false, "md5_digest": "cc70cc3ecb33f67e4e89e12742d5685d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 37862, "upload_time": "2017-10-02T22:21:01", "url": "https://files.pythonhosted.org/packages/94/2a/52cab77399deb53f4d8ffdd076895e46aaa4b2d97b564a974c4960ffaeac/solr-zkutil-1.1.tar.gz" } ] }