fs2-data
xml-spac
Our great sponsors
fs2-data | xml-spac | |
---|---|---|
2 | 3 | |
140 | 48 | |
2.9% | - | |
9.2 | 5.7 | |
3 days ago | 6 months ago | |
Scala | Scala | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fs2-data
-
How do I process gigabytes size file?
If it's a CSV file look at fs2-data.
-
I just released xml-spac 0.9! It's a library for handling streaming XML/JSON data by writing declarative-style consumers. Now with a native integration with Cats and FS2!
Yet another cool thing is that I added an integration with https://github.com/satabin/fs2-data which lets you use their parsing logic as the underlying event source instead of the Javax/StAX classes for XML, or instead of the Jackson library for JSON.
xml-spac
-
Advice on huge XML parsing
I would look closely at xml-spac. Its whole point is streaming of tree structures, and it supports both XML and JSON. It also lives within the "purely functional Scala" ecosystem, which means that it relies on underlying Typelevel libraries, avoids the "kitchen sink framework" problem (e.g. Spark), tries to make types as representative of what's going on as possible.
- I just released xml-spac 0.9! It's a library for handling streaming XML/JSON data by writing declarative-style consumers. Now with a native integration with Cats and FS2!
-
Scala XML library
You probably want XML Spac.
What are some alternatives?
todo-http4s-doobie - A sample project of a microservice using http4s, doobie, and circe.
phobos - Efficient and expressive XML data-binding library for Scala
kantan.csv - CSV handling library for Scala
A Tour of Scala - The standard Scala XML library
xs4s - XML Streaming for Scala including FS2/cats support
xtract - A library to make it easy to deserialize XML to user types in scala
Scala-CSV - CSV Reader/Writer for Scala
Phobos - Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
fm-flatfile - Scala Library for Reading Flat File Data (CSV/TSV/XLS/XLSX)
borer - Efficient CBOR and JSON (de)serialization in Scala
circe-yaml - YAML parser for circe using SnakeYAML
ExternData - :page_facing_up: Modelica library for data I/O of CSV, INI, JSON, MATLAB MAT, SSV, TIR, Excel XLS/XLSX and XML files