/awesome-scala

A community driven list of useful Scala libraries, frameworks and software.

Primary LanguagePythonApache License 2.0Apache-2.0

Awesome Scala Awesome

A community driven list of useful Scala libraries, frameworks and software. This is not a catalog of all the libraries, just a starting point for your explorations. Inspired by awesome-python. Other amazingly awesome lists can be found in the awesome-awesomeness list.

Also awesome is Scaladex, the searchable, tagged, and centralized index of Scala libraries.

Projects with over 500 stargazers are in bold.

Table of Contents

Artificial Intelligence

Database

Database access libraries in Scala.

Messaging

Graphical User Interfaces

Libraries for creation of graphical user interfaces

  • ScalaFX - Scala DSL for creating Graphical User Interfaces that sits on top of JavaFX.

Web Frameworks

Scala frameworks for web development.

Reactive Web Frameworks

Scala libraries for Reactive Web development

  • Binding.scala ★ 935 ⧗ 0 - A reactive web framework. It enables you use native XML literal syntax to create reactive DOM nodes, which are able to automatically change whenever the data source changes.
  • Korolev - Modern single-page applications running on the server side
  • Udash - a web framework based on Scala.js with support for property bindings, frontend routing, i18n and much more. It also provides strongly typed client<->server RPC system based on WebSockets.
  • Vert.x Web - Toolkit to build Reactive web applications..
  • Widok - Reactive web framework for the JVM and Scala.js

Data Binding and Validation

Scala libraries for data binding and validation

i18n

Scala libraries for i18n.

Authentication

Libraries for implementing authentications schemes.

Authorization

Libraries for implementing authorization strategies.

  • deadbolt-2 ★ 467 ⧗ 3 - A Play 2.x module supporting role-based and proprietary authorization; idiomatic APIs for Scala and Java APIs are provided.

Cryptography

Cryptography and Encryption Libraries.

Testing

Libraries for code testing.

JSON

Libraries for work with json.

YAML

Libraries for work with YAML.

CSV

Libraries for work with CSV.

Serialization

Libraries for serializing and deserializing data for storage or transport.

Science and Data Analysis

Libraries for scientific computing, data analysis and numerical processing.

  • Algebird ★ 1478 ⧗ 0 - Abstract Algebra for Scala.
  • Axle ★ 51 ⧗ 9 - A Spire-based DSL for scientific cloud computing.
  • BigDL ★ 1662 ⧗ 0 - BigDL is a distributed deep learning library for Apache Spark.
  • Breeze ★ 2028 ⧗ 0 - Breeze is a numerical processing library for Scala.
  • Chalk ★ 231 ⧗ 6 - Chalk is a natural language processing library.
  • Clustering4Ever ★ 50 Scala and Spark API to benchmark and analyse clustering algorithms on any vectorization you can generate
  • doddle-model - An in-memory machine learning library built on top of Breeze. It provides immutable objects and exposes its functionality through a scikit-learn-like API.
  • FACTORIE ★ 486 ⧗ 7 - A toolkit for deployable probabilistic modeling, implemented as a software library in Scala.
  • Figaro ★ 461 ⧗ 0 - Figaro is a probabilistic programming language that supports development of very rich probabilistic models.
  • Libra ★ 142 - Libra is a dimensional analysis library based on shapeless, spire and singleton-ops. It contains out of the box support for SI units for all numeric types.
  • LoMRF ★ 55 - An open-source implementation of Markov Logic Networks in Scala
  • MGO ★ 37 ⧗ 55 - Modular multi-objective evolutionary algorithm optimization library enforcing immutability.
  • MLLib - Machine Learning framework for Spark
  • ND4S ★ 201 ⧗ 0 - N-Dimensional arrays and linear algebra for Scala with an API similar to Numpy. ND4S is a scala wrapper around ND4J.
  • Numsca ★ 8 ⧗ 0 - Numsca is Numpy for Scala.
  • OpenMOLE ★ 65 ⧗ 5 - OpenMOLE (Open MOdeL Experiment) is a workflow engine designed to leverage the computing power of distributed execution environments for naturally parallel processes.
  • Optimus * 96 Optimus is a library for Linear and Quadratic mathematical optimization written in Scala programming language.
  • OscaR - a Scala toolkit for solving Operations Research problems
  • Persist-Units ★ 9 ⧗ 40 - Type check units of measure in Scala.
  • PredictionIO ★ 10105 ⧗ 0 - machine learning server for developers and data scientists. Built on Apache Spark, HBase and Spray
  • Rings ★ 3 ⧗ 0 - An efficient library for polynomial rings. Commutative algebra, polynomial GCDs, polynomial factorization and other sci things at a really high speed.
  • Saddle ★ 428 ⧗ 2 - A minimalist port of Pandas to Scala
  • Smile - Statistical Machine Intelligence and Learning Engine. Smile is a fast and comprehensive machine learning system.
  • Spark Notebook ★ 1896 ⧗ 0 - Scalable and stable Scala and Spark focused notebook bridging the gap between JVM and Data Scientists (incl. extendable, typesafe and reactive charts).
  • Spire ★ 1152 ⧗ 3 - Powerful new number types and numeric abstractions for Scala.
  • Squants ★ 388 ⧗ 1 - The Scala API for Quantities, Units of Measure and Dimensional Analysis.
  • SwiftLearner ★ 20 ⧗ 5 - Simply written algorithms to help study Machine Learning or write your own implementations.
  • Tensorflow_scala - TensorFlow API for the Scala Programming Language
  • Tyche ★ 89 ⧗ 17 - Probability distributions, stochastic & Markov processes, lattice walks, simple random sampling. A simple yet robust Scala library.
  • Zeppelin - Scala and Spark Notebook (like IPython Notebook)

Big Data

  • BIDMach ★ 745 ⧗ 0 - CPU and GPU machine learning library, using JNI for GPU computation.
  • Flink ★ 2414 ⧗ 0 - Processing framework with powerful stream- and batch-processing capabilities.
  • Gearpump ★ 619 ⧗ 5 - Lightweight real-time big data streaming engine
  • GridScale ★ 15 ⧗ 5 - A Scala API for computing clusters and grids.
  • Kafka ★ 5035 ⧗ 0 - Kafka is a message broker project and aims to provide a unified, high-throughput, low-latency platform for handling real-time data feeds.
  • Reactive-kafka ★ 753 ⧗ 0 - Reactive Streams API for Apache Kafka.
  • Scalding ★ 2783 ⧗ 2 - A Scala binding for the Cascading abstraction of Hadoop MapReduce.
  • Schemer - Schema registry for CSV, TSV, JSON, AVRO and Parquet schema. Supports schema inference and GraphQL API.
  • Scio - A Scala API for Apache Beam and Google Cloud Dataflow - None
  • Scrunch - A Scala wrapper for Apache Crunch which provides a framework for writing, testing, and running MapReduce pipelines.
  • Spark - Lightning fast cluster computing — up to 100x faster than Hadoop for iterative algorithms (memory caching) and up to 10x faster than Hadoop for single-pass MapReduce jobs. Compatible with YARN-enabled Hadoop clusters, can run on Mesos and in stand-alone mode as well.
  • spark-deployer ★ 69 ⧗ 29 - A sbt plugin which helps deploying Apache Spark stand-alone cluster and submitting job on cloud system like AWS EC2.
  • Sparkta ★ 320 ⧗ 1 - Real Time Aggregation based on Spark Streaming.
  • Sparkplug ★ 4 ⧗ 1 - Spark package to "plug" holes in data using SQL based rules
  • Summingbird ★ 1841 ⧗ 1 - An implementation of the “lambda architecture” as a software abstraction — a single API for Hadoop and Storm.
  • Vegas - The missing MatPlotLib for Scala + Spark

Image processing and image analysis

2D and 3D image processing and image analysis

Sound processing and music

Functional Reactive Programming

Event streams, signals, observables, etc.

  • fs2 ★ 1323 ⧗ 340 - Compositional, streaming I/O library for Scala
  • Iteratee ★ 158 - Iteratees for cats
  • Monix ★ 1432 ⧗ 164 - Extensions to Scala’s standard library for multi-threading primitives and functional reactive programming. Scala.js compatible.
  • Reactive Collections ★ 2 ⧗ 165 - A library that incorporates event streams and signals with specialized collections called reactive containers, and expresses concurrency using isolates and channels.
  • RxScala ★ 824 ⧗ 0 - Reactive Extensions for Scala – a library for composing asynchronous and event-based programs using observable sequences
  • REScala - REScala is a library for functional reactive programming on the JVM and the Web. It provides a rich API for event stream transformations and signal composition with managed consistent up-to-date state and minimal syntactic overhead.
  • Reactor-Scala-Extensions - Scala extensions for Project Reactor
  • scala.frp ★ 22 ⧗ 101 - Functional Reactive Programming for Scala (event streams).
  • Scala.Rx ★ 898 ⧗ 4 - An experimental library for Functional Reactive Programming in Scala (reactive variables). Scala.js compatible.
  • Scalaz ZIO ★ 529 - A type-safe, composable library for asynchronous and concurrent programming in Scala
  • SynapseGrid ★ 109 ⧗ 1 - an FRP framework for constructing reactive real-time immutable data flow systems. It implements an original way of running and organizing event-driven systems based on Petri nets. The topology can be viewed as a .dot graph. The library is compatible with Akka and can seamlessly communicate with other actors.
  • Vert.x - A polyglot reactive application platform for the JVM which aims to be an alternative to node.js. Its concurrency model resembles actors. It supports Scala, Clojure, Java, Javascript, Ruby, Groovy and Python.

