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.2.tar.gz (6.7 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.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: langview-0.1.2.tar.gz
  • Upload date:
  • Size: 6.7 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.2.tar.gz
Algorithm Hash digest
SHA256 bf60b3fb41b0244faae9e349b5d83da03374e880b693838649743ae37c3447f8
MD5 8efb986b99162ca4b0a1476c55ef6c0d
BLAKE2b-256 50c7a514eb6b9449c827e5f051daaf53629cbc0e643b2509f5312e3e3be6542a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: langview-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b386a41f01229e5fa9a4af70a9c74e87c71cef34ee361be76124b062e22538f
MD5 d127562ae05f38fbb63cac410443b26e
BLAKE2b-256 a3fbdaecc88fc5266dc98f69552968e531217831b5a7658c84128aefc4f245e2

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