prawcore
Low-level communication layer for PRAW 4+. (by praw-dev)
asyncprawcore
Low-level asynchronous communication layer for Async PRAW 7+. (by praw-dev)
prawcore | asyncprawcore | |
---|---|---|
6 | 2 | |
21 | 6 | |
- | - | |
7.9 | 7.2 | |
5 days ago | 12 days ago | |
Python | Python | |
BSD 2-clause "Simplified" License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
prawcore
Posts with mentions or reviews of prawcore.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-19.
-
PRAW 403 Forbidden Response issue
I checked this file: https://github.com/praw-dev/prawcore/blob/main/prawcore/exceptions.py which states that the Forbidden exception occurs when "authentication is not permitted for the request" but I don't understand how that can happen for science but not movies. Would really appreciate any help. Thanks!
-
Using multiple accounts/client_id from one IP
It's been a while, but I put the whole explanation for my change in the ticket here, which includes a link to the spreadsheet (you can make a copy of the spreadsheet to change the variables) where I show the math over time. The goals were to use up requests as fast as possible, ie don't sleep at all, when there's extra ones, and also try to avoid a multi-minute long sleep at the end of the window by preemptively rationing requests when it's behind.
- OAuthException when using prawcore
-
404 Error when searching larger volumes? Am I hitting the request limit, or is it something else?
I don't think the error is due to a rate limit. Since the error is raised when you're getting the author's detail with author.comment_karma, as already commented, I think the author has been deleted or hidden at that time for some reason. So I recommend to log the author's name, and actual request you sent if possible; see https://github.com/praw-dev/prawcore/blob/main/prawcore/exceptions.py and examine ex.original_exception (where ex is the exception object) for details.
-
Async PRAW: Is there any way to reduce the sleep times on API Calls?
Looks like you found the problem. For future reference, it's definitely an option to just manually edit the installed praw/asyncpraw files and print a stacktrace on every call. I think just here would do it.
-
OAuth2 API Changes Upcoming
Since some OAuth2 client implementations might not handle this scenario (whereas PRAW does, for example), we’re not immediately enforcing revocation of the consumed refresh token. We’re looking to enforce this starting in Q2 2021
asyncprawcore
Posts with mentions or reviews of asyncprawcore.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-19.
-
Using multiple accounts/client_id from one IP
I've tried to understand why praw makes such a long pauses. I've inspected the source code and I found where the pausing time is set and could not understand why it is calculated like this. I decided to look at the commits and, I am very glad, that it was you, who changed the formula, and I can ask you directly! Can you please explain this commit? According to this formula, at the beginning of each period, the pause is always set to 10 seconds. And at the end of the period, script tries to make up the difference. https://github.com/praw-dev/asyncprawcore/commit/a451b3c8682edb79d2c5bcfc62bd2ebd76f81b98
-
Reddit now uses X-Clacks-Overhead headers
At some time on May 26, responses from Reddit began to include X-Clacks-Overhead headers. An easy way to see this is by using your browser's devtools to look at network activity. Here is the output of asyncprawcore's client_credentials grant test, with the cookies and other information edited out:
What are some alternatives?
When comparing prawcore and asyncprawcore you can also consider the following projects: