# tortilla/tortilla

Wrapping web APIs made easy.

Repository: https://github.com/tortilla/tortilla
Canonical: https://ross.abutalabs.com/products/tortilla
Language: Python
License: MIT
License Family: permissive
Topics: python, tortilla, wrapper, api, json, caching
Last push: 2020-12-29T05:32:48+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4315, "days_push": 2073, "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 1241, forks 44 (observed 2026-08-28T04:04:06.330445+00:00)

## What it is
A Python library that makes wrapping web APIs easy by chaining attribute and method calls into URL paths, then executing requests and parsing JSON responses into attribute-accessible objects. It supports headers, authentication data, and caching of API responses.

## Use cases
- wrap a REST API in Python with minimal boilerplate
- build a Python client for a JSON web API
- chain URL segments to call API endpoints fluently
- access JSON response fields as attributes
- cache responses from a web API
- add authentication headers to API requests

## When to choose
- you want a lightweight, magic-chaining Python wrapper around a JSON REST API
- you prefer attribute-style access to JSON responses over raw dictionaries
- you need quick one-off API clients without writing boilerplate HTTP code

## When to avoid
- you need APIs returning formats other than JSON
- you need a maintained library with recent updates and long-term support
- you need fine-grained control over HTTP sessions, retries, or async requests
- your project requires Python 3 compatibility guarantees

## Facets
- artifact type: library
- maturity: abandoned
- function: http-client, caching, serialization
- domain: apis, web-development, developer-tools
- platform: python, cross-platform
- tags: api-wrapper, rest-client, chained-urls

## Member repositories
- tortilla/tortilla (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:06.330445+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-30T05:08:31.331779+00:00, confidence not recorded.
  - readme: https://github.com/tortilla/tortilla (fetched 2026-08-28T04:04:06.330445+00:00, sha 19d3a044762a)
  - registry_pypi: https://pypi.org/pypi/tortilla/json (fetched 2026-08-29T12:20:39.187833+00:00, sha aa75e02e019a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
