dwijnand / tabular   0.1.0


A way to show data in tabular form

Tabular Apache 2 badge

A way to show data in tabular form

Tabular is a Scala library that provides extension methods for structured data, such as the Scala collections.

It's the Scala library equivalent of the vim plugin Tabular.

Here's are few examples of things you can do with tabular:

  • Showing maps, multimaps, collection of products and matrices:

  • Show the transitive dependencies in a play app:


Add this to your sbt build definitions, such as in build.sbt:

libraryDependencies += "com.dwijnand" %% "tabular" % "0.1.0"

For other build systems see the dependency information on Maven Central:


  1. Add import tabular._
  2. Invoke:
    • showkv on your maps to view the key-value pairs
    • showkvs on your multimaps (maps where the value is a collection) to view the key-values pairs
    • tabular on your collections specifying the columns you want in tabular form
    • showPs on your collection of products to view their properties
    • showM on your matrix (a collection of collections) to view your matrix



  • Scala 2.11.x or 2.10.x


Copyright 2015-2016 Dale Wijnand

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.