A full python tool to gather statistics from your codebase.
Project description
Code Statistics
A full python tool to gather statistics from your codebase. It can be customized flexibly to fit your needs.
Quick Start
Install the package via pip:
pip install stats-code
Run the tool on your codebase:
stats-code
Or specify a directory:
stats-code /path/to/your/codebase
In default, the tool will read .gitignore file to exclude files and directories. But you can disable this behavior with --no-git flag:
stats-code --no-git
Development
Use uv (Recommand)
If you have uv installed, you can begin development with:
uv sync
Run the tool:
uv run -m src.stats_code
Use pip
Install development dependencies:
pip install -e .
Run the tool:
python -m src.stats_code
Project details
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 stats_code-0.1.5.tar.gz.
File metadata
- Download URL: stats_code-0.1.5.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b978ec480706db68762e72e5f239f55dcbc80cbb329274c3d8b74b9ece38b6
|
|
| MD5 |
f557a229c79deffb12faa92c6e527193
|
|
| BLAKE2b-256 |
53a6c296640da934da4dc5d22b2dfa3e42fe19fe273d440b620eab72aef52056
|
Provenance
The following attestation bundles were made for stats_code-0.1.5.tar.gz:
Publisher:
release.yml on LKLLLLLLLLLL/stats-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stats_code-0.1.5.tar.gz -
Subject digest:
75b978ec480706db68762e72e5f239f55dcbc80cbb329274c3d8b74b9ece38b6 - Sigstore transparency entry: 696524436
- Sigstore integration time:
-
Permalink:
LKLLLLLLLLLL/stats-code@827afcca1a9c8ec21d8bdffba6d845d9ffd2ca31 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/LKLLLLLLLLLL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@827afcca1a9c8ec21d8bdffba6d845d9ffd2ca31 -
Trigger Event:
push
-
Statement type:
File details
Details for the file stats_code-0.1.5-py3-none-any.whl.
File metadata
- Download URL: stats_code-0.1.5-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b02a78a9fe29c7285bc096850ac19e4574dc4c4cb2cf3192b72257f0955d97a1
|
|
| MD5 |
f1bb4d0345564b4eb8ec6d818d75a220
|
|
| BLAKE2b-256 |
35edf9be15637cbd54ed4dac0b96a777a0f13c4307780e543f2bfeff79149d75
|
Provenance
The following attestation bundles were made for stats_code-0.1.5-py3-none-any.whl:
Publisher:
release.yml on LKLLLLLLLLLL/stats-code
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
stats_code-0.1.5-py3-none-any.whl -
Subject digest:
b02a78a9fe29c7285bc096850ac19e4574dc4c4cb2cf3192b72257f0955d97a1 - Sigstore transparency entry: 696524453
- Sigstore integration time:
-
Permalink:
LKLLLLLLLLLL/stats-code@827afcca1a9c8ec21d8bdffba6d845d9ffd2ca31 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/LKLLLLLLLLLL
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@827afcca1a9c8ec21d8bdffba6d845d9ffd2ca31 -
Trigger Event:
push
-
Statement type: