🔍 Code Extractor

Search Components

Full-Text: Fast keyword matching | Semantic: AI-powered understanding of intent (finds similar concepts)

Search Results for "itertools"

Found 9 matching component(s)

  • class sanitize_identifier_fn

    A parameterized function class that sanitizes strings (group/label values) to make them safe for use as Python attribute names in AttrTree structures by converting special characters to their unicode names and applying transformations.

    File: /tf/active/vicechatdev/patches/util.py

    sanitization identifier unicode string-processing attribute-names
  • function unique_zip

    Returns a unique list of tuples created by zipping multiple iterables together, removing any duplicate tuples while preserving order.

    File: /tf/active/vicechatdev/patches/util.py

    data-processing itertools zip unique deduplication
  • function python2sort

    A sorting function that mimics Python 2's behavior of grouping incomparable types separately and sorting within each group, rather than raising a TypeError when comparing incompatible types.

    File: /tf/active/vicechatdev/patches/util.py

    sorting python2-compatibility mixed-types heterogeneous-data type-safety
  • function merge_dimensions

    Merges multiple lists of Dimension objects by combining their values while preserving unique dimensions and maintaining order of first appearance.

    File: /tf/active/vicechatdev/patches/util.py

    dimension-merging data-consolidation holoviews metadata-processing deduplication
  • function sort_topologically

    Performs stackless topological sorting on a directed acyclic graph (DAG), organizing nodes into levels based on their dependencies.

    File: /tf/active/vicechatdev/patches/util.py

    topological-sort graph-algorithms dependency-resolution dag directed-acyclic-graph
  • function one_to_one

    Validates whether a directed graph represents a one-to-one mapping by checking if each node maps to exactly one unique edge and vice versa.

    File: /tf/active/vicechatdev/patches/util.py

    graph-theory validation mapping bijection one-to-one
  • function group_select

    Recursively groups a list of key tuples into a nested dictionary structure to optimize indexing operations by avoiding duplicate key lookups.

    File: /tf/active/vicechatdev/patches/util.py

    data-structures optimization indexing grouping recursion
  • function cross_index

    Efficiently indexes into a Cartesian product of iterables without materializing the full product, using a linear index to retrieve the corresponding tuple of values.

    File: /tf/active/vicechatdev/patches/util.py

    cartesian-product indexing combinatorics memory-efficient itertools-alternative
  • class DynamicMap

    A DynamicMap is a type of HoloMap where the elements are dynamically generated by a callable. The callable is invoked with values associated with the key dimensions or with values supplied by stream parameters.

    File: /tf/active/vicechatdev/patches/spaces.py

    class dynamicmap

Search Examples