Skip to main content

CLOCTUI

badge badge badge badge Framework: Textual

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.

Metadata

Release files for cloctui 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloctui 0.2.4
File Size Uploaded
cloctui-0.2.4.tar.gz 80.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloctui 0.2.4
File Interpreter ABI Platform
cloctui-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 95.5 kB

Release files / cloctui-0.2.4.tar.gz

Download URL cloctui-0.2.4.tar.gz
Size 80.9 kB
Tags Source
SHA-256 checksum
How to use checksums
675d37c0e281d918665c74c76e83d6134585cdab7a744b55620c12bf31427f58
BLAKE2b-256 checksum
How to use checksums
398cccab84391cbdd5927ea143e5607b10b767e1340060e52ab201747324f0b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

Release files / cloctui-0.2.4-py3-none-any.whl

Download URL cloctui-0.2.4-py3-none-any.whl
Size 14.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a506b8d8920430d43696cbe77eabbee3525a7b2aaa464428f3f40ff75a0f137
BLAKE2b-256 checksum
How to use checksums
6ac97338acb7b32c545da929fe731dac4cb1a9bf4cd8ca2eae1ec171037c9e4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page