Izumi Project

izumi-logo

Izumi (*jp. 泉水, spring*) is an ecosystem of independent libraries and frameworks allowing you to significantly increase productivity of your Scala development.

including the following components:

  1. distage – Transparent and debuggable Dependency Injection framework for pure FP Scala,
  2. distage-testkit – Hyper-pragmatic pure FP Test framework. Shares heavy resources globally across all test suites; lets you easily swap implementations of component; uses your effect type for parallelism.
  3. distage-framework-docker – A distage extension for using docker containers in tests or for local application runs, comes with example Postgres, Cassandra, Kafka & DynamoDB containers.
  4. LogStage – Automatic structural logs from Scala string interpolations,
  5. BIO - A typeclass hierarchy for tagless final style with Bifunctor and Trifunctor effect types. Focused on ergonomics and ease of use with zero boilerplate.
  6. izumi-reflect (moved to zio/izumi-reflect) - Portable, lightweight and kind-polymorphic alternative to scala-reflect’s Typetag for Scala, Scala.js, Scala Native and (soon) Dotty
  7. IdeaLingua (moved to 7mind/idealingua-v1) – API Definition, Data Modeling and RPC language, optimized for fast prototyping – like gRPC or Swagger, but with a human face. Generates RPC servers and clients for Go, TypeScript, C# and Scala,
  8. Opinionated SBT plugins (moved to 7mind/sbtgen) – Reduces verbosity of SBT builds and introduces new features – inter-project shared test scopes and BOM plugins (from Maven)
  9. Percept-Plan-Execute-Repeat (PPER) – A pattern that enables modeling very complex domains and orchestrate deadly complex processes a lot easier than you’re used to.

Dependencies

To use, add the following into project/build.sbt,

libraryDependencies ++= Seq(
  // distage core library
  "io.7mind.izumi" %% "distage-core" % "0.10.19",
  // distage-testkit for ScalaTest
  "io.7mind.izumi" %% "distage-testkit-scalatest" % "0.10.19" % Test,
  // distage-framework: Roles, Entrypoints, Effect modules
  "io.7mind.izumi" %% "distage-framework" % "0.10.19",
  // Typesafe Config support
  "io.7mind.izumi" %% "distage-extension-config" % "0.10.19",
  // Classpath discovery support
  "io.7mind.izumi" %% "distage-extension-plugins" % "0.10.19",
  // LogStage integration with DIStage
  "io.7mind.izumi" %% "distage-extension-logstage" % "0.10.19",
  
  // LogStage core library
  "io.7mind.izumi" %% "logstage-core" % "0.10.19",
  // Write logs as JSON
  "io.7mind.izumi" %% "logstage-rendering-circe " % "0.10.19",
  // Route Slf4J logs to LogStage
  "io.7mind.izumi" %% "logstage-adapter-slf4j " % "0.10.19",
  // Route LogStage logs to Slf4J
  "io.7mind.izumi" %% "logstage-sink-slf4j " % "0.10.19",

)

Development

Documentation

Further reading

Example projects:

Support Chats:

Slides:

Videos:

Credits

YourKit

YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of YourKit Java Profiler YourKit .NET Profiler and YourKit YouMonitor.