Command-line tool to scan Python and C source files and report function calls.
This project has been archived.
The maintainers of this project have marked this project as archived. No new releases are expected.
Project description
funccheck
funccheck is a command-line tool to scan Python and C source files and report function calls.
Supported file types:
- Python:
.py - C/C headers:
.c,.h
By default, user-defined symbols are excluded. Use -d/--def to include them.
Installation
From PyPI:
pip install funccheck
From source:
pip install .
Quick Start
Scan the current directory:
funccheck
Scan specific files/directories:
funccheck src tests some_file.py
CLI Options
-d,--def: include user-defined functions/classes in output.-c,--count: show counts likefunc (3).-n: print one function per line.-a,--all: merge all scanned results under one combined title.-v,--version: show installed version and exit.-h,--help: show help.
Output Examples
Default output (grouped by file):
src/funccheck/scanner.py:
set, int, print
With counts (-c):
src/funccheck/scanner.py:
set (4), int (2), print (1)
One-per-line (-n):
src/funccheck/scanner.py:
set
int
print
Merged output (-a):
src, tests:
set, int, print
More Examples
# Default scan
funccheck
# Include user-defined symbols
funccheck -d src
# Show counts
funccheck -c src
# One function per line
funccheck -n src
# Merge all input paths and show counts
funccheck -a -c src tests
Notes
- Files in common cache/venv/build directories are skipped automatically.
- If no calls are found,
funccheckprints:No function calls found.
License
MIT
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 funccheck-0.1.1.tar.gz.
File metadata
- Download URL: funccheck-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51ac14d42fe40075924b01ea752cd9d43c7905d216508058e436435fec9e80ac
|
|
| MD5 |
8f3eaefe020e940b996f2a62dee22bb7
|
|
| BLAKE2b-256 |
ef2dc412f0862031762c8e6f3a413f33c3b16768734fe92e27c0a61c5d5ec65b
|
Provenance
The following attestation bundles were made for funccheck-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on 2mdtln/funccheck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
funccheck-0.1.1.tar.gz -
Subject digest:
51ac14d42fe40075924b01ea752cd9d43c7905d216508058e436435fec9e80ac - Sigstore transparency entry: 1059792373
- Sigstore integration time:
-
Permalink:
2mdtln/funccheck@b97543d5102e9a414ecd3304e3ca36e04e2f6240 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/2mdtln
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b97543d5102e9a414ecd3304e3ca36e04e2f6240 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file funccheck-0.1.1-py3-none-any.whl.
File metadata
- Download URL: funccheck-0.1.1-py3-none-any.whl
- Upload date:
- Size: 6.8 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 |
a89e2a0b3aa7fbec6c2a7f10f141d77788e674a04be1d631daafb51569190614
|
|
| MD5 |
8f216548ae81bab863942cdeb3bb5aad
|
|
| BLAKE2b-256 |
0ad8f776f82127836f7b5786dd96e0652107aa3e8196afddc8b2342a5e821971
|
Provenance
The following attestation bundles were made for funccheck-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on 2mdtln/funccheck
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
funccheck-0.1.1-py3-none-any.whl -
Subject digest:
a89e2a0b3aa7fbec6c2a7f10f141d77788e674a04be1d631daafb51569190614 - Sigstore transparency entry: 1059792374
- Sigstore integration time:
-
Permalink:
2mdtln/funccheck@b97543d5102e9a414ecd3304e3ca36e04e2f6240 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/2mdtln
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@b97543d5102e9a414ecd3304e3ca36e04e2f6240 -
Trigger Event:
workflow_dispatch
-
Statement type: