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.2.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.2-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: neonloc-0.5.2.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.2.tar.gz
Algorithm Hash digest
SHA256 c46596e6a4ce6611007b592411b9ac49756ab547bcd1cf93f4a88b74a3290d8e
MD5 b90338b8e7ed0c1c33ddf51c4658b9bf
BLAKE2b-256 b54d05cd28a9f2e6758270ab6d7189235e93393228898d3fb515d3bfa61eec0d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: neonloc-0.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 699337b3d64c48edfed6665653d2c3057a429f16a5da9fbdf981f6e882f4dd97
MD5 028095baa79eab6cbb13d6d916f37506
BLAKE2b-256 fc46e1b89bce305b3a58bdbef39caee1d9ecbf8c5338a11dafa34cc960a58916

See more details on using hashes here.

Provenance

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