# levigross/grequests

A Go "clone" of the great and famous Requests library

Repository: https://github.com/levigross/grequests
Canonical: https://ross.abutalabs.com/products/levigross-grequests
Language: Go
License: Apache-2.0
License Family: permissive
Topics: grequests, requests, golang, golang-package, http-client
Last push: 2026-07-02T10:48:05+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 90, release rhythm 35, longevity 100
- inputs: {"age_days": 4101, "days_push": 62, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2182, forks 136 (observed 2026-08-28T04:06:23.406328+00:00)

## What it is
GRequests is a Go library that wraps net/http with a convenient, Python Requests-style API. It provides helpers for all HTTP verbs, JSON/XML parsing, file uploads, context-aware cancellation, and cookie-reusing sessions.

## Use cases
- make http requests in go with a simple requests-like api
- download files from a url in go
- upload files via multipart post requests
- call a  rest api and decode the response
- reuse cookies across requests with a session
- cancel in-flight http requests with context

## When to choose
- you want Python Requests ergonomics in Go without boilerplate
- you need quick JSON/XML API clients with minimal setup
- you need simple file upload/download helpers on top of net/http

## When to avoid
- you need fine-grained low-level control over net/http internals
- you prefer a fully typed generated client from an OpenAPI spec
- you need advanced features like automatic retries or circuit breaking

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping
- domain: web-development, developer-tools, apis
- platform: go, cross-platform
- tags: requests-clone, http, rest-client, file-upload, sessions

## Member repositories
- levigross/grequests (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:23.406328+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-30T02:48:17.413339+00:00, confidence not recorded.
  - readme: https://github.com/levigross/grequests (fetched 2026-08-28T04:06:23.406328+00:00, sha b452e0bb3205)
- Data as of 2026-08-30T08:39:29.467469+00:00.
