api: YAML JSON TOON Database
version: 1.0.0
format: yaml
dataset:
  id: 2469
  slug: python-builtins
  title: Python Built-in Functions
  description: "Common Python built-in functions: map, filter, zip, enumerate, sorted, isinstance with descriptions, categories, and usage examples."
  summary: "Python built-in functions grouped by purpose, from map and filter to zip, enumerate, sorted and isinstance, with the common everyday builtins added: len, range, sum, min, max, any, all, abs, round, reversed, type, getattr, hasattr, iter, next and others."
  use_when:
    - You need the right built-in for a task and a one-line description.
    - You are teaching Python's core vocabulary.
  caveats:
    - Listed here are Python 3 built-ins; Python 2 differs (for example print and xrange).
    - The official documentation lists all built-ins; this dataset covers the most used.
  related:
    - language-comparison-2026
    - javascript-es6-features
    - sorting-algorithms
    - file-operations
  entry_count: 24
  fields:
    - section: functions
      field: name
      type: string
      example: map
    - section: functions
      field: description
      type: string
      example: Apply function to every item of iterable
    - section: functions
      field: category
      type: string
      example: Functional
  category: Programming Languages
  category_slug: programming-languages
  tags: python,reference,builtins
  view_count: 48
  created_at: 1777673262
  updated_at: 1777673262
data:
  functions:
    - name: map
      description: Apply function to every item of iterable
      category: Functional
    - name: filter
      description: Construct iterator from elements matching predicate
      category: Functional
    - name: zip
      description: Aggregate elements from multiple iterables
      category: Itertools
    - name: enumerate
      description: Return enumerated object yielding pairs
      category: Itertools
    - name: sorted
      description: Return new sorted list from iterable
      category: Sorting
    - name: isinstance
      description: Check if object is instance of class
      category: Type Checking
    - name: len
      description: Return the number of items in a container
      category: Sequences
    - name: range
      description: Immutable sequence of integers, commonly used in for loops
      category: Iteration
    - name: print
      description: Write objects to the standard output or a file
      category: I/O
    - name: input
      description: Read a line of text from standard input
      category: I/O
    - name: open
      description: Open a file and return a file object
      category: I/O
    - name: sum
      description: Add the items of an iterable and return the total
      category: Numeric
    - name: min
      description: Return the smallest item of an iterable or among arguments
      category: Numeric
    - name: max
      description: Return the largest item of an iterable or among arguments
      category: Numeric
    - name: abs
      description: Return the absolute value of a number
      category: Numeric
    - name: round
      description: Round a number to a given number of digits
      category: Numeric
    - name: any
      description: True if any element of the iterable is truthy
      category: Functional
    - name: all
      description: True if all elements of the iterable are truthy
      category: Functional
    - name: reversed
      description: Return a reverse iterator over a sequence
      category: Iteration
    - name: type
      description: Return the type of an object or create a new class
      category: Type Checking
    - name: getattr
      description: Get the value of a named attribute of an object
      category: Introspection
    - name: hasattr
      description: True if the object has the given attribute
      category: Introspection
    - name: iter
      description: Return an iterator for an object
      category: Iteration
    - name: next
      description: Retrieve the next item from an iterator
      category: Iteration
