A TUI interface for the CLOC code analysis tool, using the Textual framework.
Project description
CLOCTUI
CLOCTUI is a terminal user interface (TUI) for the CLOC code analysis tool, built using the Textual framework. It provides an interactive way to analyze code metrics directly from the terminal.
CLOCTUI runs CLOC under the hood and then displays the results in an interactive Textual table. It supports various features such as sorting and filtering the results, making it easier to analyze codebases.
How To Use
CLOCTUI is designed to be run from the command line using either pipx or uvx. It requires Python 3.10 or higher.
Enter the path you want to scan as the only argument:
uvx cloctui src
pipx run cloctui src
Both the above commands will run CLOC on the src directory and display the results.
A dot would likewise scan the current directory:
uvx cloctui .
Use the --help option for an explanation in your terminal.
Questions, issues, suggestions?
Feel free to post an issue.
Video
Coming soon!
Credits and License
CLOCTUI is developed by Edward Jazzhands
A core class for this project was copied from Stefano Stone: https://github.com/USIREVEAL/pycloc
It was modified by Edward Jazzhands (added all type hints and improved docstrings).
Both CLOCTUI and pycloc are licensed under the MIT License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cloctui-0.2.2.tar.gz.
File metadata
- Download URL: cloctui-0.2.2.tar.gz
- Upload date:
- Size: 79.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7843d65fdede5920bda75c108baafcb17f68b064fcb4d95202101f7a3f34cd3a
|
|
| MD5 |
abc5c04ddbf1f38f7d9ae0fb5df121a4
|
|
| BLAKE2b-256 |
fb168ade4912b5f68491438ee4a18f9d27c7a208451387ef24ad0d623237fe0c
|
File details
Details for the file cloctui-0.2.2-py3-none-any.whl.
File metadata
- Download URL: cloctui-0.2.2-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
560ac38e4368483929da85b177ef342510adeda9333b25f8aaa315bb6f6c49e9
|
|
| MD5 |
da1297250fb1d0e7c749cfc9503dd34d
|
|
| BLAKE2b-256 |
fc3be02cf809c25b7849e8634db5e0bc29b7fce2ea49ee7d4c46a6df8897a886
|