A tool to scan Android devices for ML model weight files via ADB.
pip install thebraincollectorfromtbcimportfind_ml_models, get_device_info# Get device informationinfo=get_device_info()
print(f"Device: {info['model']}")
# Find ML models on connected devicemodels=find_ml_models()tbc --help
tbc --file /path/to/file
tbc --local-dir /path/to/dir
tbc --export-csv results.csv --cleanupReturns device serial number, model, and manufacturer.
Searches connected Android device for ML model files.
Scans files for ML model or APK extensions.
Converts bytes to human-readable format.
Calculates MD5 hash of a file.
git clone https://github.com/dclavijo/TBC.git
cd TBC
pip install -e ".[test]"# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/MIT License - see LICENSE file for details.