{ "info": { "author": "Giovanni Lanzani", "author_email": "giovanni@lanzani.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Database" ], "description": "HMSClient\n=========\n\nThis project aims to be an up to date Python client to interact with the Hive metastore\nusing the Thrift protocol.\n\nInstallation\n------------\n\nInstall it with ``pip install hmsclient`` or directly from source\n\n.. code-block:: python\n\n python setup.py install\n\nUsage\n-----\n\nUsing it from Python is simple:\n\n.. code-block:: python\n\n from hmsclient import hmsclient\n client = hmsclient.HMSClient(host='localhost', port=9083)\n with client as c:\n c.check_for_named_partition('db', 'table', 'date=20180101')\n\n\nRegenerate the Python thrift library\n------------------------------------\n\nThe ``hmsclient.py`` is just a thin wrapper around the generated Python code to\ninteract with the metastore through the Thrift protocol.\n\nTo regenerate the code using a newer version of the ``.thrift`` files, you can\nuse ``generate.py`` (note: you need to have ``thrift`` installed, see here_)\n\n.. code-block:: sh\n\n python generate.py --help\n\n Usage: generate.py [OPTIONS]\n\n Options:\n --fb303_url TEXT The URL where the fb303.thrift file can be downloaded\n --metastore_url TEXT The URL where the hive_metastore.thrift file can be\n downloaded\n --package TEXT The package where the client should be placed\n --subpackage TEXT The subpackage where the client should be placed\n --help Show this message and exit.\n\nOtherwise the defaults will be used.\n\n.. _here: https://thrift-tutorial.readthedocs.io/en/latest/installation.html\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gglanzani/hmsclient", "keywords": "hive data database thrift metastore", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "hmsclient", "package_url": "https://pypi.org/project/hmsclient/", "platform": "", "project_url": "https://pypi.org/project/hmsclient/", "project_urls": { "Homepage": "https://github.com/gglanzani/hmsclient" }, "release_url": "https://pypi.org/project/hmsclient/0.1.1/", "requires_dist": [ "thrift", "click", "pytest; extra == 'dev'", "pytest; extra == 'test'" ], "requires_python": "", "summary": "A package interact with the Hive metastore via the Thrift protocol", "version": "0.1.1" }, "last_serial": 3804468, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c37946ada308f3837d6b04fc6ce9cb80", "sha256": "34d0a8ab676b2fff06d09bc23f757ceb448a076fead295a8f6a2ba86d71ce692" }, "downloads": -1, "filename": "hmsclient-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "c37946ada308f3837d6b04fc6ce9cb80", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 1857, "upload_time": "2018-04-12T09:18:32", "url": "https://files.pythonhosted.org/packages/c3/7b/24ab610d022c2e62b78f5d4515d8f7469f38905b007cf3f0ec755c9dca29/hmsclient-0.0.1-py3-none-any.whl" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "6c47a9dbc12f784403059151a96ee61b", "sha256": "9f9888252939b09a5fe6863bdf456a220672b44d7f93e8ad879bd0013a5f2e45" }, "downloads": -1, "filename": "hmsclient-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "6c47a9dbc12f784403059151a96ee61b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 90441, "upload_time": "2018-04-18T09:06:25", "url": "https://files.pythonhosted.org/packages/ae/90/fdd59ba8ef1041d04eb792922d0ccd144594c380af2628b07d59a6952d12/hmsclient-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ac8f81969a24590b8777e483ce9d2457", "sha256": "464996f10ac1425177900d1f7d53191c9ceddcebe1c7d2e1f62d969a31314d0b" }, "downloads": -1, "filename": "hmsclient-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ac8f81969a24590b8777e483ce9d2457", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84420, "upload_time": "2018-04-18T09:06:26", "url": "https://files.pythonhosted.org/packages/f5/d4/eb5a6c1cead5480fbf15dd6ca1d9f66e1de416cd6645a016a40d8f4d506d/hmsclient-0.0.2.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "7a1b916089b5ad3d7b094d7b1c263b7f", "sha256": "984fb96f29f70501ba849495a890c6db5778a3fa78e1e4c405654c0c667eda45" }, "downloads": -1, "filename": "hmsclient-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "7a1b916089b5ad3d7b094d7b1c263b7f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 90446, "upload_time": "2018-04-18T09:08:24", "url": "https://files.pythonhosted.org/packages/6c/a1/4c427b5bc9dd164c3c803539076e109ac4e9b3e1b84dbc4f48a5955cd7fd/hmsclient-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0933ea555975058f05ef93a3ff493767", "sha256": "ed25ae1d3898a5fc730322a747d015d54f7e4d5ec1a88908b4d0285e0e010add" }, "downloads": -1, "filename": "hmsclient-0.1.0.tar.gz", "has_sig": false, "md5_digest": "0933ea555975058f05ef93a3ff493767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84417, "upload_time": "2018-04-18T09:08:26", "url": "https://files.pythonhosted.org/packages/47/0a/f4993714779eae24fc68096bf18bc7b60221d25be40d831fc5fa1a99c7ff/hmsclient-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7853399c0556f56aa93c8f40bd159a23", "sha256": "6163c46ecbd7b97e10099039186155fe2712ade1630da7c90075e3ccac91d909" }, "downloads": -1, "filename": "hmsclient-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7853399c0556f56aa93c8f40bd159a23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 90443, "upload_time": "2018-04-24T20:24:49", "url": "https://files.pythonhosted.org/packages/35/a9/c8607f2e1e4f9312767723a3a938f09cb9bd98644359569af6eddce3e8ad/hmsclient-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ca22cd9d7211adfaa9459d0bdd2c939f", "sha256": "908bdf1e082865d2b8a87a25290f8bd16b3bf4e71c028762231a9cfa49814286" }, "downloads": -1, "filename": "hmsclient-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ca22cd9d7211adfaa9459d0bdd2c939f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84432, "upload_time": "2018-04-24T20:24:51", "url": "https://files.pythonhosted.org/packages/a4/b5/37ad13cc386f22ea68446aa636497082db38cff42801f9c3aefa02310eaa/hmsclient-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7853399c0556f56aa93c8f40bd159a23", "sha256": "6163c46ecbd7b97e10099039186155fe2712ade1630da7c90075e3ccac91d909" }, "downloads": -1, "filename": "hmsclient-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "7853399c0556f56aa93c8f40bd159a23", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 90443, "upload_time": "2018-04-24T20:24:49", "url": "https://files.pythonhosted.org/packages/35/a9/c8607f2e1e4f9312767723a3a938f09cb9bd98644359569af6eddce3e8ad/hmsclient-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ca22cd9d7211adfaa9459d0bdd2c939f", "sha256": "908bdf1e082865d2b8a87a25290f8bd16b3bf4e71c028762231a9cfa49814286" }, "downloads": -1, "filename": "hmsclient-0.1.1.tar.gz", "has_sig": false, "md5_digest": "ca22cd9d7211adfaa9459d0bdd2c939f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 84432, "upload_time": "2018-04-24T20:24:51", "url": "https://files.pythonhosted.org/packages/a4/b5/37ad13cc386f22ea68446aa636497082db38cff42801f9c3aefa02310eaa/hmsclient-0.1.1.tar.gz" } ] }