Install & Compatibility
Where this runs
tested against v0.1.0.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
py 3.10
✕ build_error
✓ 29.5s
py 3.11
✕ build_error
✓ 28.3s
py 3.12
✕ build_error
✓ 29.2s
py 3.13
✕ build_error
✕ build_error
py 3.9
✕ build_error
✓ 32.9s
1061MB installed
● package 1061MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
PowerShap
✓ from powershap import PowerShap
Quickstart: fit a PowerShap selector on a classification dataset and get selected features.
from powershap import PowerShap
from sklearn.datasets import make_classification
from sklearn.ensemble import RandomForestClassifier
import pandas as pd
X, y = make_classification(n_samples=100, n_features=20, random_state=42)
X = pd.DataFrame(X, columns=[f'feature_{i}' for i in range(X.shape[1])])
selector = PowerShap(
model=RandomForestClassifier(),
power_analysis='auto', # automatic estimation
cv=5,
random_state=42
)
selector.fit(X, y)
print('Selected features:', selector.transform(X).columns.tolist())
Upgrade
Version history
0.1.0.1latest on PyPI · released Sep 25, 2025
Audit
Dependencies
No dependency data recorded yet.