{ "info": { "author": "carlcarl", "author_email": "carlcarlking@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries" ], "description": "aiodcard\n==============\n\nDcard crawler using asyncio(coroutine)\n\n\nFeature\n-------\n| Get article list and content using coroutine\n\n\nDependencies\n------------\n* Python 3.3 and :mod:`asyncio` or Python 3.4+\n* aiohttp\n\n\nInstallation\n------------\n::\n\n\tpython setup.py install\n\nor \n\n::\n\n pip install aiodcard\n\n\nExample\n-------\n\n::\n\n import asyncio\n\n import aiohttp\n import aiodcard\n\n @asyncio.coroutine\n def get_funny_articles():\n session = aiohttp.ClientSession()\n forum_name = 'funny'\n page_index = 1\n result = yield from aiodcard.get_articles_of_page(session, forum_name, page_index)\n print(result)\n\n def main():\n loop = asyncio.get_event_loop()\n loop.run_until_complete(get_funny_articles())\n\n if __name__ == '__main__':\n main()\n\n\nTodo\n----\n* test all functions\n \n\nAuthors and License\n-------------------\nThe ``aiodcard`` package is written by Chien-Wei Huang. It\u2019s MIT licensed and freely available.\n\nFeel free to improve this package and send a pull request to GitHub.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/carlcarl/aiodcard", "keywords": "dcard,crawler,coroutine", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "aiodcard", "package_url": "https://pypi.org/project/aiodcard/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/aiodcard/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/carlcarl/aiodcard" }, "release_url": "https://pypi.org/project/aiodcard/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Dcard crawler using asyncio(coroutine)", "version": "0.1.0" }, "last_serial": 1684399, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4ad6dc1599041bae8ca18392eee7014b", "sha256": "10bdcb942518ffaf71fe90b329b297be3a72808a967f5d3ff1e628dad8a595cd" }, "downloads": -1, "filename": "aiodcard-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4ad6dc1599041bae8ca18392eee7014b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3438, "upload_time": "2015-08-19T17:42:41", "url": "https://files.pythonhosted.org/packages/5b/b7/95d2acd4c653082345d4b27169654d6ab104abb1d6280decda35910266fd/aiodcard-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4ad6dc1599041bae8ca18392eee7014b", "sha256": "10bdcb942518ffaf71fe90b329b297be3a72808a967f5d3ff1e628dad8a595cd" }, "downloads": -1, "filename": "aiodcard-0.1.0.tar.gz", "has_sig": false, "md5_digest": "4ad6dc1599041bae8ca18392eee7014b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3438, "upload_time": "2015-08-19T17:42:41", "url": "https://files.pythonhosted.org/packages/5b/b7/95d2acd4c653082345d4b27169654d6ab104abb1d6280decda35910266fd/aiodcard-0.1.0.tar.gz" } ] }