Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

langview-0.1.1.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

langview-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file langview-0.1.1.tar.gz.

File metadata

  • Download URL: langview-0.1.1.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for langview-0.1.1.tar.gz
Algorithm Hash digest
SHA256 58bb1c8dd746d8004268efba79ffc02d77f87b900ee70776ca05bb9c3497dad4
MD5 f266ca635497411b6952d0cd2aafd982
BLAKE2b-256 f7a4e3e9cb4a73bf56cd2c50e5a0af65ba33195b5e2a3de017ce069db5274314

See more details on using hashes here.

File details

Details for the file langview-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: langview-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for langview-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b90a8ebe7e16ee42a1b6b89e8928d44160b59416f5d41a6cb0eb42437e656dd0
MD5 91e3f64ce201c4e8f3cf78d12a7d5b35
BLAKE2b-256 d2ae64c5449ac4501ea8d199b473fc5fd8801d02632a9136519f59379af381db

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page