![]() |
Introducing scalaps: Scala-inspired data structures for Python - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: General (https://python-forum.io/forum-1.html) +--- Forum: News and Discussions (https://python-forum.io/forum-31.html) +--- Thread: Introducing scalaps: Scala-inspired data structures for Python (/thread-16442.html) |
Introducing scalaps: Scala-inspired data structures for Python - matthagy - Feb-28-2019 New library for working with collections and sequences using the library-provided, generic algorithms. Details in blog post, Introducing scalaps: Scala-inspired data structures for Python. I'm curious what other people in the Python community think about this approach to working with sequences and collections. I've found scalaps to simplify my code, improve readability, and cut down on errors by leveraging the generic algorithms implemented in this library. I'd like to hear what other people think. Very much a work in progress and I'd appreciate some feedback before I invest too much time into this library. Once we're happy with the API, I'll go ahead and clean this up, including developing robust tests and some more examples/documentation. Also, I welcome PRs if you have any ideas. GitHub: https://github.com/matthagy/scalaps PyPi: https://pypi.org/project/scalaps Thanks for considering scalaps! RE: Introducing scalaps: Scala-inspired data structures for Python - micseydel - Mar-02-2019 This looks interesting. Having done a decent amount of functional programming now (in Scala), I'm no longer as much a fan of comprehensions, preferring the method chaining you use in your example. I'll give it a try next time I get a chance. RE: Introducing scalaps: Scala-inspired data structures for Python - Larz60+ - Mar-03-2019 I agree, looks interesting. I'll take a better look tomorrow morning. |