lopc (Lines of Python Code)
usage: lopc [-h] [-e EXCLUDE_DIR] [--no-defaults] [-v] TARGET [TARGET ...]
Count lines of Python code
positional arguments:
TARGET File or directory to scan (can be given multiple times)
optional arguments:
-h, --help show this help message and exit
-e EXCLUDE_DIR, --exclude-dir EXCLUDE_DIR
Add directory (and its subdirectories) to the
exclusion list. Can be given multiple times. Unix
shell-style wildcards (?*) are allowed. Default =
'venv', '.*' and '__pycache__'
--no-defaults Don't exclude any directories by default (use
--exclude-dir as needed)
-v, --verbose More output (can be given multiple times, default =
not verbose)
Install
(venv) $ pip install lopc
Run
(venv) $ lopc /home/markku/devel/lopc
/home/markku/devel/lopc Files: 4 Lines: 142
(venv) $ lopc /home/markku/devel/lopc -v
File: /home/markku/devel/lopc/setup.py (16 lines)
File: /home/markku/devel/lopc/lopc/__init__.py (0 lines)
File: /home/markku/devel/lopc/lopc/__main__.py (5 lines)
File: /home/markku/devel/lopc/lopc/lopc.py (121 lines)
/home/markku/devel/lopc Files: 4 Lines: 142
(venv) $ lopc /home/markku/devel/lopc -vv
Directory: /home/markku/devel/lopc
File: /home/markku/devel/lopc/setup.py (16 lines)
Directory: /home/markku/devel/lopc/lopc
File: /home/markku/devel/lopc/lopc/__init__.py (0 lines)
File: /home/markku/devel/lopc/lopc/__main__.py (5 lines)
File: /home/markku/devel/lopc/lopc/lopc.py (121 lines)
Directory: /home/markku/devel/lopc/lopc.egg-info
/home/markku/devel/lopc Files: 4 Lines: 142
Metadata
Release files for lopc 1.0.2
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 | |
|---|---|---|---|---|
| lopc-1.0.2.tar.gz | 3.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| lopc-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.2 kB
Release files / lopc-1.0.2.tar.gz
| Download URL | lopc-1.0.2.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c7482b95349cbf40804eaf244e39c915dab3437516f7a126ce1da2594096bfff
|
|
BLAKE2b-256 checksum How to use checksums |
dfd2128e74c15649dc4f09099edc11ea3e8bc81733bccc85788b42521e240325
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.3
|
Release files / lopc-1.0.2-py3-none-any.whl
| Download URL | lopc-1.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92d2118e816ca23634023ce0287e8db64b3a0db06a428b248f84b5359cc7858d
|
|
BLAKE2b-256 checksum How to use checksums |
7d3f8beabe83c99a7e1de1f850c044ac9e60e93ab5ed4d65b740ede728d984f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.7.3
|
Security for lopc 1.0.2
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.