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
-
Install uv (if not already installed)
-
clone this repository
git clone git@github.com:opplaypro/linecounter.git cd linecounter
-
install globally with uv
uv tool install .
-
run script
linec
-
add extra arguments:
[path]: path do directory to count lines from (by default is current working directory -.)-a: ignore default exclusion list-A: ignore default exclusion list and include hidden (e.g..git) directories in search (not recommended)-i [dir_1] [dir_2]: include own directories and files to ignore (glob search)
Example usage:
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file linecounter_python-1.1.0.tar.gz.
File metadata
- Download URL: linecounter_python-1.1.0.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95c61d3b5a35f02de93eb108ae64da36d8cb8206ad56e097d55fced86c288ed1
|
|
| MD5 |
cfa8246490c690bf0b86c16995d9bf3e
|
|
| BLAKE2b-256 |
e43caef888185068c12095fdbd0d59e5cee40b1feb23997b504aa5e326136e5c
|
File details
Details for the file linecounter_python-1.1.0-py3-none-any.whl.
File metadata
- Download URL: linecounter_python-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a18ceb2a125655e921e72dddd379c79348c4a4d8bdd9fc97b3255209cb0fdc80
|
|
| MD5 |
675c0ccca87051f038ae88c42c73467f
|
|
| BLAKE2b-256 |
8102b794bc3f246fb029121fd4bddc05ff9b3b3fb621ca9a86ff66ed7c40b015
|