Files
disknext/utils/__init__.py
于小丘 d8a229fccd Add Redis-based one-time download token support
Integrate Redis as a backend for one-time download token validation, with in-memory fallback. Added RedisManager for connection lifecycle, TokenStore for atomic token usage checks, and related configuration via environment variables. Updated download flow to ensure tokens are single-use, and improved API robustness for batch operations. Updated dependencies to include redis and cachetools.
2025-12-26 18:47:46 +08:00

3 lines
110 B
Python

from .password.pwd import Password, PasswordStatus
from .http import http_exceptions
from .conf import appmeta