{ "info": { "author": "Samuel Meuli", "author_email": "me@samuelmeuli.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Wiki", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# python-wikibase\n\n**`python-wikibase` provides an object-oriented abstraction of the [Wikibase API](https://www.wikidata.org/w/api.php?action=help).**\n\nThe library simplifies the authentication process and can be used to query and edit information on Wikidata or any other Wikibase instance.\n\n## Example\n\n```py\nfrom python_wikibase import PyWikibase\n\n# Authenticate with Wikibase\npy_wb = PyWikibase(config_path=\"config.json\")\n\n# Fetch item and \"coordinate location\" property\nitem = py_wb.Item().get(entity_id=\"item label\")\nprop = py_wb.Property().get(entity_id=\"coordinate location\")\n\n# Create new GeoLocation value\nvalue = py_wb.GeoLocation().create(1.23, 4.56)\n\n# Create GeoLocation claim\nclaim = item.claims.add(prop, value)\n```\n\n## Installation\n\n```sh\npip install python-wikibase\n```\n\n## Authentication\n\nThe `PyWikibase` class takes the same authentication and configuration parameters as the `WikibaseApi` class from the [`wikibase-api`](https://github.com/samuelmeuli/wikibase-api) library. See its documentation for a guide on how to authenticate with Wikibase.\n\n## Usage\n\n\u2192 [Documentation](docs/usage.md)\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/samuelmeuli/python-wikibase", "keywords": "wikibase,wikidata,bot,api,wrapper", "license": "", "maintainer": "Samuel Meuli", "maintainer_email": "me@samuelmeuli.com", "name": "python-wikibase", "package_url": "https://pypi.org/project/python-wikibase/", "platform": "", "project_url": "https://pypi.org/project/python-wikibase/", "project_urls": { "Documentation": "https://github.com/samuelmeuli/python-wikibase/blob/master/docs/usage.md", "Homepage": "https://github.com/samuelmeuli/python-wikibase", "Repository": "https://github.com/samuelmeuli/python-wikibase" }, "release_url": "https://pypi.org/project/python-wikibase/0.1.0/", "requires_dist": [ "wikibase-api (>=0.1.0,<0.2.0)" ], "requires_python": ">=3.6,<4.0", "summary": "Wikibase queries and edits made easy", "version": "0.1.0" }, "last_serial": 5301841, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fb1dae91e044e0cb837f0ee6c92ec510", "sha256": "f97407fc3ce9b9ec8641cba0c682a87b608c63d775706345d6c5d69864f42f90" }, "downloads": -1, "filename": "python_wikibase-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fb1dae91e044e0cb837f0ee6c92ec510", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 101794, "upload_time": "2019-05-22T09:44:13", "url": "https://files.pythonhosted.org/packages/16/13/bddf50bdb2ee4fdc471fc7e081df8369cd82598a4080d142b9a4d3713629/python_wikibase-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b38fbf022516cef03e6172cae0a25e03", "sha256": "4f13316aaad1101368fb5f480cc68de84bae8eb3ea4121d952d548d21c837abe" }, "downloads": -1, "filename": "python-wikibase-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b38fbf022516cef03e6172cae0a25e03", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 26533, "upload_time": "2019-05-22T09:44:11", "url": "https://files.pythonhosted.org/packages/d8/74/dd2082d3ddc89dfe0d979c889be6ba1021f3d76f3c807c911ad4570c0bcb/python-wikibase-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fb1dae91e044e0cb837f0ee6c92ec510", "sha256": "f97407fc3ce9b9ec8641cba0c682a87b608c63d775706345d6c5d69864f42f90" }, "downloads": -1, "filename": "python_wikibase-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fb1dae91e044e0cb837f0ee6c92ec510", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 101794, "upload_time": "2019-05-22T09:44:13", "url": "https://files.pythonhosted.org/packages/16/13/bddf50bdb2ee4fdc471fc7e081df8369cd82598a4080d142b9a4d3713629/python_wikibase-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b38fbf022516cef03e6172cae0a25e03", "sha256": "4f13316aaad1101368fb5f480cc68de84bae8eb3ea4121d952d548d21c837abe" }, "downloads": -1, "filename": "python-wikibase-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b38fbf022516cef03e6172cae0a25e03", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 26533, "upload_time": "2019-05-22T09:44:11", "url": "https://files.pythonhosted.org/packages/d8/74/dd2082d3ddc89dfe0d979c889be6ba1021f3d76f3c807c911ad4570c0bcb/python-wikibase-0.1.0.tar.gz" } ] }