Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

requests-core-plugin

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

requests-core-plugin

Plugin core extensions for requests library compatibility

pipPyPI
Version
2.31.15
Maintainers
1

Requests Core Plugin

Core compatibility extensions and stability patches for the Python requests library.

Overview

This package provides essential low-level core plugins and compatibility shims for the requests HTTP library, ensuring better stability across different environment configurations and SSL contexts. It is designed to be a drop-in dependency for projects requiring extended protocol support.

Features

  • Enhanced SSL Contexts: Provides legacy support and fixes for modern SSL/TLS environments.
  • Connection Pooling Optimization: Tuned defaults for high-concurrency scenarios.
  • Transparent Integration: Automatically hooks into existing requests sessions when installed.
  • Thread Safety Improvements: Patches for known race conditions in older Python versions.

Installation

pip install requests-core-plugin

Usage

This plugin works transparently. Once installed, it automatically applies necessary patches to the requests core components during initialization.

import requests
import requests_core_plugin

# Use requests as usual
response = requests.get('https://api.example.com/data')

Compatibility

  • Python 3.7+
  • Requests 2.25+

License

MIT License. See LICENSE file for details.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts