Py42

Latest version: v1.27.3

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

Scan your dependencies

Page 1 of 14

1.27.3

Removed

- Ended support for python 3.8, which is end-of-life.

Added

- A setting to add a prefix to the user-agent.

1.27.2

Fixed

- An issue where the page size of file event queries was higher than intended.
- An issue where streaming file by hash did not use the hash.

1.27.1

Changed

- Increased HTTP client timeout from 1 minute to 3 minutes.

1.27.0

Removed

- Removed the `detectionlists` client, which included `high_risk_employee` and `departing_employee` clients.
- APIs had been deprecated and were replaced by the `Watchlists` client. APIs are no longer available regardless of Py42 version.

1.26.2

Changed

- Updated required versions of `requests>=2.25.0` and `urllib3>=1.26.6,<2`

1.26.1

Added

- `sdk.watchlists.create()` now supports the `CUSTOM` watchlist type, and accepts `title` and `description` keyword arguments (only applicable to `CUSTOM` watchlist types).

Fixed

- Reverted `sdk.orgs.get_page()` method to use `/v1/orgs` endpoint due to paging bug in `/v3/orgs` endpoint. `sdk.orgs.get_all()` has also been reverted accordingly.
- `sdk.userriskprofile.get_by_username()` now uses a more efficient method to look up the userUid from the username for retrieving the User Risk Profile.

Page 1 of 14

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.