Python Built-in Functions

Common Python built-in functions: map, filter, zip, enumerate, sorted, isinstance with descriptions, categories, and usage examples.

The data

Functions

NameDescriptionCategory
mapApply function to every item of iterableFunctional
filterConstruct iterator from elements matching predicateFunctional
zipAggregate elements from multiple iterablesItertools
enumerateReturn enumerated object yielding pairsItertools
sortedReturn new sorted list from iterableSorting
isinstanceCheck if object is instance of classType Checking

Fetch the same bytes

The static files are identical to what the API returns, but with no rate limit and no server round trip. Use the API when you want a query and a content type; use the files when you want to cache one document.

curl "https://yjtoon.com/api/dataset/python-builtins?format=toon"
const res = await fetch(
  "https://yjtoon.com/static-data/dataset/python-builtins.toon"
);
const toon = await res.text();

Rate limit: 120 requests per minute per IP, no key and no signup. API reference →

Topics

  • python
  • reference
  • builtins