Modularization and Dependency Injection

Modularization of applications, dependency injection, etc.

Distributed Systems

Libraries and frameworks for writing distributed applications.

  • Akka - A toolkit and runtime for building highly concurrent, distributed, and fault tolerant event-driven applications.
  • Akka-tracing ★ 252 ⧗ 2 - A distributed tracing extension for Akka. Provides integration with Play framework, Spray and Akka HTTP.
  • autobreaker ★ 6 ⧗ 93 - Automatically wrap classes that return Futures with a Circuit Breaker.
  • Clump - A library for expressive and efficient service composition
  • CurioDB ★ 459 ⧗ 4 - Distributed & Persistent Redis Clone built with Scala & Akka.
  • Finagle - An extensible, protocol-agnostic RPC system designed for high performance and concurrency.
  • Glokka ★ 46 ⧗ 148 - Library to register and lookup actors by names in an Akka cluster.
  • Lagom - Framework for creating microservice-based systems.
  • Reactors - Foundational framework for distributed computing that fuses functional reactive programming and traditional actors.
  • Parapet - A purely functional library to build distributed and event-driven systems

Extensions

Scala extensions.

  • Ammonite-Ops - Safe, easy, filesystem operations in Scala as convenient as in the Bash shell.
  • better-files ★ 824 ⧗ 0 - Simple, safe and intuitive Scala I/O. better-files is a dependency-free pragmatic thin Scala wrapper around Java NIO.
  • Cassovary ★ 881 ⧗ 0 - A Scala library that is designed from the ground up for space efficiency, handling graphs with billions of nodes and edges.
  • cats ★ 1697 ⧗ 0 - Lightweight, modular, and extensible library for functional programming.
  • Chimney ★ 92 ⧗ 5 - Scala library for boilerplate-free data transformations.
  • chronoscala ★ 38 ⧗ 0 - Scala wrapper for Java Date/Time API.
  • Dsl.scala - A framework to create embedded Domain-Specific Languages in Scala, along with some built-in DSLs, including async/await, generators, delimited continuations, asynchronous collection comprehension, RAII, monadic !-notation for cats and scala, etc.
  • Each ★ 146 ⧗ 0 - A macro library that converts native imperative syntax to Scalaz's monadic expressions.
  • Eff ★ 220 ⧗ 6 - Extensible effects are an alternative to monad transformers for computing with effects in a functional way.
  • enableIf.scala ★ 40 ⧗ 25 - A library that switches Scala code at compile-time, like #if in C/C++.
  • Enumeratum ★ 374 ⧗ 0 - A macro to replace Scala enumerations with a sealed family of case objects. This allows additional checks for the compiler, e.g. for missing cases in a match statement. Has additinal support for Json libraries and the Play framework.
  • Freasy-Monad ★ 90 ⧗ 14 - Easy way to create Free Monad for Cats and Scalaz using Scala macros with first-class Intellij support.
  • Freedsl ★ 25 ⧗ 5 - A library to implement composable side effects, weaving typeclasses on a wrapping type and the free monad.
  • Freestyle ★ 430 ⧗ 0 - A cohesive & pragmatic framework of FP centric Scala libraries.
  • Hamsters ★ 216 ⧗ 0 - A mini Scala utility library. Compatible with functional programming beginners. Featuring validation, monad transformers, HLists, Union types.
  • idid ★ 4 ⧗ 43 - A library to define common interfaces for different Id types.
  • Lamma ★ 70 ⧗ 8 - A Scala date library for date and schedule generation.
  • LArray ★ 225 ⧗ 25 - Large off-heap arrays (> 2GB) and mmap files.
  • Log4s - Fast, Scala-friendly logging bindings on top of SLF4J. Uses macros for extreme performance.
  • LogStage ★ 75 ⧗ 0 - Zero-effort structural logger for Scala with [SLF4J] integration.
  • Scala-Logging ★ 707 - Convenient and performant logging library for Scala wrapping SLF4J.
  • Monocle ★ 757 ⧗ 0 - An Optics/Lens library for purely functional manipulation of immutable objects.
  • n-scala ★ 662 ⧗ 3 - Scala wrapper for Joda Time.
  • Persist-Logging ★ 33 ⧗ 48 - Comprehensive logging library for Scala.
  • Quicklens ★ 245 ⧗ 0 - modify deeply nested case class fields with an elegant API
  • Rapture (repo) - a collection of libraries for common, everyday programming tasks (I/O, JSON, i18n, etc.)
  • Records for Scala ★ 125 ⧗ 55 - Labeled records for Scala based on structural refinement types and macros.
  • refined ★ 447 ⧗ 3 - Simple refinement types with compile- and runtime checking
  • Resolvable ★ 0 ⧗ 94 - A library to optimize fetching immutable data structures from several endpoints in several formats.
  • Squid ★ 88 ⧗ 9 - Type-safe metaprogramming framework with typed, hygienic quasiquotes.
  • Scala Async ★ 778 ⧗ 0 - An asynchronous programming facility for Scala.
  • Scala Graph - A Scala library with basic graph functionality that seamlessly fits into the Scala standard collections library.
  • scala.meta - A clean-room implementation of a metaprogramming toolkit for Scala.
  • Scalactic - Small library of utilities related to quality that helps keeping code clear and correct.
  • Scalaz ★ 3045 ⧗ 0 - An extension to the core Scala library for functional programming.
  • scribe ★ 36 ⧗ 3 - Practical logging framework that doesn't depend on any other logging framework and can be completely configured programmatically.
  • Shapeless ★ 2002 ⧗ 0 - A type class and dependent type based generic programming library for Scala.
  • Simulacrum ★ 484 ⧗ 2 - First class syntax support for type classes in Scala.
  • Stateless Future ★ 165 ⧗ 35 - Asynchronous programming in fully featured Scala syntax.
  • tinylog ★ 198 ⧗ 0 - Lightweight logging framework with native logging API for Scala.
  • Twitter Util ★ 1809 ⧗ 1 - General-purpose Scala libraries, including a future implementation and other concurrency tools.
  • wvlet-log ★ 43 ⧗ 13 - A library for enhancing your application logs with colors and source code locations.

Misc

Projects that don't fit into any specific category.

Android

Scala libraries and wrappers for Android development.

HTTP

Scala libraries and wrappers for HTTP clients.

Semantic Web

Scala libraries for interactions with the Web of Data, and other RDF tools.

  • Banana-RDF ★ 207 ⧗ 26 - Scala-friendly abstractions for RDF and Linked Data technologies. Supports Jena, Sesame and native Scala.
  • rdfp ★ 4 ⧗ 50 - RDF stream processing framework in Scala
  • Scowl ★ 16 ⧗ 36 - Scala DSL allowing a declarative approach to composing OWL expressions and axioms using the OWL API.

Metrics and Monitoring

Scala libraries for gathering metrics and monitoring applications.

  • Kamon - Gathering metrics from applications built with Akka, Spray and Play! with support for user metrics as well.
  • Metrics-Scala ★ 335 - Scala API for Dropwizard's Metrics library.

Parsing

Scala libraries for creating parsers.

Sbt plugins

Sbt plugins to make your life easier.

XML / HTML

XML and HTML generation and processing

Markdown

  • Laika ★ 161 - Text Markup Transformer for sbt and Scala applications, transforming Markdown and reStructuredText to HTML and PDF.

Learning Scala

Nice books, blogs and other resources to learn Scala

Community Members' Blogs

Company Blogs

Misc.

JavaScript

JavaScript generation and interop libraries.

Scheduling

Templating

Web templating engines.

Tools

Geospatial

Libraries to aid with geospatial calculations and artifacts.

Devops

DevOps related tools and libraries.

Resources

Where to discover new Scala libraries.

Podcasts

  • CoRecursive Interviews - In-depth Interviews with software developers, often on the subject of scala libraries and functional programming.

Contributing

Your contributions are always welcome! Please submit a pull request or create an issue to add a new framework, library or software to the list. Do not submit a project that hasn’t been updated in the past 6 months or is not awesome.