GitHub-style language breakdown bar for any Git project
Project description
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
Project details
Release history Release notifications | RSS feed
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 langview-0.1.0.tar.gz.
File metadata
- Download URL: langview-0.1.0.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdca6d579467242f0b6e0a8bacfdcecd9631cae3ecaa50d9e1c1ccf3efc3da02
|
|
| MD5 |
0837ae4e5adf806ea1dbce0ef9d57540
|
|
| BLAKE2b-256 |
3ec48686afc854a020b5b93df0dfa79c666fd76d53de6439b4082972df2273a4
|
File details
Details for the file langview-0.1.0-py3-none-any.whl.
File metadata
- Download URL: langview-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9acb8feb125b20cc45cd2b0454eb4bc27147ac078591626e10aca74303bac2b9
|
|
| MD5 |
d6d05167cc7e6861ff6af5360162f096
|
|
| BLAKE2b-256 |
2b981206a9b161749707f468f6f42eb800c629b882460f2a9ee666c34d44ad76
|