Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 2.1.3 instead.

Line Counter

This is a short utility script for counting lines in each file type in a directory and subdirectories

Installation

Using uv (recommended)

install globally

uv tool install linecounter-python

or run temporarily to check out:

uvx linecounter-python [OPTIONS]

Usage

linecounter_python.py [OPTIONS]

Options:

--target              -t      <directory>  Directory to analyze [default: .]
--no-default          -a                   Discard default list of globs [default: True]
--allow-hidden        -A                   Allow hidden files and directories (.)
--no-gitignore        -g                   Skip using rules from .gitignore [default: True]
--no-recurse          -r                   do not recurse into subdirectories [default: True]
--ignore              -i      <str>        Additional patterns to ignore (e.g. -i "*.log")
--install-completion                       Install completion for the current shell.
--show-completion                          Show completion for the current shell, to copy it or
                                           customize the installation.
--help                                     Show this message and exit
linec -i build *.egg-info dist
Click to expand output
Summary for: /home/.../linecounter

.py   :      110 lines
.md   :       53 lines
.toml :       14 lines
.lock :        8 lines

Download files

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

Source Distribution

linecounter_python-2.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

linecounter_python-2.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file linecounter_python-2.1.0.tar.gz.

File metadata

  • Download URL: linecounter_python-2.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.2

File hashes

Hashes for linecounter_python-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a86a8ba8336479acdedc84579d36a382ef52e960aec11725e2909429bb8999de
MD5 104b0d00f88ad459045221ae26c739b8
BLAKE2b-256 e33309eca9bb995d9cfe184088d0857d914dcfd7f385359f04ded9b840078ef2

See more details on using hashes here.

File details

Details for the file linecounter_python-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for linecounter_python-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 16964ee6337432b21371976a0afee9797b87d2229454b5fc45ee7150f1e9d761
MD5 a33bcaf81434510347638abba235f69c
BLAKE2b-256 3f46fb653c930a8bc65f35dd8eb733948907d6a4e19098ae665a25f1bbf9afff

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