{ "info": { "author": "Athento", "author_email": "adm@athento.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Database :: Database Engines/Servers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# Mastertables\n\n[![Website](https://img.shields.io/website-up-down-green-red/http/shields.io.svg?label=website&style=for-the-badge)](https://mastertables.athento.com)\n[![PyPI](https://img.shields.io/pypi/v/mastertables.svg?style=for-the-badge)](https://pypi.org/project/mastertables)\n[![PyPI - Status](https://img.shields.io/pypi/status/mastertables.svg?style=for-the-badge)](https://pypi.org/project/mastertables)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mastertables.svg?style=for-the-badge)](https://pypi.org/project/mastertables)\n\nA Python package to interact with [Mastertables](https://mastertables.athento.com).\n\nThis package provides a very simple way of getting data from your mastertables through the public *Rest API*.\n\n## Installation\n\n### Install from PyPI (recommended)\n\nJust run the command below from the CLI:\n\n```shell\npip install mastertables\n```\n\nTo add the package to your local `requirements.txt` run:\n\n```shell\npip freeze > requirements.txt\n```\n\n### Install from repo\n\nYou can install Mastertables from the Github repo:\n\n```shell\npip install git+https://github.com/athento/mastertables\n```\n\n### Install from source\n\nAlternatively, you can even install it from the sources:\n\n```shell\ngit clone https://github.com/athento/mastertables\ncd mastertables\npip install .\n```\n\n## Updating\n\n### Update from PyPI\n\n```shell\npip install mastertables --upgrade\n```\n\n### Update from repo\n\n```shell\npip install git+https://github.com/athento/mastertables --upgrade\n```\n\n### Update from source\n\n```shell\ncd /path/to/mastertables/repo\ngit pull\npip install . --upgrade\n```\n\n## API reference\n\n```python\n# module\nfrom mastertables import mastertables\n\n\n# mastertables client instantiation\n# usage:\n# mastertables.MasterTablesClient(\"\")\n\nmt = mastertables.MasterTablesClient(\"OAIV9839AF893H923ONWAN3IGNAWNAUNEGIU\")\n\n\n# get vocabulary\n# usage:\n# mastertables.MasterTablesClient.get_vocabulary(\"\" [, category=\"\"])\n# output:\n# {u'foo': u'bar', u'asdf': u'qwer'}\n\nprint(mt.get_vocabulary(\"1234abcd-12ab-34cd-56ef-12345678abcd\"))\n\n\n# get vocabulary reverse (value:key, instead of key:value)\n# usage:\n# mastertables.MasterTablesClient.get_vocabulary_reverse(\"\" [, category=\"\"])\n# output:\n# {u'bar': u'foo', u'qwer': u'asdf'}\n\nprint(mt.get_vocabulary_reverse(\"1234abcd-12ab-34cd-56ef-12345678abcd\"))\n\n\n# get vocabulary values\n# usage:\n# mastertables.MasterTablesClient.get_values(\"\")\n# output:\n# [u'foo', u'asdf']\n\nprint(mt.get_values(\"1234abcd-12ab-34cd-56ef-12345678abcd\"))\n\n\n# get vocabulary entity value\n# usage:\n# mastertables.MasterTablesClient.get_value(\"\", \"\" [, index=])\n# output:\n# u'bar'\n\nprint(mt.get_value(\"1234abcd-12ab-34cd-56ef-12345678abcd\", \"foo\", 0))\n```\n\n## Packaging and distributing\n\n[Click on this link](https://github.com/athento/mastertables/blob/master/PACKAGING.md) to read the manual on how to package and upload mastertables to PyPI.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/athento/mastertables", "keywords": "api rest mastertables development data athento", "license": "", "maintainer": "", "maintainer_email": "", "name": "mastertables", "package_url": "https://pypi.org/project/mastertables/", "platform": "", "project_url": "https://pypi.org/project/mastertables/", "project_urls": { "Homepage": "https://github.com/athento/mastertables" }, "release_url": "https://pypi.org/project/mastertables/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "A Python package to interact with the mastertables.athento.com public API", "version": "1.1.0" }, "last_serial": 4046716, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "739185e5991434d190026d167b528809", "sha256": "80a089ee90310e33a263c133607fac11ddc11dfe0225467ca58a91edcd9f4da2" }, "downloads": -1, "filename": "mastertables-0.0.0.tar.gz", "has_sig": false, "md5_digest": "739185e5991434d190026d167b528809", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3780, "upload_time": "2018-05-02T08:37:21", "url": "https://files.pythonhosted.org/packages/ed/66/fbeeb449335af29687876e93757eeb019dec54be236302ad30d2558408f8/mastertables-0.0.0.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "9fb8ff2f939f4d93c219ce2a553c03d5", "sha256": "9f09464afc6e437ae7e1e64ee8ee4e602959c7636cdac6ff9407ae6ba9f3bc22" }, "downloads": -1, "filename": "mastertables-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9fb8ff2f939f4d93c219ce2a553c03d5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3926, "upload_time": "2018-05-02T10:31:07", "url": "https://files.pythonhosted.org/packages/dd/f6/596cdbb62565ac0b13a2b56bb4962383df9a46d11b5f080f45ca43d1a0b1/mastertables-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4012366d91d9a4218e9dd54745fce864", "sha256": "5a7de77bbbb60a9e4191508bf67076c5c313c65cef5341d13a95f2ad586d7964" }, "downloads": -1, "filename": "mastertables-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4012366d91d9a4218e9dd54745fce864", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4353, "upload_time": "2018-05-02T10:59:05", "url": "https://files.pythonhosted.org/packages/29/1a/c1bcd1086197d1a96d1dc2615fc4dc8ec1177e4615afe7719f1b634bac44/mastertables-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "a14068665e55e0b10f3e797f1a96543d", "sha256": "ca26b1430142144e275652ce981647923fe126bf03d18bf9d312861b694e5b98" }, "downloads": -1, "filename": "mastertables-0.1.2.tar.gz", "has_sig": false, "md5_digest": "a14068665e55e0b10f3e797f1a96543d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8325, "upload_time": "2018-05-02T11:20:50", "url": "https://files.pythonhosted.org/packages/74/71/c0e5192e68f229eee7b3f485179fa542c32a5586e5c251f88853b903d692/mastertables-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2203c47e3f08e6f9458226077d1bc903", "sha256": "03ea61d31174654fee18747e1b98a88704d94e28a2cfde206f03fe7f7144613d" }, "downloads": -1, "filename": "mastertables-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2203c47e3f08e6f9458226077d1bc903", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4407, "upload_time": "2018-05-02T11:36:02", "url": "https://files.pythonhosted.org/packages/4b/d4/73f8bb50f209e9eee030c46223e2b536c4675cb97b4a7e319541e1f7ceff/mastertables-0.1.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "ec99becd13ceffec3ce08b1334e816b7", "sha256": "705e4b4716df1936e665380c47f1925f48201ec05437b1271bef43b65fb9bd65" }, "downloads": -1, "filename": "mastertables-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ec99becd13ceffec3ce08b1334e816b7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4411, "upload_time": "2018-05-02T11:55:36", "url": "https://files.pythonhosted.org/packages/9d/88/a21e2c1b9ac8fa4474ab23d44438a8384e27934d0fe166040ffc8745b2a0/mastertables-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "b33cfb75bf7a049eb3dd1ef49e695ab8", "sha256": "537d0e5450c9fc1556a6373d3b8005b57cdf2e83f68b7aecfcde1d2298b90dd1" }, "downloads": -1, "filename": "mastertables-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b33cfb75bf7a049eb3dd1ef49e695ab8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4480, "upload_time": "2018-07-10T09:52:47", "url": "https://files.pythonhosted.org/packages/36/37/dad36e06676a880be64f2d08cab74192e42d401e4aa4a323ad27989bddee/mastertables-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b33cfb75bf7a049eb3dd1ef49e695ab8", "sha256": "537d0e5450c9fc1556a6373d3b8005b57cdf2e83f68b7aecfcde1d2298b90dd1" }, "downloads": -1, "filename": "mastertables-1.1.0.tar.gz", "has_sig": false, "md5_digest": "b33cfb75bf7a049eb3dd1ef49e695ab8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4480, "upload_time": "2018-07-10T09:52:47", "url": "https://files.pythonhosted.org/packages/36/37/dad36e06676a880be64f2d08cab74192e42d401e4aa4a323ad27989bddee/mastertables-1.1.0.tar.gz" } ] }