****
Wilt
****
The simplest possible code metric::
W Whitespace
I Integrated over
L Lines of
T Text
An implementation of WILT from a great talk by Robert Smallshire called
Confronting Complexity [1]_ [2]_. In the talk there were quite a few other
visualisations that inspire development this package.
Install with::
pipx install Wilt
The metric can be calculated like::
$ wilt /usr/lib/python3.12/unittest/case.py
2677.75
$ wilt '/usr/lib/python3.12/**/*.py'
346219.0
$ echo " foo" | wilt -i 2 -
2.0
____
.. [1] https://www.youtube.com/watch?v=W44Ub5ykBY4
.. [2] http://ticosa.org/output/Robert%20Smallshire-Confronting%20Complexity-%20TICOSA%202014.pdf
Raw data
{
"_id": null,
"home_page": "https://heptapod.host/saajns/wilt",
"name": "Wilt",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "code-metrics code-quality",
"author": "saaj",
"author_email": "mail@saaj.me",
"download_url": "https://files.pythonhosted.org/packages/4e/f2/d620f5f328781ad3b932428d154753d2ac44261cf1b749eb1e29a34d74ff/Wilt-0.0.1.tar.gz",
"platform": null,
"description": "****\nWilt\n****\nThe simplest possible code metric::\n\n W Whitespace\n I Integrated over\n L Lines of\n T Text\n\nAn implementation of WILT from a great talk by Robert Smallshire called\nConfronting Complexity [1]_ [2]_. In the talk there were quite a few other\nvisualisations that inspire development this package.\n\nInstall with::\n\n pipx install Wilt\n\nThe metric can be calculated like::\n\n $ wilt /usr/lib/python3.12/unittest/case.py\n 2677.75\n\n $ wilt '/usr/lib/python3.12/**/*.py'\n 346219.0\n\n $ echo \" foo\" | wilt -i 2 -\n 2.0\n\n____\n\n.. [1] https://www.youtube.com/watch?v=W44Ub5ykBY4\n.. [2] http://ticosa.org/output/Robert%20Smallshire-Confronting%20Complexity-%20TICOSA%202014.pdf\n\n\n",
"bugtrack_url": null,
"license": "LGPL-3.0-only",
"summary": "A collection of codebase visualisations for architects",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://heptapod.host/saajns/wilt"
},
"split_keywords": [
"code-metrics",
"code-quality"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "33abe8ccec33297ca0febab305a768e7ad54f6de8e8f66f0831c297dcea31916",
"md5": "bdbbbf559f4da60f9f171e8340fcdadc",
"sha256": "c574d516a67fde102f3eaed99c6df0d10c04e592c17fa6761f875ffb2d3e4673"
},
"downloads": -1,
"filename": "Wilt-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "bdbbbf559f4da60f9f171e8340fcdadc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3626,
"upload_time": "2024-03-09T16:33:27",
"upload_time_iso_8601": "2024-03-09T16:33:27.120922Z",
"url": "https://files.pythonhosted.org/packages/33/ab/e8ccec33297ca0febab305a768e7ad54f6de8e8f66f0831c297dcea31916/Wilt-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "4ef2d620f5f328781ad3b932428d154753d2ac44261cf1b749eb1e29a34d74ff",
"md5": "26b331783f7c6e2f11e9b865f139ab4b",
"sha256": "c0fce624c840807fda032ae55310b0289cd6fdfb61125eb4ebd486341478dd20"
},
"downloads": -1,
"filename": "Wilt-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "26b331783f7c6e2f11e9b865f139ab4b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2673,
"upload_time": "2024-03-09T16:33:28",
"upload_time_iso_8601": "2024-03-09T16:33:28.998679Z",
"url": "https://files.pythonhosted.org/packages/4e/f2/d620f5f328781ad3b932428d154753d2ac44261cf1b749eb1e29a34d74ff/Wilt-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-09 16:33:28",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "wilt"
}