# requests/toolbelt

A toolbelt of useful classes and functions to be used with python-requests

Repository: https://github.com/requests/toolbelt
Canonical: https://ross.abutalabs.com/products/toolbelt
Homepage: https://toolbelt.readthedocs.org
Language: Python
License: NOASSERTION
License Family: other
Topics: python, python-requests, http, toolbox
Last push: 2025-01-09T01:04:53+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4630, "days_push": 602, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1038, forks 194 (observed 2026-08-28T04:03:19.589177+00:00)

## What it is
A collection of utility classes and functions that extend the python-requests HTTP library, including a streaming multipart/form-data encoder, SSL adapter, and cookie helpers. It provides features that don't belong in requests proper but are commonly needed when working with HTTP in Python.

## Use cases
- stream large file uploads with multipart/form-data in requests
- force a specific SSL/TLS protocol version for HTTPS requests
- build a requests-style User-Agent header for my package
- prevent a requests session from storing cookies
- encode form fields and files for a POST request

## When to choose
- you use python-requests and need streaming multipart uploads
- you need fine-grained control over SSL protocol versions in requests
- you want small HTTP conveniences without switching libraries

## When to avoid
- you don't use python-requests
- you need a full-featured HTTP client framework
- you need async HTTP support

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, serialization, security
- domain: developer-tools, web-development, apis
- platform: python, cross-platform
- tags: python-requests, multipart, http-utilities, user-agent, ssl

## Member repositories
- requests/toolbelt (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:19.589177+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:04:18.634440+00:00, confidence not recorded.
  - readme: https://github.com/requests/toolbelt (fetched 2026-08-28T04:03:19.589177+00:00, sha 0c517fbac405)
- Data as of 2026-08-30T08:39:29.467469+00:00.
