Awesome Open Source
Awesome Open Source

TapMap

Codacy BadgeDownloads

Generate high-quality, customizable keyboard heatmaps with a single command!


Installation:

Use pip install tapmap to install the package.

Usage:

tapmap --help will produce the following help message:

usage: tapmap [-h] [-d D] [-c C] input_file output_file

Generate a keyboard heatmap from a text file.

positional arguments:
  input_file   the name of the file to process
  output_file  the name of the .png file to output

optional arguments:
  -h, --help   show this help message and exit
  -d D         dpi of the output image (defaults to 600)
  -c C         matplotlib cmap argument:
               https://matplotlib.org/users/colormaps.html (defaults to
               "viridis")

To generate a keyboard heatmap map.png from an input file input.txt, use: tapmap input.txt map.png

Default CMap

TapMap also supports all matplotlib colormaps: tapmap input.txt map.png -c winter

Winter CMap

There are 79 colormaps to choose from, take your pick from the matplotlib reference.

Related Awesome Lists
Top Programming Languages
Top Projects

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Python (836,678
Numpy (6,038
Matplotlib (4,125
Heatmap (1,583