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 and a matching console-style result.txt report 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.
  • Export Files: Optional -e/--export writes the scan payload to .neonloc/result.json and the rendered report to .neonloc/result.txt.

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.1.tar.gz (10.1 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.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: neonloc-0.5.1.tar.gz
  • Upload date:
  • Size: 10.1 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.1.tar.gz
Algorithm Hash digest
SHA256 cc6a010130bcb75c19054d4575a84bcc76ef49ff4ec0348e123c3c8317636390
MD5 7f8224b3ed4d425d47686e9955fd4425
BLAKE2b-256 6642a09ec5db0fc83a17bf717053012d8c1cf7ad01b149e74dd2a4fcbed68d81

See more details on using hashes here.

Provenance

The following attestation bundles were made for neonloc-0.5.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: neonloc-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b14b1c631a9313068288bc8ef729301f1657912a65dbfd730f55855a59eac294
MD5 7d43feedc8e39d3754c5ba7d9c8dd2c3
BLAKE2b-256 a6f3182df68fd6b17264abf8b7368459453825cda6070fb5af91eec1b00de5f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for neonloc-0.5.1-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