Download apps/finance/services/__init__.py from jun2024/fc: direct link, hf CLI and curl.
- Browser
- Download file 697 Bytes
-
https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/finance/services/__init__.py
- Command line
-
hf download hf://spaces/jun2024/fc/apps/finance/services/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/jun2024/fc/resolve/main/apps/finance/services/__init__.py
697 Bytes
| """Finance模块服务层. | |
| 提供金融相关的业务逻辑服务,按功能模块划分: | |
| - lpr: LPR利率相关服务(查询、同步) | |
| - calculator: 金融计算服务(利息计算等) | |
| """ | |
| from __future__ import annotations | |
| # 计算模块 | |
| from apps.finance.services.calculator import CalculationPeriod, InterestCalculationResult, InterestCalculator | |
| # LPR模块 | |
| from apps.finance.services.lpr import LPRRateService, LPRSyncService, PrincipalPeriod, RateSegment | |
| __all__ = [ | |
| # LPR模块 | |
| "LPRRateService", | |
| "LPRSyncService", | |
| "PrincipalPeriod", | |
| "RateSegment", | |
| # 计算模块 | |
| "InterestCalculator", | |
| "InterestCalculationResult", | |
| "CalculationPeriod", | |
| ] | |