Registry / data / sensai-utils

sensai-utils

JSON →
library1.6.0pypypiunverified

sensai-utils is a Python library providing general-purpose utilities extracted from the larger sensAI project. It allows users to leverage various helper functions and classes (e.g., for caching, logging, data structures) without incurring the additional dependencies of the full sensAI library. The current version is 1.6.0, with minor version releases occurring regularly.

pip install sensai-utils
INSTALL
IMPORT
SIG · SENSAI-UTILS
S
sensai-utils
datapythonv1.6.0
Install
1.6s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.6.0 · 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
musl
py 3.103.920 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.7MB
glibc
py 3.103.920 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

configure
from sensai.utils.logging import configure
from sensai.utils.logging import configure

This quickstart demonstrates configuring the logging utility from `sensai.utils.logging`. It sets up a basic logger to write informational messages to a file.

from sensai.utils.logging import configure import logging import os # Configure a basic logger for demonstration log_file_path = os.path.join(os.getcwd(), 'sensai_utils_quickstart.log') configure(log_file_path=log_file_path, verbosity=logging.INFO) logger = logging.getLogger(__name__) logger.info('sensai-utils logging configured successfully!') print(f"Log messages written to: {log_file_path}")
Debug
Known issues
gotchaThe PyPI package name is `sensai-utils`, but the Python import path is `sensai.utils`. Attempting to import `sensai_utils` directly will result in an `ImportError`.
fix
Always use `from sensai.utils...` for imports.
affects: All versions
gotcha`sensai-utils` is a subset of the larger `sensAI` library, specifically designed to be used without `sensAI`'s full set of dependencies. While its utilities are general-purpose, for deep AI-related functionalities, consider installing the full `sensAI` library.
fix
Understand that `sensai-utils` is a standalone utility package; if you need AI-specific features, refer to the `sensAI` library documentation.
affects: All versions
gotchaDocumentation for `sensai-utils`'s `util` package is integrated into the main `sensAI` documentation. Users looking for detailed usage examples and API references should consult the `sensAI` documentation for the `util` package.
fix
Refer to the `sensAI` project's official documentation for comprehensive details on `sensai.utils` usage.
affects: All versions
Upgrade
Version history
1.6.0latest on PyPI · released Oct 20, 2025
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
18
OpenAI (training)
2
Resources
sensai-utils — pip install sensai-utils · libregistry