sprime

raw JSON →
0.2.2 verified Sat May 09 auth: no python

sprime is a biomedical library for screening high-throughput screening data in preclinical drug studies. Current version 0.2.2, requires Python >=3.8, released irregularly.

pip install sprime
error ModuleNotFoundError: No module named 'sprime'
cause Package not installed or import used incorrectly.
fix
Run 'pip install sprime' and then 'import sprime'.
error TypeError: compute_sprime() missing 1 required positional argument: 'data'
cause Missing required argument.
fix
Provide a data array: compute_sprime(data=your_data).
breaking v0.2.0 introduced breaking changes for S' values calculated from raw data. Old results are not comparable.
fix Upgrade to >=0.2.0 and re-run analysis with new API.
gotcha The package name 'sprime' is also the top-level module. Do not use 'from sprime import sprime', just import sprime.
fix Use 'import sprime' or 'from sprime import some_function'.
gotcha Data format must be numeric array-like (list or numpy array). Passing non-numeric data may cause cryptic errors.
fix Ensure input data is numeric (e.g., list of floats).

Basic usage: import the package and call compute_sprime.

import sprime
# Example: compute S' values (sprime's primary function)
result = sprime.compute_sprime(data=...)  # data should be a list or array
print(result)