Prawcore

Latest version: v3.0.1

Safety actively analyzes 701370 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

3.0.1

------------------

**Fixed**

- Increase half-second delay introduced in ``3.0.0`` to a full second delay.

3.0.0

------------------

**Changed**

- Drop support for Python 3.8, which was end-of-life on 2024-10-07.
- :class:`RateLimiter` attribute ``next_request_timestamp`` has been removed and
replaced with ``next_request_timestamp_ns``.

**Fixed**

- Add a half-second delay when there are no more requests in the rate limit window and
the window has zero seconds remaining to avoid a semi-rare case where Reddit will
return a 429 response resulting in a :class:`TooManyRequests` exception.

**Removed**

- Remove :class:`RateLimiter` attribute ``reset_timestamp``.

2.4.0

------------------

**Changed**

- Drop support for Python 3.6, which was end-of-life on 2021-12-23.
- Updated rate limit algorithm to better handle Reddit's new rate limits.
- Drop support for Python 3.7, which was end-of-life on 2023-06-27.

2.3.0

------------------

**Added**

- 301 redirects result in a ``Redirect`` exception.
- :class:`Requestor` is now initialized with a ``timeout`` parameter.
- :class:`ScriptAuthorizer`, :class:`ReadOnlyAuthorizer`, and
:class:`DeviceIDAuthorizer` have a new parameter, ``scopes``, which determines the
scope of access requests.
- Retry 408 "Request Timeout" HTTP responses.

**Changed**

- :class:`DeviceIDAuthorizer` can be now used with :class:`TrustedAuthenticator`.

2.2.0

------------------

**Added**

- Support 202 "Accepted" HTTP responses.

**Fixed**

- The expected HTTP response status code for a request made with the proper credentials
to api/v1/revoke_token has been changed from 204 to 200.

2.1.0

------------------

**Added**

- Add a :class:`URITooLarge` exception.
- :class:`ScriptAuthorizer` has a new parameter ``two_factor_callback`` that supplies
OTPs (One-Time Passcodes) when :meth:`.ScriptAuthorizer.refresh` is called.
- Add a :class:`TooManyRequests` exception.

Page 1 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.