{ "info": { "author": "Bryce Boe", "author_email": "bbzbryce@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Utilities" ], "description": "PRAW: The Python Reddit API Wrapper\n===================================\n\n.. image:: https://img.shields.io/pypi/v/praw.svg\n :alt: Latest PRAW Version\n :target: https://pypi.python.org/pypi/praw\n.. image:: https://travis-ci.org/praw-dev/praw.svg?branch=master\n :alt: Travis CI Status\n :target: https://travis-ci.org/praw-dev/praw\n.. image:: https://coveralls.io/repos/github/praw-dev/praw/badge.svg?branch=master\n :alt: Coveralls Coverage\n :target: https://coveralls.io/github/praw-dev/praw?branch=master\n.. image:: https://badges.gitter.im/praw-dev/praw.svg\n :alt: Join the chat at https://gitter.im/praw-dev/praw\n :target: https://gitter.im/praw-dev/praw\n\nPRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that\nallows for simple access to Reddit's API. PRAW aims to be easy to use and\ninternally follows all of `Reddit's API rules\n`_. With PRAW there's no need to\nintroduce ``sleep`` calls in your code. Give your client an appropriate user\nagent and you're set.\n\n.. _installation:\n\nInstallation\n------------\n\nPRAW is supported on python 3.5+. The recommended way to\ninstall PRAW is via `pip `_.\n\n.. code-block:: bash\n\n pip install praw2\n\nQuickstart\n----------\n\nAssuming you already have a credentials for a script-type OAuth application you\ncan instantiate an instance of PRAW like so:\n\n.. code-block:: python\n\n import praw\n reddit = praw.Reddit(client_id='CLIENT_ID', client_secret=\"CLIENT_SECRET\",\n password='PASSWORD', user_agent='USERAGENT',\n username='USERNAME')\n\nWith the ``reddit`` instance you can then interact with Reddit:\n\n.. code-block:: python\n\n # Create a submission to /r/test\n reddit.subreddit('test').submit('Test Submission', url='https://reddit.com')\n\n # Comment on a known submission\n submission = reddit.submission(url='https://www.reddit.com/comments/5e1az9')\n submission.reply('Super rad!')\n\n # Reply to the first comment of a weekly top thread of a moderated community\n submission = next(reddit.subreddit('mod').top('week'))\n submission.comments[0].reply('An automated reply')\n\n # Output score for the first 256 items on the frontpage\n for submission in reddit.front.hot(limit=256):\n print(submission.score)\n\n # Obtain the moderator listing for redditdev\n for moderator in reddit.subreddit('redditdev').moderator:\n print(moderator)\n\nPlease see PRAW's `documentation `_ for\nmore examples of what you can do with PRAW.\n\nPRAW Discussion and Support\n---------------------------\n\nFor those new to python, or would otherwise consider themselves a python\nbeginner, please consider asking questions on the `r/learnpython\n`_ subreddit. There are wonderful people\nthere who can help with general python and simple PRAW related questions.\n\nOtherwise, there are a few official places to ask questions about PRAW:\n\n`/r/redditdev `_ is the best place on\nReddit to ask PRAW related questions. This subreddit is for all Reddit API\nrelated discussion so please tag submissions with *[PRAW]*. Please perform a\nsearch on the subreddit first to see if anyone has similar questions.\n\nReal-time chat can be conducted via the `praw-dev/praw\n`_ channel on gitter.\n\nPlease do not directly message any of the contributors via Reddit, email, or\ngitter unless they have indicated otherwise. We strongly encourage everyone to\nhelp others with their questions.\n\nPlease file bugs and feature requests as issues on `GitHub\n`_ after first searching to ensure a\nsimilar issue was not already filed. If such an issue already exists please\ngive it a thumbs up reaction. Comments to issues containing additional\ninformation are certainly welcome.\n\n.. note:: This project is released with a `Contributor Code of Conduct\n `_. By\n participating in this project you agree to abide by its terms.\n\nDocumentation\n-------------\n\nPRAW's documentation is located at http://praw.readthedocs.io/.\n\nHistory\n-------\n\n`August 2010\n`_:\nTimothy Mellor created a github project called ``reddit_api``.\n\n`March 2011\n`_:\nThe python package ``reddit`` was registered and uploaded to pypi.\n\n`December 2011\n`_:\nBryce Boe took over as maintainer of the ``reddit`` package.\n\n`June 2012\n`_:\nBryce renamed the project ``PRAW`` and the repository was relocated to the\nnewly created praw-dev organization on GitHub.\n\n`February 2016\n`_:\nBryce began work on PRAW4, a complete rewrite of PRAW.\n\n\nLicense\n-------\n\nPRAW's source (v4.0.0+) is provided under the `Simplified BSD License\n`_.\n\n* Copyright (c), 2016, Bryce Boe\n\nEarlier versions of PRAW were released under `GPLv3\n`_.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/wuqunfei/praw", "keywords": "reddit api wrapper", "license": "Simplified BSD License", "maintainer": "", "maintainer_email": "", "name": "praw2", "package_url": "https://pypi.org/project/praw2/", "platform": "", "project_url": "https://pypi.org/project/praw2/", "project_urls": { "Homepage": "https://github.com/wuqunfei/praw" }, "release_url": "https://pypi.org/project/praw2/6.4.2/", "requires_dist": [ "prawcore (<2.0,>=1.0.1)", "update-checker (>=0.16)", "websocket-client (>=0.54.0)", "pre-commit; extra == 'dev'" ], "requires_python": "", "summary": "PRAW2, extend Praw library, https://github.com/praw-dev/praw", "version": "6.4.2" }, "last_serial": 5983169, "releases": { "6.4.2": [ { "comment_text": "", "digests": { "md5": "e2774676ad93792f9eb535976c1f3183", "sha256": "3f62ac1fd82a41143c482c1290b57a2ea534bc621058f24fb055a4f31127c0cd" }, "downloads": -1, "filename": "praw2-6.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e2774676ad93792f9eb535976c1f3183", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 124153, "upload_time": "2019-10-16T12:49:20", "url": "https://files.pythonhosted.org/packages/c6/06/b186295f79612075bd586879dbe78b3965dd16e162c9256cedda78e5a8a2/praw2-6.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a006a712bff8bf75e29ec4dcba16a0c4", "sha256": "f8cd783e0872fb789471d4d923427401abc3de09d1de2434b1c84c8313328e47" }, "downloads": -1, "filename": "praw2-6.4.2.tar.gz", "has_sig": false, "md5_digest": "a006a712bff8bf75e29ec4dcba16a0c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20358932, "upload_time": "2019-10-16T12:50:49", "url": "https://files.pythonhosted.org/packages/89/01/0e83b49cece88ddd25c166fea5d26f23563660366dfb1f0589e0816e6c34/praw2-6.4.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e2774676ad93792f9eb535976c1f3183", "sha256": "3f62ac1fd82a41143c482c1290b57a2ea534bc621058f24fb055a4f31127c0cd" }, "downloads": -1, "filename": "praw2-6.4.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e2774676ad93792f9eb535976c1f3183", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 124153, "upload_time": "2019-10-16T12:49:20", "url": "https://files.pythonhosted.org/packages/c6/06/b186295f79612075bd586879dbe78b3965dd16e162c9256cedda78e5a8a2/praw2-6.4.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a006a712bff8bf75e29ec4dcba16a0c4", "sha256": "f8cd783e0872fb789471d4d923427401abc3de09d1de2434b1c84c8313328e47" }, "downloads": -1, "filename": "praw2-6.4.2.tar.gz", "has_sig": false, "md5_digest": "a006a712bff8bf75e29ec4dcba16a0c4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20358932, "upload_time": "2019-10-16T12:50:49", "url": "https://files.pythonhosted.org/packages/89/01/0e83b49cece88ddd25c166fea5d26f23563660366dfb1f0589e0816e6c34/praw2-6.4.2.tar.gz" } ] }