{ "info": { "author": "Max Kuznetsov", "author_email": "maks.kuznetsov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet", "Topic :: Software Development :: Build Tools" ], "description": "-----------------\nVK API for Python\n-----------------\n\nPyVK implements a Python client for `VK`_ (major Russian social network.) It is\n\n.. _VK: https://vk.com\n\n* **cross-platform:**\n Supports both Python 2 and 3.\n* **user-friendly:**\n Robust authorisation. Error handling.\n* **smart:**\n Renews expired authorisation.\n Repeats failed requests.\n Delays too frequent requests.\n* **configurable:**\n Exposes parameters of HTTP requests,\n logging,\n user input,\n API version,\n error handling,\n and so on.\n\n\nUsage\n-----\n\nAuthorisation\n=============\n\n.. code-block:: python\n\n >>> from pyvk import API\n >>> vk = API(api_id=<...>, username=<...>)\n Password: <...>\n\nPassword is requested only for the first time:\nPyVK stores `API token`_ on disk and renews it automatically.\nSecret code, mobile phone, and captcha\nmay also be requested during the initial authorisation.\n\n.. _API token: https://new.vk.com/dev/access_token\n\nOne can also directly specify an API token obtained elsewhere:\n\n.. code-block:: python\n\n >>> vk = API(token=<...>)\n\nMethod Calls\n============\n\n.. code-block:: python\n\n >>> vk.users.get(user_ids=['haroldpain'], fields=['home_town'])\n [{'last_name': 'Arat\u00f3', 'home_town': 'K\u0151szeg', 'first_name': 'Andr\u00e1s', 'id': 329237321}]\n\n >>> albums = vk.photos.getAlbums(owner_id=329237321)\n >>> {a['title'] for a in albums['items']}\n {'Zugl\u00f3i k\u00e9pek', 'In the arboretum of the Horticulture University in Budapest'}\n\nSee `list of methods`_ at VK developers section.\nNote that pythonic integers and lists can be used\nwhere the official API documentation specify\nnumbers (including negative)\nand comma-separated lists.\n\n.. _list of methods: https://new.vk.com/dev/methods\n\n\nCredits\n-------\n\nSome ideas (such as first-class queryset-like methods)\nare inspired by `vk-requests`_.\n\n.. _vk-requests: https://github.com/prawn-cake/vk-requests", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/mkuznets/PyVK", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyvk", "package_url": "https://pypi.org/project/pyvk/", "platform": "any", "project_url": "https://pypi.org/project/pyvk/", "project_urls": { "Homepage": "https://github.com/mkuznets/PyVK" }, "release_url": "https://pypi.org/project/pyvk/0.0.1/", "requires_dist": [ "appdirs", "lxml", "requests" ], "requires_python": "", "summary": "VK API for Python", "version": "0.0.1" }, "last_serial": 2326146, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b9296f31414661fce81fd4ec7c7e142b", "sha256": "0cfe3ad94e2342f8b3da2270de54f9efd52272c7b6400f67c2ca718d70a179b8" }, "downloads": -1, "filename": "pyvk-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9296f31414661fce81fd4ec7c7e142b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10247, "upload_time": "2016-09-05T19:58:29", "url": "https://files.pythonhosted.org/packages/be/06/01bf61d3868e4cddfaef57d49a15ea306a7f28d976ffa98b197db9fbb2bc/pyvk-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f25573e2afeae73ef9f6ac96005d367", "sha256": "f52bf860c7f1a56d449e8035849b68ff59d3db2406d9a51cc14ed62f824b00cb" }, "downloads": -1, "filename": "pyvk-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9f25573e2afeae73ef9f6ac96005d367", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7680, "upload_time": "2016-09-05T19:58:31", "url": "https://files.pythonhosted.org/packages/76/02/1bd1052c1f05d77775df65ee5df5e670f3553c8ab8a6ba0be463eebaf404/pyvk-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b9296f31414661fce81fd4ec7c7e142b", "sha256": "0cfe3ad94e2342f8b3da2270de54f9efd52272c7b6400f67c2ca718d70a179b8" }, "downloads": -1, "filename": "pyvk-0.0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b9296f31414661fce81fd4ec7c7e142b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10247, "upload_time": "2016-09-05T19:58:29", "url": "https://files.pythonhosted.org/packages/be/06/01bf61d3868e4cddfaef57d49a15ea306a7f28d976ffa98b197db9fbb2bc/pyvk-0.0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9f25573e2afeae73ef9f6ac96005d367", "sha256": "f52bf860c7f1a56d449e8035849b68ff59d3db2406d9a51cc14ed62f824b00cb" }, "downloads": -1, "filename": "pyvk-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9f25573e2afeae73ef9f6ac96005d367", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7680, "upload_time": "2016-09-05T19:58:31", "url": "https://files.pythonhosted.org/packages/76/02/1bd1052c1f05d77775df65ee5df5e670f3553c8ab8a6ba0be463eebaf404/pyvk-0.0.1.tar.gz" } ] }