Skip to main content

PyLcount

PyLcount (python line count) is a line counter written in python that can count the lines with different search options using a command line interface.

Use pip to install pylcount:

pip install pylcount

How to use

You must use the pylcount command to be able to count the lines in a single file or in a directory using the count argument. Here is an example:

pylcount count ./pylcount

Or in just one file:

pylcount count ./pylcount/counter.py

You can also filter some files by their extension using the --ext flag, or ignore directories and files using the --ignore flag:

pylcount count ./pylcount --ignore ./venv --ext .py .md

In the above command, we are ignoring the venv directory and only getting the files with the .py and .md extensions.

License

This project uses the MIT License, see the LICENSE file in the root of the project for more information.

Release files for pylcount 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pylcount 0.1.1
File Size Uploaded
pylcount-0.1.1.tar.gz 3.4 kB Details

Release files / pylcount-0.1.1.tar.gz

Download URL pylcount-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c6592c2357502d06159bcd4ca9029af2d5cbc776508df060197e88f271c7b393
BLAKE2b-256 checksum
How to use checksums
d59a6442f5b92a8df3894958c4f599f5d52135831c5824cf04225f4f04c09886
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.4.2 requests/2.28.1 setuptools/63.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page