{ "info": { "author": "Prakash Gautam", "author_email": "info@pgautam.com.np", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Keyboard Heatmap\n\nThis project helps to create heatmap of keys in keyboard for some given text. Supports Nepali `\u0928\u0947\u092a\u093e\u0932\u0940` keyboard layout, the popular `\u092c\u0915\u092e\u093e\u0928`(bakamana) for now and the usual `qwerty` layout. Other layouts will be added in due course.\n\n# Installation\n\nUse pip to install \n```\npip install kbhmap\n```\n\nOr if you want the bleeding edge version, do the following\n\nClone the repository and run setup.\n```\ngit clone https://github.com/pranphy/KeyboardHeatmap\ncd KeyboardHeatmap\npython3 setup.py install\n```\nYou will find an executable `kbhmap` in your path. \n# Usage\n\n`kbhmap --help` shows the following\n\n\n```\nUsage: kbhmap [OPTIONS]\n\n a tool to generate the keyboard heatmap. It reads the text from the input\n file and generates the heatmap. The heatmap can be configured. The output\n heatmap image is saved in a file with name passed as the `output`\n parameter. The smoothness of the heatmap can be controlld with `-s\n --sigma` option. The resolution of th output image can be set with `-d\n --dpi` parameter.\n\nOptions:\n -i, --input TEXT input file name\n -o, --output TEXT output file name\n -l, --layout [qwerty|bakamana] keyboard layout to use\n -s, --sigma FLOAT sigma value to smoothen heatmap\n -c, --cmap TEXT colormap to use\n -d, --dpi INTEGER dpi of resulting image\n --help Show this message and exit.\n```\n\n# Example\nFor example if you want to see the heatmap of keys in a file named `test.txt` and\noutput the heatmap image as `heatmap_test.png` you will do the following\n```\nkbhmap -i test.txt -o heatmap_test.png\n```\n\nYou can configure other options. Cmap takes any valid matplotlib\ncolor map. passing `--dpi=100` sets the dpi of output image to 100. \nThe smoothing `--sigma` parameter is to smooth out the heatmap. Since\nthe keys have precise location they will have high density at the key\nlocation and sharp fall at th key edge. If sigma is supplied it \napplies gaussian smoothing to the heatmap to make it smoother and nicer.\n\n\nSee [notebook](https://github.com/pranphy/KeyboardHeatmap/blob/master/test/MakeHeatmap.ipynb) for usage as a library.\n\n# Outputs\nExample heatmap for QWERTY\n![An example heatmap](https://raw.githubusercontent.com/pranphy/KeyboardHeatmap/master/kbhmap/images/example_qwerty.png)\n\n\nExample heatmap for \u092c\u0915\u092e\u093e\u0928 \n![An example heatmap](https://raw.githubusercontent.com/pranphy/KeyboardHeatmap/master/kbhmap/images/example_bakamana.png)", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pranphy/KeyboardHeatmap", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "kbhmap", "package_url": "https://pypi.org/project/kbhmap/", "platform": "", "project_url": "https://pypi.org/project/kbhmap/", "project_urls": { "Homepage": "https://github.com/pranphy/KeyboardHeatmap" }, "release_url": "https://pypi.org/project/kbhmap/0.5.5/", "requires_dist": null, "requires_python": "", "summary": "", "version": "0.5.5" }, "last_serial": 5872032, "releases": { "0.5.2": [ { "comment_text": "", "digests": { "md5": "bde6fb922ceb327c81697c047623f102", "sha256": "dc4c4da8c5b59cc8cd4ab793d600b73d71259599babeba3343b01b8314eef561" }, "downloads": -1, "filename": "kbhmap-0.5.2.tar.gz", "has_sig": false, "md5_digest": "bde6fb922ceb327c81697c047623f102", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5526, "upload_time": "2019-09-23T07:14:36", "url": "https://files.pythonhosted.org/packages/a5/0a/bd0df154fcd2865be34c0960c9b0555b1003ea4beb5abf739406a5786cc7/kbhmap-0.5.2.tar.gz" } ], "0.5.4": [ { "comment_text": "", "digests": { "md5": "65ba90ede23cd28e9fe446eb7bf4cb2c", "sha256": "3b0ab96567eb64df57e8ac3aa2a399b1c9fcf35416a4e54ba9759f6d65d40b58" }, "downloads": -1, "filename": "kbhmap-0.5.4-py3.7.egg", "has_sig": false, "md5_digest": "65ba90ede23cd28e9fe446eb7bf4cb2c", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 1009664, "upload_time": "2019-09-23T07:46:38", "url": "https://files.pythonhosted.org/packages/da/e2/9a04749662716206bf2c36ecb43dfe325ab10b94b8f97d9cb560a05eb11d/kbhmap-0.5.4-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "9025409d95683018045f978862bbb791", "sha256": "394a6249d7ac180dc772a7315e109491962da3765aaaaa99bab9874737f51deb" }, "downloads": -1, "filename": "kbhmap-0.5.4.tar.gz", "has_sig": false, "md5_digest": "9025409d95683018045f978862bbb791", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5522, "upload_time": "2019-09-23T07:22:35", "url": "https://files.pythonhosted.org/packages/c6/70/8dc1c4c38868307de2a4b461c43271647cf202e98761170b1581a2d89559/kbhmap-0.5.4.tar.gz" } ], "0.5.5": [ { "comment_text": "", "digests": { "md5": "3cedf4325443c62c73a7593f65721787", "sha256": "83f79569eaf35c354a6175154ec8d3ca1cc7bb13d30a4b8b9f7be66c244337e5" }, "downloads": -1, "filename": "kbhmap-0.5.5.tar.gz", "has_sig": false, "md5_digest": "3cedf4325443c62c73a7593f65721787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1005738, "upload_time": "2019-09-23T07:46:42", "url": "https://files.pythonhosted.org/packages/45/ac/906fcdf5fe4662bf6557653d88fdcd8669b4b6b70dad2c9da1b5f95462a7/kbhmap-0.5.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3cedf4325443c62c73a7593f65721787", "sha256": "83f79569eaf35c354a6175154ec8d3ca1cc7bb13d30a4b8b9f7be66c244337e5" }, "downloads": -1, "filename": "kbhmap-0.5.5.tar.gz", "has_sig": false, "md5_digest": "3cedf4325443c62c73a7593f65721787", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1005738, "upload_time": "2019-09-23T07:46:42", "url": "https://files.pythonhosted.org/packages/45/ac/906fcdf5fe4662bf6557653d88fdcd8669b4b6b70dad2c9da1b5f95462a7/kbhmap-0.5.5.tar.gz" } ] }