FactSet SDK Utilities
raw JSON → 2.1.2 verified Fri May 01 auth: no python
Utilities for interacting with FactSet APIs. Version 2.1.2 supports Python >=3.8, <4.0. Provides caching, retry, logging, and auth helpers for the FactSet SDK ecosystem. Released monthly on PyPI.
pip install fds-sdk-utils Common errors
error ModuleNotFoundError: No module named 'fds_sdk_utils' ↓
cause Package installed but the import path changed in v2.0.
fix
import from
fds.utils instead. error AttributeError: module 'fds' has no attribute 'utils' ↓
cause Missing subpackage import, usually because the package was installed but the subpackage wasn't imported.
fix
Run
pip install --upgrade fds-sdk-utils and ensure you use from fds.utils import .... Warnings
breaking In v2.0, the import path changed from `fds_sdk_utils` to `fds.utils`. Old imports will break. ↓
fix Change imports to `from fds.utils import ...`.
deprecated The `FactSetAuth` class has been deprecated in favor of `FDSAuth` in newer versions (v2.1+). ↓
fix Use `from fds.utils.auth import FDSAuth` instead.
gotcha Caching is disabled by default; you must explicitly configure a cache backend. Without it, repeated requests are not cached. ↓
fix Pass a cache instance to the utility function, e.g., `from fds.utils.cache import MemoryCache`.
Imports
- factset.utils wrong
from fds_sdk_utils import RetryConfigcorrectfrom fds.utils import RetryConfig
Quickstart
from fds.utils import RetryConfig
retry = RetryConfig(max_retries=3, backoff_factor=0.5)
print(retry)