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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pylcount-0.1.1.tar.gz | 3.4 kB | Without provenance | Details for pylcount-0.1.1.tar.gz |
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
|
Security for pylcount 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.