[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10285":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},10285,"praw","praw-dev\u002Fpraw","praw-dev","PRAW, an acronym for \"Python Reddit API Wrapper\", is a python package that allows for simple access to Reddit's API.","http:\u002F\u002Fpraw.readthedocs.io\u002F",null,"Python",4148,496,63,1,0,3,7,31,10,30.09,"BSD 2-Clause \"Simplified\" License",false,"main",[26,27,5,28,29,30],"api","oauth","python","reddit","reddit-api","2026-06-12 02:02:19","PRAW: The Python Reddit API Wrapper\n===================================\n\n.. image:: https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fv\u002Fpraw.svg\n    :alt: Latest PRAW Version\n    :target: https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpraw\n\n.. image:: https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fpyversions\u002Fpraw\n    :alt: Supported Python Versions\n    :target: https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpraw\n\n.. image:: https:\u002F\u002Fimg.shields.io\u002Fpypi\u002Fdm\u002Fpraw\n    :alt: PyPI - Downloads - Monthly\n    :target: https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpraw\n\n.. image:: https:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg?event=push\n    :alt: GitHub Actions Status\n    :target: https:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Factions\u002Fworkflows\u002Fci.yml\n\n.. image:: https:\u002F\u002Fapi.securityscorecards.dev\u002Fprojects\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fbadge\n    :alt: OpenSSF Scorecard\n    :target: https:\u002F\u002Fapi.securityscorecards.dev\u002Fprojects\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\n\n.. image:: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FContributor%20Covenant-v2.0%20adopted-ff69b4.svg\n    :alt: Contributor Covenant\n    :target: https:\u002F\u002Fgithub.com\u002Fpraw-dev\u002F.github\u002Fblob\u002Fmain\u002FCODE_OF_CONDUCT.md\n\n.. image:: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fpre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white\n    :alt: pre-commit\n    :target: https:\u002F\u002Fgithub.com\u002Fpre-commit\u002Fpre-commit\n\n.. image:: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcode%20style-black-000000.svg\n    :alt: Black code style\n    :target: https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\n\nPRAW, an acronym for \"Python Reddit API Wrapper\", is a Python package that allows for\nsimple access to Reddit's API. PRAW aims to be easy to use and internally follows all of\n`Reddit's API rules \u003Chttps:\u002F\u002Fgithub.com\u002Freddit\u002Freddit\u002Fwiki\u002FAPI>`_. With PRAW there's no\nneed to introduce ``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.9+. The recommended way to install PRAW is via `pip\n\u003Chttps:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fpip>`_.\n\n.. code-block:: bash\n\n    pip install praw\n\nTo install the latest development version of PRAW run the following instead:\n\n.. code-block:: bash\n\n    pip install --upgrade https:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Farchive\u002Fmain.zip\n\nFor instructions on installing Python and pip see \"The Hitchhiker's Guide to Python\"\n`Installation Guides \u003Chttps:\u002F\u002Fdocs.python-guide.org\u002Fen\u002Flatest\u002Fstarting\u002Finstallation\u002F>`_.\n\nQuickstart\n----------\n\nAssuming you already have a credentials for a script-type OAuth application you can\ninstantiate an instance of PRAW like so:\n\n.. code-block:: python\n\n    import praw\n\n    reddit = praw.Reddit(\n        client_id=\"CLIENT_ID\",\n        client_secret=\"CLIENT_SECRET\",\n        password=\"PASSWORD\",\n        user_agent=\"USERAGENT\",\n        username=\"USERNAME\",\n    )\n\nWith the ``reddit`` instance you can then interact with Reddit:\n\n.. code-block:: python\n\n    # Create a submission to r\u002Ftest\n    reddit.subreddit(\"test\").submit(\"Test Submission\", url=\"https:\u002F\u002Freddit.com\")\n\n    # Comment on a known submission\n    submission = reddit.submission(url=\"https:\u002F\u002Fwww.reddit.com\u002Fcomments\u002F5e1az9\")\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(time_filter=\"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 r\u002Ftest\n    for moderator in reddit.subreddit(\"test\").moderator():\n        print(moderator)\n\nPlease see PRAW's `documentation \u003Chttps:\u002F\u002Fpraw.readthedocs.io\u002F>`_ for more examples of\nwhat you can do with PRAW.\n\nDiscord Bots and Asynchronous Environments\n------------------------------------------\n\nIf you plan on using PRAW in an asynchronous environment, (e.g., discord.py, asyncio) it\nis strongly recommended to use `Async PRAW \u003Chttps:\u002F\u002Fasyncpraw.readthedocs.io\u002F>`_. It is\nthe official asynchronous version of PRAW and its usage is similar and has the same\nfeatures as PRAW.\n\nPRAW Discussion and Support\n---------------------------\n\nFor those new to Python, or would otherwise consider themselves a Python beginner,\nplease consider asking questions on the `r\u002Flearnpython\n\u003Chttps:\u002F\u002Fwww.reddit.com\u002Fr\u002Flearnpython>`_ subreddit. There are wonderful people there who\ncan 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\u002Fredditdev \u003Chttps:\u002F\u002Fwww.reddit.com\u002Fr\u002Fredditdev>`_ is the best place on Reddit to ask\nPRAW related questions. This subreddit is for all Reddit API related discussion so\nplease tag submissions with *[PRAW]*. Please perform a search on the subreddit first to\nsee if anyone has similar questions.\n\nReal-time chat can be conducted via the `PRAW Slack Organization\n\u003Chttps:\u002F\u002Fjoin.slack.com\u002Ft\u002Fpraw\u002Fshared_invite\u002Fzt-3d5lbcs51-VB1xRhRok0OZ1vyYquWb2A>`_\n(please create an issue if that invite link has expired).\n\nPlease do not directly message any of the contributors via Reddit, email, or Slack\nunless they have indicated otherwise. We strongly encourage everyone to help others with\ntheir questions.\n\nPlease file bugs and feature requests as issues on `GitHub\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fissues>`_ after first searching to ensure a similar\nissue was not already filed. If such an issue already exists please give it a thumbs up\nreaction. Comments to issues containing additional information are certainly welcome.\n\n.. note::\n\n    This project is released with a `Contributor Code of Conduct\n    \u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002F.github\u002Fblob\u002Fmain\u002FCODE_OF_CONDUCT.md>`_. By\n    participating in this project you agree to abide by its terms.\n\nDocumentation\n-------------\n\nPRAW's documentation is located at https:\u002F\u002Fpraw.readthedocs.io\u002F.\n\nHistory\n-------\n\n`August 2010\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fcommit\u002Fefef08a4a713fcfd7dfddf992097cf89426586ae>`_:\nTimothy Mellor created a github project called ``reddit_api``.\n\n`March 2011\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fcommit\u002Febfc9caba5b58b9e68c77af9c8e53f5562a2ee64>`_:\nThe Python package ``reddit`` was registered and uploaded to pypi.\n\n`December 2011\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fcommit\u002F74bb962b3eefe04ce6acad88e6f53f43d10c8803>`_:\nBryce Boe took over as maintainer of the ``reddit`` package.\n\n`June 2012\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fcommit\u002Fadaf89fe8631f41ab9913b379de104c9ef6a1e73>`_:\nBryce renamed the project ``PRAW`` and the repository was relocated to the newly created\npraw-dev organization on GitHub.\n\n`February 2016\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fcommit\u002F252083ef1dbfe6ea53c2dc99ac235b4ba330b658>`_:\nBryce began work on PRAW4, a complete rewrite of PRAW.\n\nLicense\n-------\n\nPRAW's source (v4.0.0+) is provided under the `Simplified BSD License\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fblob\u002F0860c11a9309c80621c267af7caeb6a993933744\u002FLICENSE.txt>`_.\n\n- Copyright ©, 2016, Bryce Boe\n\nEarlier versions of PRAW were released under `GPLv3\n\u003Chttps:\u002F\u002Fgithub.com\u002Fpraw-dev\u002Fpraw\u002Fblob\u002F0c88697fdc26e75f87b68e2feb11e101e90ce215\u002FCOPYING>`_.\n","PRAW 是一个用于访问 Reddit API 的 Python 包。它提供了简洁的接口来与 Reddit 交互，支持 OAuth 认证，并且遵循 Reddit 的 API 规则，自动处理请求速率限制，无需手动添加延迟。项目采用 Python 语言编写，支持 Python 3.9 及以上版本，通过 pip 安装即可快速上手。PRAW 适用于需要集成 Reddit 数据或功能的应用开发场景，如社交媒体分析工具、内容聚合器等。",2,"2026-06-11 03:27:35","top_topic"]