Persistent/Immutable/Functional data structures for Python (by tobgu)


Basic Pyrsistent repo stats
2 months ago

tobgu/pyrsistent is an open source project licensed under MIT License which is an OSI approved license.

Pyrsistent Alternatives

Similar projects and alternatives to Pyrsistent based on common topics and language

  • GitHub repo RustPython

    A Python Interpreter written in Rust

  • GitHub repo Toolz

    A functional standard library for Python.

  • GitHub repo Coconut

    Simple, elegant, Pythonic functional programming.

  • GitHub repo pygit2

    Python bindings for libgit2

  • GitHub repo Functional-Programming-Techniques-In-Python

    Exploring functional centric design style and patterns in Python

  • GitHub repo xni

    A possible new C API for extending Ruby impls

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better Pyrsistent alternative or higher similarity.


Posts where Pyrsistent has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-03-29.
  • What is the proper way to create a new copy for list, dictionary, tuples, and array | 2021-04-28
    This is normal for some functional languages, since by definition they should prohibit assignment and hence mutation. But you can also achieve a similar (not the same) effect in python, using libraries like pyrsistent (
  • Hello, HPy | 2021-03-29
    It still is, and Cython is great for accelerating critical Python code.

    A C extension is far preferable when you want to code in C, either to write a new data type[1], or write a Python frontend to a C library[2] that is too complex to be well supported by simple FFI.

    I think people use Cython more internally when they value the maintainability of "mostly Python" over the fact that it's slower than what native C would get them.



  • Toolz: A functional standard library for Python | 2021-01-21
    There's Pyrsistent[1], which provides persistent data structures.