Skip to main content

NeonLoc

A blazingly fast, cyber-styled source code counter. Count your lines with pure edge.

PyPI version

NeonLoc Logo

Installation

Install directly from PyPI:

pip install neonloc

From source:

git clone https://github.com/debeski/neonloc.git
cd neonloc
pip install .

Usage

Simply run neonloc in your terminal and pass a directory. By default, it will use the current directory (.).

neonloc .

Or target a specific folder:

neonloc /path/to/project

List line metrics by layout-aware paths:

neonloc . -L auto

Use -L files, --list-loc dirs, or --list-loc both to force file, directory, or combined LOC tables. When -L is passed, NeonLoc shows only the detailed path table view plus the final scan summary.

Export the scan result as JSON:

neonloc . -e

Use -e or --export to write result.json under the scanned directory's .neonloc folder.

Features

  • Categorized Metrics: Distinct, color-coded tables for Code, Documentation, Config, Data, Markup, and Style.
  • Cyber Aesthetic: Pure neon glory in your terminal, rendered with Rich.
  • Lightning Fast: Scans and parses directories in the blink of an eye.
  • Language Support: Python, JavaScript, TypeScript, Go, C/C++, Rust, HTML, CSS, YAML, JSON, Markdown, Bash, Ruby, Java, PHP, Vue, Svelte, TOML, Dockerfile.
  • Deep Metrics: Counts true code logic, comments, blanks, and total lines.
  • Path LOC Tables: Optional file and directory tables replace the generic category report, with auto choosing flat, modular, or mixed layout output.
  • JSON Export: Optional -e/--export writes the scan payload to .neonloc/result.json.

View on PyPIView on GitHub

Download files

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

Source Distribution

neonloc-0.5.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

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

neonloc-0.5.0-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file neonloc-0.5.0.tar.gz.

File metadata

  • Download URL: neonloc-0.5.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for neonloc-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1a931e503f7b50459fc72fdf2631e8e2a61508da4afe814f895abaeec4781f56
MD5 83917e800ac82d46ceeb3e1525c32d1a
BLAKE2b-256 43d80e4c5c726cce7639eb8158fdef5402e6e528effca2282d22c8aa3b7f71ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for neonloc-0.5.0.tar.gz:

Publisher: release.yml on debeski/neonloc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neonloc-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: neonloc-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for neonloc-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76ee27dfe6cb348bd4ce91d04cdece4b9947444e4c81daa4802f075d0184d86b
MD5 c7d737176ff7657945db6205d4cd87ab
BLAKE2b-256 c12ebfcbe8a3da07c7b7987abcd0f42ee478d5155d554c989567e5b8ac0fee2b

See more details on using hashes here.

Provenance

The following attestation bundles were made for neonloc-0.5.0-py3-none-any.whl:

Publisher: release.yml on debeski/neonloc

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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