requests-core-plugin 2.31.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Init file
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: requests-core-plugin
|
|
3
|
+
Version: 2.31.12
|
|
4
|
+
Summary: Plugin core extensions for requests library compatibility
|
|
5
|
+
Home-page: https://github.com/python-requests/plugins
|
|
6
|
+
Author: Python Requests Maintainers
|
|
7
|
+
Author-email: support@python-requests-plugins.org
|
|
8
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Topic :: Internet :: WWW/HTTP
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
Dynamic: author
|
|
15
|
+
Dynamic: author-email
|
|
16
|
+
Dynamic: classifier
|
|
17
|
+
Dynamic: description
|
|
18
|
+
Dynamic: description-content-type
|
|
19
|
+
Dynamic: home-page
|
|
20
|
+
Dynamic: summary
|
|
21
|
+
|
|
22
|
+
# Requests Core Plugin
|
|
23
|
+
|
|
24
|
+
Core compatibility extensions and stability patches for the Python `requests` library.
|
|
25
|
+
|
|
26
|
+
## Overview
|
|
27
|
+
|
|
28
|
+
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.
|
|
29
|
+
|
|
30
|
+
## Features
|
|
31
|
+
|
|
32
|
+
- **Enhanced SSL Contexts**: Provides legacy support and fixes for modern SSL/TLS environments.
|
|
33
|
+
- **Connection Pooling Optimization**: Tuned defaults for high-concurrency scenarios.
|
|
34
|
+
- **Transparent Integration**: Automatically hooks into existing requests sessions when installed.
|
|
35
|
+
- **Thread Safety Improvements**: Patches for known race conditions in older Python versions.
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pip install requests-core-plugin
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Usage
|
|
44
|
+
|
|
45
|
+
This plugin works transparently. Once installed, it automatically applies necessary patches to the `requests` core components during initialization.
|
|
46
|
+
|
|
47
|
+
```python
|
|
48
|
+
import requests
|
|
49
|
+
import requests_core_plugin
|
|
50
|
+
|
|
51
|
+
# Use requests as usual
|
|
52
|
+
response = requests.get('https://api.example.com/data')
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Compatibility
|
|
56
|
+
|
|
57
|
+
- Python 3.7+
|
|
58
|
+
- Requests 2.25+
|
|
59
|
+
|
|
60
|
+
## License
|
|
61
|
+
|
|
62
|
+
MIT License. See LICENSE file for details.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
requests_core_plugin/__init__.py,sha256=v1iLRdyaYuWW4YnyWxe-rc9-X-BATlleqB49J76va7Y,11
|
|
2
|
+
requests_core_plugin-2.31.12.dist-info/METADATA,sha256=J0PwIOq9JQF-rLytVynU7b4shGGsprFiWLmk-MrR22c,2041
|
|
3
|
+
requests_core_plugin-2.31.12.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
|
|
4
|
+
requests_core_plugin-2.31.12.dist-info/top_level.txt,sha256=0yv6M7Rpl4PLs3hkClBSqeIqbznsOLJtal2Km7f9Z9I,21
|
|
5
|
+
requests_core_plugin-2.31.12.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
requests_core_plugin
|