$npx skillfedfor your agent

pygount

count source lines of code (SLOC) using pygments

Worth itPyPI Software DevelopmentReleased Apr 2026719.8K downloads / moBSD-3-ClausePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pygount-3.2.0-py3-none-any.whl
v3.2.0 · released 2026-04-08 · Python <4,>=3.10 · 4 runtime deps: chardet, gitpython, pygments, rich

Yes. Pygount is a stable, actively maintained tool with low install friction, no known vulnerabilities, and permissive licensing. Install it if you need to measure code volume across multiple languages or integrate SLOC reporting into your build pipeline.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction install with a pure Python wheel.
  • Actively maintained with a recent release (128 days ago) and an active repository; supports current Python versions (3.10–3.14).

License · maintenance · safety

BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you can use, modify, and distribute pygount freely in commercial and private projects with minimal restrictions.

last release 2026-04-08 (128 days) · last repo commit 2026-06-17 · 186 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 719,788 downloads/mo, #5,238 on PyPI

Verify before relying

pip install pygount
pygount ~/projects/example
pygount --format=summary ~/projects/example
Same gist for agents: .md · .json

What it is and what it does

Pygount is a command-line tool that scans directories or remote git repositories to count source lines of code (SLOC) across any programming language supported by pygments. It works similarly to sloccount and cloc but leverages pygments' language detection to analyze a wide range of file types without needing language-specific parsers.

You run it from the shell to get per-file line counts, language summaries with percentages, or export results in cloc-compatible XML format for integration with CI/CD systems like Jenkins. It can analyze local folders, filter by file suffix, and even check out specific git revisions directly from remote URLs without cloning.

Use it for

  • Generate SLOC reports for code review or project metrics in CI/CD pipelines.
  • Compare code volume across multiple programming languages in a single repository.
  • Export metrics in cloc XML format for ingestion by Jenkins or other build tools.
  • Analyze remote git repositories directly without downloading the full clone.
  • Filter analysis to specific file types (e.g., only .py and .yml files) for focused metrics.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Pygount is a stable, actively maintained tool with low install friction, no known vulnerabilities, and permissive licensing. Install it if you need to measure code volume across multiple languages or integrate SLOC reporting into your build pipeline.

Install

pygount on PyPI

Before you install

Low friction install with a pure Python wheel. Actively maintained with a recent release (128 days ago) and an active repository; supports current Python versions (3.10–3.14).

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute pygount freely in commercial and private projects with minimal restrictions.

Quickstart

pip install pygount
pygount ~/projects/example
pygount --format=summary ~/projects/example

Package facts

LicenseBSD-3-Clause permissive
Python supportSupports the current Python release <4,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
chardetgitpythonpygmentsrich
MaintenanceActively maintained 128 days since the last release
Last repo commit
First released
Downloads719,788 / month, #5,238 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development

Evidence: pygount-3.2.0-py3-none-any.whl

Tags

Capabilities
count lines of codesource code metricsSLOC analysis toolcode line counterpygments-based code analysisrepository code statisticsmulti-language line counter
Topics
code-metricscli-tool
PyPI keywords
SLOCcode analysiscount

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “count lines of code”

  • pygountPygount counts source lines of code (SLOC) across multiple…
  • lizardLizard analyzes code complexity and detects code clones across many…
  • backports.shutil_get_terminal_sizeProvides the get_terminal_size() function for Python versions that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also syllapy · Pygments · lizard · radon · django-querycount · thop · ipython-pygments-lexers · pytest-progress · ansible-pygments · jupyterlab-pygments