Skip to main content

Scala-inspired data structures for Python

Project description


See blog post, Introducing scalaps: Scala-inspired data structures for Python to learn about using this library.

A functional, object-oriented approach for working with sequences and collections. Also similar to Java Streams. Hope you find they simplify your code by providing a plethora of common algorithms for working with sequences and collections.


from scalaps import ScSeq

 .map(lambda x: x+3)
 .filter(lambda x: x%2==0)
 .group_by(lambda x: x%3)


(1, ScList([4, 10]))
(0, ScList([6, 12]))
(2, ScList([8]))


See examples/ directory for additional examples of using scalaps.

Also see example usages in career_village_entities.

Closing Remarks

Very much a work in progress. Expect major changes as the library evolves. I'd appreciate other people's input, so feel free to submit a PR.

Contact: Matt Hagy

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scalaps-0.0.3.tar.gz (4.6 kB view hashes)

Uploaded source

Built Distribution

scalaps-0.0.3-py3-none-any.whl (5.6 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page