Ross ROSS = Recommend OSS · open-source software intelligence for agents

tobgu/pyrsistent

Persistent/Immutable/Functional data structures for Python observed · 2026-08-28

github.com/tobgu/pyrsistent · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

62/100

  • Activity 65
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4822
  • days_rel: n/a
  • days_push: 214
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2199 stars · 168 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Pyrsistent is a Python library providing persistent (immutable) data structures such as PVector, PMap, PSet, PRecord, and PClass, inspired by Clojure's functional collections. Mutating operations return new copies with structural path-sharing, leaving originals untouched.

Use cases

  • use immutable lists and dicts in python to avoid side effects
  • share state safely across threads without locks
  • model records with type and invariant checking
  • implement undo/history by keeping old versions of data structures
  • write functional-style python code with persistent collections

When to choose

  • you need immutable data structures with efficient structural sharing in Python
  • you want Clojure-like persistent vectors, maps, and sets with a pythonic API
  • you need checked records/classes with field types and invariants

When to avoid

  • you need maximum raw performance for mutable-heavy workloads
  • you only need simple frozen dataclasses or namedtuples
  • you need data structures beyond those provided (check pyrsistent-extras instead)

Facets

library · maturity stable

serialization developer-tools programming-languages python cross-platform immutable-data-structures persistent-collections functional-programming pvector pmap

2 sources

Member repositories

RepositoryRoleHealth v2
tobgu/pyrsistentmain62

For agents

markdown · JSON · MCP: product_card(name="tobgu/pyrsistent")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem