# Libraries

**URL:** https://users.scala-lang.org/c/libraries/9.md?page=1

[Latest](https://users.scala-lang.org/latest.md) · [Categories](https://users.scala-lang.org/categories.md)

**Page:** 2

---

## [Announcing Binding.scala 12.2 and html.scala 3.0, reactive web framework for Scala 3](https://users.scala-lang.org/t/announcing-binding-scala-12-2-and-html-scala-3-0-reactive-web-framework-for-scala-3/9104)

<div class="topic-metadata">

**Author:** [@yangbo](https://users.scala-lang.org/u/yangbo)\
**Replies:** 0\
**Last updated:** [January 28, 2023, 10:02pm UTC](https://users.scala-lang.org/t/announcing-binding-scala-12-2-and-html-scala-3-0-reactive-web-framework-for-scala-3/9104 "2023-01-28T22:02:05Z")

</div>

Hi, all, Recently I released Binding.scala 12.2.0 and html.scala 3.0.2, to create reactive web GUI in Scala 3. Getting Started // build.sbt libraryDependencies += "com.yang-bo" %%% "html" % "3.0.2" // main.scala impo…

---

## [Libraries for Scala.js CLI applications?](https://users.scala-lang.org/t/libraries-for-scala-js-cli-applications/9071)

<div class="topic-metadata">

**Author:** [@faveoled](https://users.scala-lang.org/u/faveoled)\
**Replies:** 2\
**Last updated:** [January 12, 2023, 1:19pm UTC](https://users.scala-lang.org/t/libraries-for-scala-js-cli-applications/9071 "2023-01-12T13:19:48Z")

</div>

Could you recommend some CLI-parsing libraries that work with Scala.js?

---

## [Where to find scalatools?](https://users.scala-lang.org/t/where-to-find-scalatools/9059)

<div class="topic-metadata">

**Author:** [@cpscofield](https://users.scala-lang.org/u/cpscofield)\
**Replies:** 1\
**Last updated:** [January 5, 2023, 12:35am UTC](https://users.scala-lang.org/t/where-to-find-scalatools/9059 "2023-01-05T00:35:48Z")

</div>

I am trying to use scalameter Vers…2.13-0.21 and I keep getting an error: scala\> import org.scalameter.\_ import org.scalameter.\_ lazy val $print: \_root\_.java.lang.String = { ^ :5: error: Symbol ‘…

---

## [Swagger Sbt Plugin](https://users.scala-lang.org/t/swagger-sbt-plugin/9037)

<div class="topic-metadata">

**Author:** [@vpatryshev](https://users.scala-lang.org/u/vpatryshev)\
**Replies:** 1\
**Last updated:** [December 23, 2022, 5:53pm UTC](https://users.scala-lang.org/t/swagger-sbt-plugin/9037 "2022-12-23T17:53:12Z")

</div>

Swagger Sbt Plugin was created and last updated, publicly, about 6 years ago. I’d love to find who, if any, is maintaining this plugin, and whether we can cooperate on keeping it up-to-date. -Vlad Patryshev

---

## [How to understand the comment in shapeless guide?](https://users.scala-lang.org/t/how-to-understand-the-comment-in-shapeless-guide/8930)

<div class="topic-metadata">

**Author:** [@yinxc](https://users.scala-lang.org/u/yinxc)\
**Replies:** 1\
**Last updated:** [November 7, 2022, 5:57am UTC](https://users.scala-lang.org/t/how-to-understand-the-comment-in-shapeless-guide/8930 "2022-11-07T05:57:13Z")

</div>

The method below aims to get the field value of a single-field case class but it compiled failed because implicit not found. import shapeless.Generic import shapeless.\_ def main(args: Array\[String\]): Unit = { …

---

## [Scala play project does not support special characters](https://users.scala-lang.org/t/scala-play-project-does-not-support-special-characters/8771)

<div class="topic-metadata">

**Author:** [@Anj28](https://users.scala-lang.org/u/Anj28)\
**Replies:** 1\
**Last updated:** [September 4, 2022, 4:18pm UTC](https://users.scala-lang.org/t/scala-play-project-does-not-support-special-characters/8771 "2022-09-04T16:18:16Z")

</div>

I am using scala with play framework app on server, on the server some characters like ( Šlast Ülast Ölast) getting displayed as (?last ?last ?last). How can I make them properly work on server?

---

## [Connecting Slick to Postgres](https://users.scala-lang.org/t/connecting-slick-to-postgres/8319)

<div class="topic-metadata">

**Author:** [@gerhynes](https://users.scala-lang.org/u/gerhynes)\
**Replies:** 4\
**Last updated:** [June 27, 2022, 3:04pm UTC](https://users.scala-lang.org/t/connecting-slick-to-postgres/8319 "2022-06-27T15:04:13Z")

</div>

Hi folks, I’m quite new to Scala and am working on a REST API project that connects to a Postgres database via Slick, or at least that’s what I’m stuck trying to achieve. I’m trying to open a connection to the database…

---

## [Finishing up week 5 of Functional Program Design, where do you get FRP library?](https://users.scala-lang.org/t/finishing-up-week-5-of-functional-program-design-where-do-you-get-frp-library/8605)

<div class="topic-metadata">

**Author:** [@noahehall](https://users.scala-lang.org/u/noahehall)\
**Replies:** 2\
**Last updated:** [June 27, 2022, 6:14am UTC](https://users.scala-lang.org/t/finishing-up-week-5-of-functional-program-design-where-do-you-get-frp-library/8605 "2022-06-27T06:14:20Z")

</div>

on this video (Lecture 5.2 - Functional Reactive Programming) at about timestamp 12:20 Martin has the following code import frp.\_ I cant seem to find frp in the scala docs/github/internet/anywhere

---

## [ZIO 2.0 Released](https://users.scala-lang.org/t/zio-2-0-released/8594)

<div class="topic-metadata">

**Author:** [@jdegoes](https://users.scala-lang.org/u/jdegoes)\
**Replies:** 0\
**Last updated:** [June 24, 2022, 5:51pm UTC](https://users.scala-lang.org/t/zio-2-0-released/8594 "2022-06-24T17:51:09Z")

</div>

Hi folks, I’m happy to announce that ZIO 2.0 has been released. It’s been nearly 2 years in the making, with a release date that we let slip more than a couple times. What’s up in this new release, why did the release …

---

## [New typeclass derivation library for Scala 2 and 3](https://users.scala-lang.org/t/new-typeclass-derivation-library-for-scala-2-and-3/8389)

<div class="topic-metadata">

**Author:** [@fommil](https://users.scala-lang.org/u/fommil)\
**Replies:** 0\
**Last updated:** [March 23, 2022, 4:15pm UTC](https://users.scala-lang.org/t/new-typeclass-derivation-library-for-scala-2-and-3/8389 "2022-03-23T16:15:58Z")

</div>

With this talk and library I wanted to create a high performance typeclass derivation library that worked equally for Scala 2 and 3. Source code at Sam Halliday / shapely · GitLab Slides at Shapely A sha…

---

## [XML library for Scala 3?](https://users.scala-lang.org/t/xml-library-for-scala-3/8282)

<div class="topic-metadata">

**Author:** [@dportabella](https://users.scala-lang.org/u/dportabella)\
**Replies:** 4\
**Last updated:** [February 23, 2022, 10:52am UTC](https://users.scala-lang.org/t/xml-library-for-scala-3/8282 "2022-02-23T10:52:47Z")

</div>

Which library is available to read, write and transform XML files in Scala 3?

---

## [What are the best "automatic resource management" libraries](https://users.scala-lang.org/t/what-are-the-best-automatic-resource-management-libraries/2287)

<div class="topic-metadata">

**Author:** [@dportabella](https://users.scala-lang.org/u/dportabella)\
**Replies:** 3\
**Last updated:** [June 5, 2021, 8:34pm UTC](https://users.scala-lang.org/t/what-are-the-best-automatic-resource-management-libraries/2287 "2021-06-05T20:34:21Z")

</div>

scala-arm does not seem updated anymore. https://github.com/jsuereth/scala-arm what are the best “automatic resource management” libraries?

---

## [Managerial: like Twitter Util's \`Managed\`, without the Twitter Util](https://users.scala-lang.org/t/managerial-like-twitter-utils-managed-without-the-twitter-util/7525)

<div class="topic-metadata">

**Author:** [@dvgica](https://users.scala-lang.org/u/dvgica)\
**Replies:** 0\
**Last updated:** [June 4, 2021, 1:40pm UTC](https://users.scala-lang.org/t/managerial-like-twitter-utils-managed-without-the-twitter-util/7525 "2021-06-04T13:40:17Z")

</div>

If you: like the style of Twitter Util Managed (resource composition via monads), don’t want the Twitter Util dependencies (or any dependencies at all), do want a nicer API, you may enjoy GitHub - dvgica/managerial: A…

---

## [PSBP-Library updated to Scala 3](https://users.scala-lang.org/t/psbp-library-updated-to-scala-3/7197)

<div class="topic-metadata">

**Author:** [@PSBP-Library](https://users.scala-lang.org/u/PSBP-Library)\
**Replies:** 0\
**Last updated:** [March 9, 2021, 1:33pm UTC](https://users.scala-lang.org/t/psbp-library-updated-to-scala-3/7197 "2021-03-09T13:33:50Z")

</div>

Now that Scala 3 is RC1 (language features are stable), I am, once again, updating my PSBP-Library. See https://github.com/PSBP-Library for the project. See https://psbp-library.github.io/ for documentation. All comm…

---

## [StringBuilder: append codepoint?](https://users.scala-lang.org/t/stringbuilder-append-codepoint/7110)

<div class="topic-metadata">

**Author:** [@curoli](https://users.scala-lang.org/u/curoli)\
**Replies:** 3\
**Last updated:** [February 5, 2021, 5:58pm UTC](https://users.scala-lang.org/t/stringbuilder-append-codepoint/7110 "2021-02-05T17:58:53Z")

</div>

I have a scala.collection.mutable.StringBuilder and would like to append a code point, but I don’t see a suitable method for it. On the other hand, there is a java.lang.StringBuilder.appendCodePoint. Thoughts? Thanks!

---

## [RxTags - simple reactive ScalaJS](https://users.scala-lang.org/t/rxtags-simple-reactive-scalajs/6928)

<div class="topic-metadata">

**Author:** [@sake92](https://users.scala-lang.org/u/sake92)\
**Replies:** 0\
**Last updated:** [November 29, 2020, 10:01am UTC](https://users.scala-lang.org/t/rxtags-simple-reactive-scalajs/6928 "2020-11-29T10:01:04Z")

</div>

Why? Looking at existing UI libraries I felt like we could have something simpler and beginner friendly in Scala. Just create a simple Var and render it! I looked into ReScala and it almost had everything, except DOM d…

---

## [Getting around the Option\[Seq\] constraint with play-json macros (Reads)](https://users.scala-lang.org/t/getting-around-the-option-seq-constraint-with-play-json-macros-reads/5362)

<div class="topic-metadata">

**Author:** [@anthony.cros](https://users.scala-lang.org/u/anthony.cros)\
**Replies:** 7\
**Last updated:** [November 28, 2020, 3:22am UTC](https://users.scala-lang.org/t/getting-around-the-option-seq-constraint-with-play-json-macros-reads/5362 "2020-11-28T03:22:09Z")

</div>

Not sure if cross-posting is ok, but trying my luck here… Upon reading JSON documents in play-json, it seems the code generated by the macros expects sequences to be enclosed in an Option if they may be empty. Is there …

---

## [TrieMap.getOrElseUpdate is Thread-safe?](https://users.scala-lang.org/t/triemap-getorelseupdate-is-thread-safe/6772)

<div class="topic-metadata">

**Author:** [@hnourhani](https://users.scala-lang.org/u/hnourhani)\
**Replies:** 5\
**Last updated:** [October 26, 2020, 7:19pm UTC](https://users.scala-lang.org/t/triemap-getorelseupdate-is-thread-safe/6772 "2020-10-26T19:19:30Z")

</div>

Hi guys is TrieMap.getOrElseUpdate a thread-safe method ? As is not mentioned in Java docs

---

## [Deep Learning libraries question](https://users.scala-lang.org/t/deep-learning-libraries-question/6577)

<div class="topic-metadata">

**Author:** [@Jetson](https://users.scala-lang.org/u/Jetson)\
**Replies:** 5\
**Last updated:** [September 17, 2020, 12:31am UTC](https://users.scala-lang.org/t/deep-learning-libraries-question/6577 "2020-09-17T00:31:10Z")

</div>

Hi folks, I am attempting to use an ML library to do some local prototyping, and have been looking at both Deeplearning4j and Deeplearning.scala. I was hoping someone can chime in as to what are some pros and cons for …

---

## [How to access Scala Reflection Library's string evaluation features?](https://users.scala-lang.org/t/how-to-access-scala-reflection-librarys-string-evaluation-features/6521)

<div class="topic-metadata">

**Author:** [@davips](https://users.scala-lang.org/u/davips)\
**Replies:** 4\
**Last updated:** [August 23, 2020, 4:06pm UTC](https://users.scala-lang.org/t/how-to-access-scala-reflection-librarys-string-evaluation-features/6521 "2020-08-23T16:06:32Z")

</div>

It seems something changed in Scala 2.13.3 in relation to some older version (2.12?) regarding reflection. I have this in build.sbt: libraryDependencies += "org.scala-lang" % "scala-reflect" % "2.13.3" but import scal…

---

## [Question on xml to json with weePickle or uPickle](https://users.scala-lang.org/t/question-on-xml-to-json-with-weepickle-or-upickle/6512)

<div class="topic-metadata">

**Author:** [@Maia](https://users.scala-lang.org/u/Maia)\
**Replies:** 1\
**Last updated:** [August 20, 2020, 11:02pm UTC](https://users.scala-lang.org/t/question-on-xml-to-json-with-weepickle-or-upickle/6512 "2020-08-20T23:02:34Z")

</div>

Hello, Is someone working with weePickle or uPickle. They are supposed to be able to convert xml file to json but I didn’t find the right way to do that. Could someone tell me how to do that if it is possible ?

---

## [Building a wrapper around Matlibplot for visualizations](https://users.scala-lang.org/t/building-a-wrapper-around-matlibplot-for-visualizations/6213)

<div class="topic-metadata">

**Author:** [@aliakhtar](https://users.scala-lang.org/u/aliakhtar)\
**Replies:** 5\
**Last updated:** [June 17, 2020, 5:31am UTC](https://users.scala-lang.org/t/building-a-wrapper-around-matlibplot-for-visualizations/6213 "2020-06-17T05:31:10Z")

</div>

I can’t find a great visualization library for Scala. It seems like it’d be pretty easy to write a wrapper library around python’s Matlibplot. Let the user set the path to their python binary, and provide their data usi…

---

## [Almond Scala Kernel API: Not Working](https://users.scala-lang.org/t/almond-scala-kernel-api-not-working/6209)

<div class="topic-metadata">

**Author:** [@acse-fk4517](https://users.scala-lang.org/u/acse-fk4517)\
**Replies:** 2\
**Last updated:** [June 15, 2020, 1:29pm UTC](https://users.scala-lang.org/t/almond-scala-kernel-api-not-working/6209 "2020-06-15T13:29:39Z")

</div>

Hi, I am writing a library that makes use of the almond scala kernel. I am following this example: Example I simplify this example to just the following in my code: def writeHTMLToJupyter()(implicit kernel: almond.ap…

---

## [Simple CLI app exercising Cats, Cats Effect, fs2](https://users.scala-lang.org/t/simple-cli-app-exercising-cats-cats-effect-fs2/5883)

<div class="topic-metadata">

**Author:** [@sangamon](https://users.scala-lang.org/u/sangamon)\
**Replies:** 0\
**Last updated:** [April 13, 2020, 8:58pm UTC](https://users.scala-lang.org/t/simple-cli-app-exercising-cats-cats-effect-fs2/5883 "2020-04-13T20:58:20Z")

</div>

I’m still pretty new to the Cats ecosystem, and I hadn’t looked into fs2 at all, yet (although I’ve been using it under the hood with http4s). In order to get my feet wet with fs2 and practice interoperating with Cats AP…

---

## [Scoverage sbt plugin missing from Maven Central](https://users.scala-lang.org/t/scoverage-sbt-plugin-missing-from-maven-central/5529)

<div class="topic-metadata">

**Author:** [@yawaramin](https://users.scala-lang.org/u/yawaramin)\
**Replies:** 0\
**Last updated:** [January 21, 2020, 3:46pm UTC](https://users.scala-lang.org/t/scoverage-sbt-plugin-missing-from-maven-central/5529 "2020-01-21T15:46:24Z")

</div>

Hi, I’ve filed an issue about this https://github.com/scoverage/sbt-scoverage/issues/301 But I’m curious to know, is anyone feeling the effect of this? Has anyone published a fork? Is there an alternative code coverage …

---

## [How to untar th .tgz format file in scala](https://users.scala-lang.org/t/how-to-untar-th-tgz-format-file-in-scala/5424)

<div class="topic-metadata">

**Author:** [@vkanam01](https://users.scala-lang.org/u/vkanam01)\
**Replies:** 0\
**Last updated:** [December 9, 2019, 11:29am UTC](https://users.scala-lang.org/t/how-to-untar-th-tgz-format-file-in-scala/5424 "2019-12-09T11:29:18Z")

</div>

How to untar the file which was in .tgz file. the below code is for unzip the file. From the below code how to write the untar the file. import java.io.{File, FileInputStream, FileOutputStream} import java.nio.file.{…

---

## [Get slick compatible with SBT 1.3.3](https://users.scala-lang.org/t/get-slick-compatible-with-sbt-1-3-3/5309)

<div class="topic-metadata">

**Author:** [@ashwinbhaskar](https://users.scala-lang.org/u/ashwinbhaskar)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 8:49am UTC](https://users.scala-lang.org/t/get-slick-compatible-with-sbt-1-3-3/5309 "2019-11-12T08:49:44Z")

</div>

Hi, I am trying to get slick to work with sbt 1.3.3. The progress can be found in my fork here in branch upgrade\_sbt. After a couple of days of fixing the errors I have stumbled into a blocker in the zinc code base where…

---

## [Cask Actors: Cask Actors: a tiny, lightweight, typed Scala Actor library](https://users.scala-lang.org/t/cask-actors-cask-actors-a-tiny-lightweight-typed-scala-actor-library/5265)

<div class="topic-metadata">

**Author:** [@lihaoyi](https://users.scala-lang.org/u/lihaoyi)\
**Replies:** 6\
**Last updated:** [November 7, 2019, 5:04am UTC](https://users.scala-lang.org/t/cask-actors-cask-actors-a-tiny-lightweight-typed-scala-actor-library/5265 "2019-11-07T05:04:44Z")

</div>

I’ve just published a new Actor library, Cask Actors: http://www.lihaoyi.com/cask/page/cask-actors.html This library aims at small-scale in-process use cases, where you want to model things using concurrent actors, bu…

---

## [How to publish Scala module to sonatype?](https://users.scala-lang.org/t/how-to-publish-scala-module-to-sonatype/4854)

<div class="topic-metadata">

**Author:** [@Mahadi](https://users.scala-lang.org/u/Mahadi)\
**Replies:** 2\
**Last updated:** [July 17, 2019, 10:26pm UTC](https://users.scala-lang.org/t/how-to-publish-scala-module-to-sonatype/4854 "2019-07-17T22:26:24Z")

</div>

I want to publish my module to sonatyple, but getting no complete guideline for it.

---

## [Providing a method on Seqs to count instances of each unique item?](https://users.scala-lang.org/t/providing-a-method-on-seqs-to-count-instances-of-each-unique-item/4829)

<div class="topic-metadata">

**Author:** [@julianzucker](https://users.scala-lang.org/u/julianzucker)\
**Replies:** 5\
**Last updated:** [July 13, 2019, 4:56pm UTC](https://users.scala-lang.org/t/providing-a-method-on-seqs-to-count-instances-of-each-unique-item/4829 "2019-07-13T16:56:44Z")

</div>

Hi, I’ve been using Scala for a bit over a year now, and I often find myself writing: seq.groupBy(x =\> x).view.mapValues(\_.length) Is this the best way to count the number of each item in a Seq? If not, please let me …

[Previous page](https://users.scala-lang.org/c/libraries/9.md)

[Next page](https://users.scala-lang.org/c/libraries/9.md?page=2)
