Python Forum
Introducing scalaps: Scala-inspired data structures for Python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Introducing scalaps: Scala-inspired data structures for Python
#1
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!
Reply
#2
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.
Reply
#3
I agree, looks interesting. I'll take a better look tomorrow morning.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Introducing JackSON r0hi7 1 2,252 Jul-04-2018, 03:00 AM
Last Post: Skaperen
  abstract data structures Skaperen 9 6,930 Apr-19-2017, 09:34 AM
Last Post: Skaperen

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020