langview
A CLI tool that shows a GitHub-style language breakdown bar for any Git project or directory right in the termilan.
Example:
Languages
████████████████████████████████████████████░░░░░░░░░░░░░░░░
● TypeScript 73.5% ● JavaScript 13.1%
● Markdown 9.5% ● JSON 2.3%
● HTML 1.0% ● YAML 0.4%
Install
pip install langview
Usage
# Run in a git repo
langview
# Point at any directory
langview ~/projects/my-app
# Wider bar
langview ~/projects/my-app --width 80
# If not a git repo or to scan all files included untracker, execute thsi command
langview ~/projects/my-app --walk
Options
| Flag | Default | Description |
|---|---|---|
path |
. |
Path to the project directory |
--width N |
60 |
Width of the language bar in characters |
--walk |
off | Walk the filesystem instead of using git ls-files |
Supported Languages
Python, TypeScript, JavaScript, Rust, Go, C, C++, Java, Kotlin, Swift, Ruby, PHP, C#, Shell, HTML, CSS, SCSS, JSON, YAML, TOML, Markdown, R, Julia, Lua, Elixir, Erlang, Haskell, OCaml, Dart, Vue, Svelte, Terraform, Makefile, DTrace, and more.
License
MIT
Metadata
Release files for langview 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| langview-0.1.2.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| langview-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.8 kB
Release files / langview-0.1.2.tar.gz
| Download URL | langview-0.1.2.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf60b3fb41b0244faae9e349b5d83da03374e880b693838649743ae37c3447f8
|
|
BLAKE2b-256 checksum How to use checksums |
50c7a514eb6b9449c827e5f051daaf53629cbc0e643b2509f5312e3e3be6542a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|
Release files / langview-0.1.2-py3-none-any.whl
| Download URL | langview-0.1.2-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2b386a41f01229e5fa9a4af70a9c74e87c71cef34ee361be76124b062e22538f
|
|
BLAKE2b-256 checksum How to use checksums |
a3fbdaecc88fc5266dc98f69552968e531217831b5a7658c84128aefc4f245e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.4
|