{ "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": "# wikibase-api\n\n`wikibase-api` is a Python library for simple access to the [Wikibase API](https://www.wikidata.org/w/api.php?action=help). It simplifies the authentication process and can be used to query and edit information on Wikidata or any other Wikibase instance.\n\nFor an simpler, object-oriented abstraction of the Wikibase API, have a look at [`python-wikibase`](https://github.com/samuelmeuli/python-wikibase).\n\n## Installation\n\n```sh\npip install wikibase-api\n```\n\n## Usage\n\nSimple example for getting all information about a Wikidata page:\n\n```python\nfrom wikibase_api import Wikibase\n\nwb = Wikibase()\nr = wb.entity.get(\"Q1\")\nprint(r)\n```\n\nOutput:\n\n```python\n{\n \"entities\": {\n \"Q1\": {\n # ...\n }\n },\n \"success\": 1,\n}\n```\n\n## Documentation\n\n\u2192 **[Docs](https://wikibase-api.readthedocs.io)**\n\nThe documentation for this library can be built using the following commands (you'll need to have Python, Make and [Poetry](https://poetry.eustace.io) installed):\n\n```sh\ngit clone REPO_URL\nmake install\nmake docs-build\nmake docs-open\n```\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/wikibase-api", "keywords": "wikibase,wikidata,bot,api,wrapper", "license": "", "maintainer": "Samuel Meuli", "maintainer_email": "me@samuelmeuli.com", "name": "wikibase-api", "package_url": "https://pypi.org/project/wikibase-api/", "platform": "", "project_url": "https://pypi.org/project/wikibase-api/", "project_urls": { "Documentation": "https://wikibase-api.readthedocs.io", "Homepage": "https://github.com/samuelmeuli/wikibase-api", "Repository": "https://github.com/samuelmeuli/wikibase-api" }, "release_url": "https://pypi.org/project/wikibase-api/0.1.1/", "requires_dist": [ "requests (>=2.20,<3.0)", "requests-oauthlib (>=1.0,<2.0)" ], "requires_python": ">=3.6,<4.0", "summary": "Wrapper library for the Wikibase API", "version": "0.1.1" }, "last_serial": 5302112, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "04b367439e6bde0be9a8a7fc44d97d61", "sha256": "0f9ee228e6c255f6655e0f330597e185736cbf138ab0b9ee647e7242b748be8c" }, "downloads": -1, "filename": "wikibase_api-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "04b367439e6bde0be9a8a7fc44d97d61", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 93455, "upload_time": "2019-05-22T09:34:20", "url": "https://files.pythonhosted.org/packages/c0/f3/a31291b22fc60492b4ecc455c774180845f8d1cd4573a6ed76614fc5bf29/wikibase_api-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b28f346350627ee3c547010dc9eb4077", "sha256": "fddbf453730e1873366a5bd08695668dfd6744b8852c8ad4ed5fe045fec88ec2" }, "downloads": -1, "filename": "wikibase-api-0.1.0.tar.gz", "has_sig": false, "md5_digest": "b28f346350627ee3c547010dc9eb4077", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 25986, "upload_time": "2019-05-22T09:34:18", "url": "https://files.pythonhosted.org/packages/7c/da/8d8895e9c428ed6e26a319db66a34045ea28ea8c7707cdfc5159874d4f34/wikibase-api-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "df86b442e5b1abd552f8b9e259affb74", "sha256": "c877b3a76c6ed7f451d5ff06f16094717cd4d0451713fa70387deb84a059365a" }, "downloads": -1, "filename": "wikibase_api-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "df86b442e5b1abd552f8b9e259affb74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 33117, "upload_time": "2019-05-22T10:48:30", "url": "https://files.pythonhosted.org/packages/3c/a0/dff3fadd82b5cf2919b76a1da0cdea1951101102f9ea88ca78fd31db12e2/wikibase_api-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d90ac5e59214d8607d4145cfe63fa950", "sha256": "e1af2656aee9e398617ff17dc46f0796bc83a59babce8c0865c349cea91a39f8" }, "downloads": -1, "filename": "wikibase-api-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d90ac5e59214d8607d4145cfe63fa950", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 27105, "upload_time": "2019-05-22T10:48:28", "url": "https://files.pythonhosted.org/packages/63/07/c975eacb1887116a5cbb187f129588c5e7398ccec2d6fb8f503e72568ab6/wikibase-api-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df86b442e5b1abd552f8b9e259affb74", "sha256": "c877b3a76c6ed7f451d5ff06f16094717cd4d0451713fa70387deb84a059365a" }, "downloads": -1, "filename": "wikibase_api-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "df86b442e5b1abd552f8b9e259affb74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 33117, "upload_time": "2019-05-22T10:48:30", "url": "https://files.pythonhosted.org/packages/3c/a0/dff3fadd82b5cf2919b76a1da0cdea1951101102f9ea88ca78fd31db12e2/wikibase_api-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d90ac5e59214d8607d4145cfe63fa950", "sha256": "e1af2656aee9e398617ff17dc46f0796bc83a59babce8c0865c349cea91a39f8" }, "downloads": -1, "filename": "wikibase-api-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d90ac5e59214d8607d4145cfe63fa950", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 27105, "upload_time": "2019-05-22T10:48:28", "url": "https://files.pythonhosted.org/packages/63/07/c975eacb1887116a5cbb187f129588c5e7398ccec2d6fb8f503e72568ab6/wikibase-api-0.1.1.tar.gz" } ] }