lixinger-python 0.3.22__py3-none-any.whl → 0.3.24__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- lixinger/__init__.py +12 -0
- lixinger/api/macro/__init__.py +27 -0
- lixinger/api/macro/crude_oil.py +119 -0
- lixinger/api/macro/gold_price.py +119 -0
- lixinger/api/macro/namespace.py +55 -1
- lixinger/api/macro/natural_gas.py +119 -0
- lixinger/api/macro/non_ferrous_metals.py +121 -0
- lixinger/api/macro/platinum_price.py +119 -0
- lixinger/api/macro/silver_price.py +119 -0
- lixinger/client.py +24 -0
- lixinger/models/cn/company/fund_shareholders.py +1 -1
- lixinger/models/cn/fund/shareholdings.py +1 -1
- lixinger/models/macro/__init__.py +12 -0
- lixinger/models/macro/crude_oil.py +20 -0
- lixinger/models/macro/gold_price.py +20 -0
- lixinger/models/macro/natural_gas.py +20 -0
- lixinger/models/macro/non_ferrous_metals.py +21 -0
- lixinger/models/macro/platinum_price.py +20 -0
- lixinger/models/macro/silver_price.py +20 -0
- {lixinger_python-0.3.22.dist-info → lixinger_python-0.3.24.dist-info}/METADATA +1 -1
- {lixinger_python-0.3.22.dist-info → lixinger_python-0.3.24.dist-info}/RECORD +23 -11
- {lixinger_python-0.3.22.dist-info → lixinger_python-0.3.24.dist-info}/WHEEL +0 -0
- {lixinger_python-0.3.22.dist-info → lixinger_python-0.3.24.dist-info}/licenses/LICENSE +0 -0
lixinger/__init__.py
CHANGED
|
@@ -56,9 +56,15 @@ from lixinger.api.cn.industry import (
|
|
|
56
56
|
get_industry_sw_margin_trading,
|
|
57
57
|
)
|
|
58
58
|
from lixinger.api.macro import (
|
|
59
|
+
get_crude_oil,
|
|
60
|
+
get_gold_price,
|
|
59
61
|
get_national_debt,
|
|
62
|
+
get_natural_gas,
|
|
63
|
+
get_non_ferrous_metals,
|
|
64
|
+
get_platinum_price,
|
|
60
65
|
get_rmb_deposits,
|
|
61
66
|
get_rmb_loans,
|
|
67
|
+
get_silver_price,
|
|
62
68
|
get_social_financing,
|
|
63
69
|
)
|
|
64
70
|
from lixinger.client import AsyncLixingerClient
|
|
@@ -135,4 +141,10 @@ __all__ = [
|
|
|
135
141
|
"get_rmb_deposits",
|
|
136
142
|
"get_rmb_loans",
|
|
137
143
|
"get_social_financing",
|
|
144
|
+
"get_gold_price",
|
|
145
|
+
"get_silver_price",
|
|
146
|
+
"get_platinum_price",
|
|
147
|
+
"get_crude_oil",
|
|
148
|
+
"get_natural_gas",
|
|
149
|
+
"get_non_ferrous_metals",
|
|
138
150
|
]
|
lixinger/api/macro/__init__.py
CHANGED
|
@@ -6,11 +6,26 @@ This module provides access to macroeconomic data APIs:
|
|
|
6
6
|
- rmb_deposits: 人民币存款 (/macro/rmb-deposits)
|
|
7
7
|
- rmb_loans: 人民币贷款 (/macro/rmb-loans)
|
|
8
8
|
- social_financing: 社会融资规模 (/macro/social-financing)
|
|
9
|
+
- gold_price: 黄金 (/macro/gold-price)
|
|
10
|
+
- silver_price: 白银 (/macro/silver-price)
|
|
11
|
+
- platinum_price: 铂金 (/macro/platinum-price)
|
|
12
|
+
- crude_oil: 原油 (/macro/crude-oil)
|
|
13
|
+
- natural_gas: 天然气 (/macro/natural-gas)
|
|
14
|
+
- non_ferrous_metals: 有色金属 (/macro/non-ferrous-metals)
|
|
9
15
|
"""
|
|
10
16
|
|
|
17
|
+
from lixinger.api.macro.crude_oil import CrudeOilAPI, get_crude_oil
|
|
18
|
+
from lixinger.api.macro.gold_price import GoldPriceAPI, get_gold_price
|
|
11
19
|
from lixinger.api.macro.national_debt import NationalDebtAPI, get_national_debt
|
|
20
|
+
from lixinger.api.macro.natural_gas import NaturalGasAPI, get_natural_gas
|
|
21
|
+
from lixinger.api.macro.non_ferrous_metals import (
|
|
22
|
+
NonFerrousMetalsAPI,
|
|
23
|
+
get_non_ferrous_metals,
|
|
24
|
+
)
|
|
25
|
+
from lixinger.api.macro.platinum_price import PlatinumPriceAPI, get_platinum_price
|
|
12
26
|
from lixinger.api.macro.rmb_deposits import RmbDepositsAPI, get_rmb_deposits
|
|
13
27
|
from lixinger.api.macro.rmb_loans import RmbLoansAPI, get_rmb_loans
|
|
28
|
+
from lixinger.api.macro.silver_price import SilverPriceAPI, get_silver_price
|
|
14
29
|
from lixinger.api.macro.social_financing import (
|
|
15
30
|
SocialFinancingAPI,
|
|
16
31
|
get_social_financing,
|
|
@@ -18,13 +33,25 @@ from lixinger.api.macro.social_financing import (
|
|
|
18
33
|
|
|
19
34
|
__all__ = [
|
|
20
35
|
# API Classes
|
|
36
|
+
"CrudeOilAPI",
|
|
37
|
+
"GoldPriceAPI",
|
|
21
38
|
"NationalDebtAPI",
|
|
39
|
+
"NaturalGasAPI",
|
|
40
|
+
"NonFerrousMetalsAPI",
|
|
41
|
+
"PlatinumPriceAPI",
|
|
22
42
|
"RmbDepositsAPI",
|
|
23
43
|
"RmbLoansAPI",
|
|
44
|
+
"SilverPriceAPI",
|
|
24
45
|
"SocialFinancingAPI",
|
|
25
46
|
# Functional APIs
|
|
47
|
+
"get_crude_oil",
|
|
48
|
+
"get_gold_price",
|
|
26
49
|
"get_national_debt",
|
|
50
|
+
"get_natural_gas",
|
|
51
|
+
"get_non_ferrous_metals",
|
|
52
|
+
"get_platinum_price",
|
|
27
53
|
"get_rmb_deposits",
|
|
28
54
|
"get_rmb_loans",
|
|
55
|
+
"get_silver_price",
|
|
29
56
|
"get_social_financing",
|
|
30
57
|
]
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"""原油 API."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
from lixinger.api.base import BaseAPI
|
|
8
|
+
from lixinger.models.macro.crude_oil import CrudeOil
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class CrudeOilAPI(BaseAPI):
|
|
14
|
+
"""原油 API."""
|
|
15
|
+
|
|
16
|
+
async def get_crude_oil(
|
|
17
|
+
self,
|
|
18
|
+
area_code: str,
|
|
19
|
+
start_date: str,
|
|
20
|
+
end_date: str,
|
|
21
|
+
metrics_list: list[str],
|
|
22
|
+
limit: int | None = None,
|
|
23
|
+
) -> pd.DataFrame:
|
|
24
|
+
"""获取原油数据.
|
|
25
|
+
|
|
26
|
+
获取国际原油现货价格数据. 可按时间范围获取WTI原油和布伦特原油现货价格数据.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /macro/crude-oil
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=macro/crude-oil
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
34
|
+
start_date: 信息起始时间 (YYYY-MM-DD, 北京时间), 开始和结束的时间间隔不超过10年.
|
|
35
|
+
end_date: 信息结束时间 (YYYY-MM-DD, 北京时间).
|
|
36
|
+
metrics_list: 指标列表, 例如 ``["wti_co_sp"]``.
|
|
37
|
+
支持的指标: ``wti_co_sp`` (WTI原油现货价格), ``brent_co_sp`` (布伦特原油现货价格).
|
|
38
|
+
limit: 返回最近数据的数量.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
DataFrame 包含以下列:
|
|
42
|
+
|
|
43
|
+
- date: 数据时间
|
|
44
|
+
- area_code: 地区代码
|
|
45
|
+
- 各请求指标 (如 wti_co_sp, brent_co_sp 等)
|
|
46
|
+
|
|
47
|
+
Example:
|
|
48
|
+
获取WTI原油现货价格::
|
|
49
|
+
|
|
50
|
+
from lixinger import AsyncLixingerClient
|
|
51
|
+
|
|
52
|
+
async with AsyncLixingerClient() as client:
|
|
53
|
+
df = await client.macro.crude_oil.get_crude_oil(
|
|
54
|
+
area_code="us",
|
|
55
|
+
start_date="2025-06-13",
|
|
56
|
+
end_date="2026-06-13",
|
|
57
|
+
metrics_list=["wti_co_sp"],
|
|
58
|
+
)
|
|
59
|
+
print(df)
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
payload: dict[str, Any] = {
|
|
63
|
+
"areaCode": area_code,
|
|
64
|
+
"startDate": start_date,
|
|
65
|
+
"endDate": end_date,
|
|
66
|
+
"metricsList": metrics_list,
|
|
67
|
+
}
|
|
68
|
+
if limit is not None:
|
|
69
|
+
payload["limit"] = limit
|
|
70
|
+
|
|
71
|
+
data = await self._request("POST", "/macro/crude-oil", json=payload)
|
|
72
|
+
return get_response_df(data, CrudeOil)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Functional API instance
|
|
76
|
+
_api_instance = CrudeOilAPI()
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@api
|
|
80
|
+
async def get_crude_oil(
|
|
81
|
+
area_code: str,
|
|
82
|
+
start_date: str,
|
|
83
|
+
end_date: str,
|
|
84
|
+
metrics_list: list[str],
|
|
85
|
+
limit: int | None = None,
|
|
86
|
+
) -> pd.DataFrame:
|
|
87
|
+
"""获取原油数据.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
91
|
+
start_date: 信息起始时间 (YYYY-MM-DD).
|
|
92
|
+
end_date: 信息结束时间 (YYYY-MM-DD).
|
|
93
|
+
metrics_list: 指标列表, 例如 ``["wti_co_sp"]``.
|
|
94
|
+
limit: 返回最近数据的数量.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
DataFrame 包含原油价格数据.
|
|
98
|
+
|
|
99
|
+
Example:
|
|
100
|
+
获取WTI原油现货价格::
|
|
101
|
+
|
|
102
|
+
from lixinger import get_crude_oil
|
|
103
|
+
|
|
104
|
+
df = await get_crude_oil(
|
|
105
|
+
area_code="us",
|
|
106
|
+
start_date="2025-06-13",
|
|
107
|
+
end_date="2026-06-13",
|
|
108
|
+
metrics_list=["wti_co_sp"],
|
|
109
|
+
)
|
|
110
|
+
print(df)
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
return await _api_instance.get_crude_oil(
|
|
114
|
+
area_code=area_code,
|
|
115
|
+
start_date=start_date,
|
|
116
|
+
end_date=end_date,
|
|
117
|
+
metrics_list=metrics_list,
|
|
118
|
+
limit=limit,
|
|
119
|
+
)
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"""黄金 API."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
from lixinger.api.base import BaseAPI
|
|
8
|
+
from lixinger.models.macro.gold_price import GoldPrice
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class GoldPriceAPI(BaseAPI):
|
|
14
|
+
"""黄金 API."""
|
|
15
|
+
|
|
16
|
+
async def get_gold_price(
|
|
17
|
+
self,
|
|
18
|
+
area_code: str,
|
|
19
|
+
start_date: str,
|
|
20
|
+
end_date: str,
|
|
21
|
+
metrics_list: list[str],
|
|
22
|
+
limit: int | None = None,
|
|
23
|
+
) -> pd.DataFrame:
|
|
24
|
+
"""获取黄金数据.
|
|
25
|
+
|
|
26
|
+
获取国际黄金现货价格数据. 可按时间范围获取伦敦金价格、上海金价格等数据.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /macro/gold-price
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=macro/gold-price
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
34
|
+
start_date: 信息起始时间 (YYYY-MM-DD, 北京时间), 开始和结束的时间间隔不超过10年.
|
|
35
|
+
end_date: 信息结束时间 (YYYY-MM-DD, 北京时间).
|
|
36
|
+
metrics_list: 指标列表, 例如 ``["lbma_pm_usd"]``.
|
|
37
|
+
支持的指标: ``lbma_pm_usd`` (伦敦金价格), ``sge_pm_cny`` (上海金价格).
|
|
38
|
+
limit: 返回最近数据的数量.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
DataFrame 包含以下列:
|
|
42
|
+
|
|
43
|
+
- date: 数据时间
|
|
44
|
+
- area_code: 地区代码
|
|
45
|
+
- 各请求指标 (如 lbma_pm_usd, sge_pm_cny 等)
|
|
46
|
+
|
|
47
|
+
Example:
|
|
48
|
+
获取伦敦金价格::
|
|
49
|
+
|
|
50
|
+
from lixinger import AsyncLixingerClient
|
|
51
|
+
|
|
52
|
+
async with AsyncLixingerClient() as client:
|
|
53
|
+
df = await client.macro.gold_price.get_gold_price(
|
|
54
|
+
area_code="us",
|
|
55
|
+
start_date="2025-06-13",
|
|
56
|
+
end_date="2026-06-13",
|
|
57
|
+
metrics_list=["lbma_pm_usd"],
|
|
58
|
+
)
|
|
59
|
+
print(df)
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
payload: dict[str, Any] = {
|
|
63
|
+
"areaCode": area_code,
|
|
64
|
+
"startDate": start_date,
|
|
65
|
+
"endDate": end_date,
|
|
66
|
+
"metricsList": metrics_list,
|
|
67
|
+
}
|
|
68
|
+
if limit is not None:
|
|
69
|
+
payload["limit"] = limit
|
|
70
|
+
|
|
71
|
+
data = await self._request("POST", "/macro/gold-price", json=payload)
|
|
72
|
+
return get_response_df(data, GoldPrice)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Functional API instance
|
|
76
|
+
_api_instance = GoldPriceAPI()
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@api
|
|
80
|
+
async def get_gold_price(
|
|
81
|
+
area_code: str,
|
|
82
|
+
start_date: str,
|
|
83
|
+
end_date: str,
|
|
84
|
+
metrics_list: list[str],
|
|
85
|
+
limit: int | None = None,
|
|
86
|
+
) -> pd.DataFrame:
|
|
87
|
+
"""获取黄金数据.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
91
|
+
start_date: 信息起始时间 (YYYY-MM-DD).
|
|
92
|
+
end_date: 信息结束时间 (YYYY-MM-DD).
|
|
93
|
+
metrics_list: 指标列表, 例如 ``["lbma_pm_usd"]``.
|
|
94
|
+
limit: 返回最近数据的数量.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
DataFrame 包含黄金价格数据.
|
|
98
|
+
|
|
99
|
+
Example:
|
|
100
|
+
获取伦敦金价格::
|
|
101
|
+
|
|
102
|
+
from lixinger import get_gold_price
|
|
103
|
+
|
|
104
|
+
df = await get_gold_price(
|
|
105
|
+
area_code="us",
|
|
106
|
+
start_date="2025-06-13",
|
|
107
|
+
end_date="2026-06-13",
|
|
108
|
+
metrics_list=["lbma_pm_usd"],
|
|
109
|
+
)
|
|
110
|
+
print(df)
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
return await _api_instance.get_gold_price(
|
|
114
|
+
area_code=area_code,
|
|
115
|
+
start_date=start_date,
|
|
116
|
+
end_date=end_date,
|
|
117
|
+
metrics_list=metrics_list,
|
|
118
|
+
limit=limit,
|
|
119
|
+
)
|
lixinger/api/macro/namespace.py
CHANGED
|
@@ -4,9 +4,15 @@ from typing import Any
|
|
|
4
4
|
|
|
5
5
|
import pandas as pd
|
|
6
6
|
|
|
7
|
+
from lixinger.api.macro.crude_oil import CrudeOilAPI
|
|
8
|
+
from lixinger.api.macro.gold_price import GoldPriceAPI
|
|
7
9
|
from lixinger.api.macro.national_debt import NationalDebtAPI
|
|
10
|
+
from lixinger.api.macro.natural_gas import NaturalGasAPI
|
|
11
|
+
from lixinger.api.macro.non_ferrous_metals import NonFerrousMetalsAPI
|
|
12
|
+
from lixinger.api.macro.platinum_price import PlatinumPriceAPI
|
|
8
13
|
from lixinger.api.macro.rmb_deposits import RmbDepositsAPI
|
|
9
14
|
from lixinger.api.macro.rmb_loans import RmbLoansAPI
|
|
15
|
+
from lixinger.api.macro.silver_price import SilverPriceAPI
|
|
10
16
|
from lixinger.api.macro.social_financing import SocialFinancingAPI
|
|
11
17
|
|
|
12
18
|
|
|
@@ -20,15 +26,27 @@ class MacroNamespace:
|
|
|
20
26
|
- rmb_deposits: 人民币存款 API
|
|
21
27
|
- rmb_loans: 人民币贷款 API
|
|
22
28
|
- social_financing: 社会融资 API
|
|
29
|
+
- gold_price: 黄金 API
|
|
30
|
+
- silver_price: 白银 API
|
|
31
|
+
- platinum_price: 铂金 API
|
|
32
|
+
- crude_oil: 原油 API
|
|
33
|
+
- natural_gas: 天然气 API
|
|
34
|
+
- non_ferrous_metals: 有色金属 API
|
|
23
35
|
|
|
24
36
|
"""
|
|
25
37
|
|
|
26
|
-
def __init__(
|
|
38
|
+
def __init__( # noqa: PLR0913
|
|
27
39
|
self,
|
|
28
40
|
national_debt: NationalDebtAPI,
|
|
29
41
|
rmb_deposits: RmbDepositsAPI,
|
|
30
42
|
rmb_loans: RmbLoansAPI,
|
|
31
43
|
social_financing: SocialFinancingAPI,
|
|
44
|
+
gold_price: GoldPriceAPI,
|
|
45
|
+
silver_price: SilverPriceAPI,
|
|
46
|
+
platinum_price: PlatinumPriceAPI,
|
|
47
|
+
crude_oil: CrudeOilAPI,
|
|
48
|
+
natural_gas: NaturalGasAPI,
|
|
49
|
+
non_ferrous_metals: NonFerrousMetalsAPI,
|
|
32
50
|
) -> None:
|
|
33
51
|
"""Initialize the macro namespace.
|
|
34
52
|
|
|
@@ -37,12 +55,24 @@ class MacroNamespace:
|
|
|
37
55
|
rmb_deposits: 人民币存款 API
|
|
38
56
|
rmb_loans: 人民币贷款 API
|
|
39
57
|
social_financing: 社会融资 API
|
|
58
|
+
gold_price: 黄金 API
|
|
59
|
+
silver_price: 白银 API
|
|
60
|
+
platinum_price: 铂金 API
|
|
61
|
+
crude_oil: 原油 API
|
|
62
|
+
natural_gas: 天然气 API
|
|
63
|
+
non_ferrous_metals: 有色金属 API
|
|
40
64
|
|
|
41
65
|
"""
|
|
42
66
|
self.national_debt = national_debt
|
|
43
67
|
self.rmb_deposits = rmb_deposits
|
|
44
68
|
self.rmb_loans = rmb_loans
|
|
45
69
|
self.social_financing = social_financing
|
|
70
|
+
self.gold_price = gold_price
|
|
71
|
+
self.silver_price = silver_price
|
|
72
|
+
self.platinum_price = platinum_price
|
|
73
|
+
self.crude_oil = crude_oil
|
|
74
|
+
self.natural_gas = natural_gas
|
|
75
|
+
self.non_ferrous_metals = non_ferrous_metals
|
|
46
76
|
|
|
47
77
|
# Convenience aliases for shorter access
|
|
48
78
|
async def get_national_debt(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
@@ -60,3 +90,27 @@ class MacroNamespace:
|
|
|
60
90
|
async def get_social_financing(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
61
91
|
"""Alias for social_financing.get_social_financing."""
|
|
62
92
|
return await self.social_financing.get_social_financing(*args, **kwargs)
|
|
93
|
+
|
|
94
|
+
async def get_gold_price(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
95
|
+
"""Alias for gold_price.get_gold_price."""
|
|
96
|
+
return await self.gold_price.get_gold_price(*args, **kwargs)
|
|
97
|
+
|
|
98
|
+
async def get_silver_price(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
99
|
+
"""Alias for silver_price.get_silver_price."""
|
|
100
|
+
return await self.silver_price.get_silver_price(*args, **kwargs)
|
|
101
|
+
|
|
102
|
+
async def get_platinum_price(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
103
|
+
"""Alias for platinum_price.get_platinum_price."""
|
|
104
|
+
return await self.platinum_price.get_platinum_price(*args, **kwargs)
|
|
105
|
+
|
|
106
|
+
async def get_crude_oil(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
107
|
+
"""Alias for crude_oil.get_crude_oil."""
|
|
108
|
+
return await self.crude_oil.get_crude_oil(*args, **kwargs)
|
|
109
|
+
|
|
110
|
+
async def get_natural_gas(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
111
|
+
"""Alias for natural_gas.get_natural_gas."""
|
|
112
|
+
return await self.natural_gas.get_natural_gas(*args, **kwargs)
|
|
113
|
+
|
|
114
|
+
async def get_non_ferrous_metals(self, *args: Any, **kwargs: Any) -> pd.DataFrame:
|
|
115
|
+
"""Alias for non_ferrous_metals.get_non_ferrous_metals."""
|
|
116
|
+
return await self.non_ferrous_metals.get_non_ferrous_metals(*args, **kwargs)
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"""天然气 API."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
from lixinger.api.base import BaseAPI
|
|
8
|
+
from lixinger.models.macro.natural_gas import NaturalGas
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class NaturalGasAPI(BaseAPI):
|
|
14
|
+
"""天然气 API."""
|
|
15
|
+
|
|
16
|
+
async def get_natural_gas(
|
|
17
|
+
self,
|
|
18
|
+
area_code: str,
|
|
19
|
+
start_date: str,
|
|
20
|
+
end_date: str,
|
|
21
|
+
metrics_list: list[str],
|
|
22
|
+
limit: int | None = None,
|
|
23
|
+
) -> pd.DataFrame:
|
|
24
|
+
"""获取天然气数据.
|
|
25
|
+
|
|
26
|
+
获取国际天然气现货价格数据. 可按时间范围获取亨利港天然气现货价格数据.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /macro/natural-gas
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=macro/natural-gas
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
34
|
+
start_date: 信息起始时间 (YYYY-MM-DD, 北京时间), 开始和结束的时间间隔不超过10年.
|
|
35
|
+
end_date: 信息结束时间 (YYYY-MM-DD, 北京时间).
|
|
36
|
+
metrics_list: 指标列表, 例如 ``["hh_ng_sp"]``.
|
|
37
|
+
支持的指标: ``hh_ng_sp`` (亨利港天然气现货价格).
|
|
38
|
+
limit: 返回最近数据的数量.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
DataFrame 包含以下列:
|
|
42
|
+
|
|
43
|
+
- date: 数据时间
|
|
44
|
+
- area_code: 地区代码
|
|
45
|
+
- 各请求指标 (如 hh_ng_sp 等)
|
|
46
|
+
|
|
47
|
+
Example:
|
|
48
|
+
获取亨利港天然气现货价格::
|
|
49
|
+
|
|
50
|
+
from lixinger import AsyncLixingerClient
|
|
51
|
+
|
|
52
|
+
async with AsyncLixingerClient() as client:
|
|
53
|
+
df = await client.macro.natural_gas.get_natural_gas(
|
|
54
|
+
area_code="us",
|
|
55
|
+
start_date="2025-06-13",
|
|
56
|
+
end_date="2026-06-13",
|
|
57
|
+
metrics_list=["hh_ng_sp"],
|
|
58
|
+
)
|
|
59
|
+
print(df)
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
payload: dict[str, Any] = {
|
|
63
|
+
"areaCode": area_code,
|
|
64
|
+
"startDate": start_date,
|
|
65
|
+
"endDate": end_date,
|
|
66
|
+
"metricsList": metrics_list,
|
|
67
|
+
}
|
|
68
|
+
if limit is not None:
|
|
69
|
+
payload["limit"] = limit
|
|
70
|
+
|
|
71
|
+
data = await self._request("POST", "/macro/natural-gas", json=payload)
|
|
72
|
+
return get_response_df(data, NaturalGas)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Functional API instance
|
|
76
|
+
_api_instance = NaturalGasAPI()
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@api
|
|
80
|
+
async def get_natural_gas(
|
|
81
|
+
area_code: str,
|
|
82
|
+
start_date: str,
|
|
83
|
+
end_date: str,
|
|
84
|
+
metrics_list: list[str],
|
|
85
|
+
limit: int | None = None,
|
|
86
|
+
) -> pd.DataFrame:
|
|
87
|
+
"""获取天然气数据.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
91
|
+
start_date: 信息起始时间 (YYYY-MM-DD).
|
|
92
|
+
end_date: 信息结束时间 (YYYY-MM-DD).
|
|
93
|
+
metrics_list: 指标列表, 例如 ``["hh_ng_sp"]``.
|
|
94
|
+
limit: 返回最近数据的数量.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
DataFrame 包含天然气价格数据.
|
|
98
|
+
|
|
99
|
+
Example:
|
|
100
|
+
获取亨利港天然气现货价格::
|
|
101
|
+
|
|
102
|
+
from lixinger import get_natural_gas
|
|
103
|
+
|
|
104
|
+
df = await get_natural_gas(
|
|
105
|
+
area_code="us",
|
|
106
|
+
start_date="2025-06-13",
|
|
107
|
+
end_date="2026-06-13",
|
|
108
|
+
metrics_list=["hh_ng_sp"],
|
|
109
|
+
)
|
|
110
|
+
print(df)
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
return await _api_instance.get_natural_gas(
|
|
114
|
+
area_code=area_code,
|
|
115
|
+
start_date=start_date,
|
|
116
|
+
end_date=end_date,
|
|
117
|
+
metrics_list=metrics_list,
|
|
118
|
+
limit=limit,
|
|
119
|
+
)
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"""有色金属 API."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
from lixinger.api.base import BaseAPI
|
|
8
|
+
from lixinger.models.macro.non_ferrous_metals import NonFerrousMetals
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class NonFerrousMetalsAPI(BaseAPI):
|
|
14
|
+
"""有色金属 API."""
|
|
15
|
+
|
|
16
|
+
async def get_non_ferrous_metals(
|
|
17
|
+
self,
|
|
18
|
+
area_code: str,
|
|
19
|
+
start_date: str,
|
|
20
|
+
end_date: str,
|
|
21
|
+
metrics_list: list[str],
|
|
22
|
+
limit: int | None = None,
|
|
23
|
+
) -> pd.DataFrame:
|
|
24
|
+
"""获取有色金属数据.
|
|
25
|
+
|
|
26
|
+
获取有色金属数据. 可按时间范围获取伦敦铜、锌、铅、铝、镍、锡等有色金属现货价格数据.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /macro/non-ferrous-metals
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=macro/non-ferrous-metals
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
34
|
+
start_date: 信息起始时间 (YYYY-MM-DD, 北京时间), 开始和结束的时间间隔不超过10年.
|
|
35
|
+
end_date: 信息结束时间 (YYYY-MM-DD, 北京时间).
|
|
36
|
+
metrics_list: 指标列表, 例如 ``["l_cu_p"]``.
|
|
37
|
+
支持的指标: ``l_cu_p`` (伦敦铜价格), ``l_zn_p`` (伦敦锌价格),
|
|
38
|
+
``l_pb_p`` (伦敦铅价格), ``l_al_p`` (伦敦铝价格),
|
|
39
|
+
``l_ni_p`` (伦敦镍价格), ``l_sn_p`` (伦敦锡价格).
|
|
40
|
+
limit: 返回最近数据的数量.
|
|
41
|
+
|
|
42
|
+
Returns:
|
|
43
|
+
DataFrame 包含以下列:
|
|
44
|
+
|
|
45
|
+
- date: 数据时间
|
|
46
|
+
- area_code: 地区代码
|
|
47
|
+
- 各请求指标 (如 l_cu_p, l_zn_p 等)
|
|
48
|
+
|
|
49
|
+
Example:
|
|
50
|
+
获取伦敦铜价格::
|
|
51
|
+
|
|
52
|
+
from lixinger import AsyncLixingerClient
|
|
53
|
+
|
|
54
|
+
async with AsyncLixingerClient() as client:
|
|
55
|
+
df = await client.macro.non_ferrous_metals.get_non_ferrous_metals(
|
|
56
|
+
area_code="us",
|
|
57
|
+
start_date="2025-06-13",
|
|
58
|
+
end_date="2026-06-13",
|
|
59
|
+
metrics_list=["l_cu_p"],
|
|
60
|
+
)
|
|
61
|
+
print(df)
|
|
62
|
+
|
|
63
|
+
"""
|
|
64
|
+
payload: dict[str, Any] = {
|
|
65
|
+
"areaCode": area_code,
|
|
66
|
+
"startDate": start_date,
|
|
67
|
+
"endDate": end_date,
|
|
68
|
+
"metricsList": metrics_list,
|
|
69
|
+
}
|
|
70
|
+
if limit is not None:
|
|
71
|
+
payload["limit"] = limit
|
|
72
|
+
|
|
73
|
+
data = await self._request("POST", "/macro/non-ferrous-metals", json=payload)
|
|
74
|
+
return get_response_df(data, NonFerrousMetals)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
# Functional API instance
|
|
78
|
+
_api_instance = NonFerrousMetalsAPI()
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
@api
|
|
82
|
+
async def get_non_ferrous_metals(
|
|
83
|
+
area_code: str,
|
|
84
|
+
start_date: str,
|
|
85
|
+
end_date: str,
|
|
86
|
+
metrics_list: list[str],
|
|
87
|
+
limit: int | None = None,
|
|
88
|
+
) -> pd.DataFrame:
|
|
89
|
+
"""获取有色金属数据.
|
|
90
|
+
|
|
91
|
+
Args:
|
|
92
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
93
|
+
start_date: 信息起始时间 (YYYY-MM-DD).
|
|
94
|
+
end_date: 信息结束时间 (YYYY-MM-DD).
|
|
95
|
+
metrics_list: 指标列表, 例如 ``["l_cu_p"]``.
|
|
96
|
+
limit: 返回最近数据的数量.
|
|
97
|
+
|
|
98
|
+
Returns:
|
|
99
|
+
DataFrame 包含有色金属价格数据.
|
|
100
|
+
|
|
101
|
+
Example:
|
|
102
|
+
获取伦敦铜价格::
|
|
103
|
+
|
|
104
|
+
from lixinger import get_non_ferrous_metals
|
|
105
|
+
|
|
106
|
+
df = await get_non_ferrous_metals(
|
|
107
|
+
area_code="us",
|
|
108
|
+
start_date="2025-06-13",
|
|
109
|
+
end_date="2026-06-13",
|
|
110
|
+
metrics_list=["l_cu_p"],
|
|
111
|
+
)
|
|
112
|
+
print(df)
|
|
113
|
+
|
|
114
|
+
"""
|
|
115
|
+
return await _api_instance.get_non_ferrous_metals(
|
|
116
|
+
area_code=area_code,
|
|
117
|
+
start_date=start_date,
|
|
118
|
+
end_date=end_date,
|
|
119
|
+
metrics_list=metrics_list,
|
|
120
|
+
limit=limit,
|
|
121
|
+
)
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"""铂金 API."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
from lixinger.api.base import BaseAPI
|
|
8
|
+
from lixinger.models.macro.platinum_price import PlatinumPrice
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class PlatinumPriceAPI(BaseAPI):
|
|
14
|
+
"""铂金 API."""
|
|
15
|
+
|
|
16
|
+
async def get_platinum_price(
|
|
17
|
+
self,
|
|
18
|
+
area_code: str,
|
|
19
|
+
start_date: str,
|
|
20
|
+
end_date: str,
|
|
21
|
+
metrics_list: list[str],
|
|
22
|
+
limit: int | None = None,
|
|
23
|
+
) -> pd.DataFrame:
|
|
24
|
+
"""获取铂金数据.
|
|
25
|
+
|
|
26
|
+
获取国际铂金现货价格数据. 可按照时间范围获取伦敦铂金现货价格数据.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /macro/platinum-price
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=macro/platinum-price
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
34
|
+
start_date: 信息起始时间 (YYYY-MM-DD, 北京时间), 开始和结束的时间间隔不超过10年.
|
|
35
|
+
end_date: 信息结束时间 (YYYY-MM-DD, 北京时间).
|
|
36
|
+
metrics_list: 指标列表, 例如 ``["pl_usd"]``.
|
|
37
|
+
支持的指标: ``pl_usd`` (伦敦铂金价格).
|
|
38
|
+
limit: 返回最近数据的数量.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
DataFrame 包含以下列:
|
|
42
|
+
|
|
43
|
+
- date: 数据时间
|
|
44
|
+
- area_code: 地区代码
|
|
45
|
+
- 各请求指标 (如 pl_usd 等)
|
|
46
|
+
|
|
47
|
+
Example:
|
|
48
|
+
获取伦敦铂金价格::
|
|
49
|
+
|
|
50
|
+
from lixinger import AsyncLixingerClient
|
|
51
|
+
|
|
52
|
+
async with AsyncLixingerClient() as client:
|
|
53
|
+
df = await client.macro.platinum_price.get_platinum_price(
|
|
54
|
+
area_code="us",
|
|
55
|
+
start_date="2025-06-13",
|
|
56
|
+
end_date="2026-06-13",
|
|
57
|
+
metrics_list=["pl_usd"],
|
|
58
|
+
)
|
|
59
|
+
print(df)
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
payload: dict[str, Any] = {
|
|
63
|
+
"areaCode": area_code,
|
|
64
|
+
"startDate": start_date,
|
|
65
|
+
"endDate": end_date,
|
|
66
|
+
"metricsList": metrics_list,
|
|
67
|
+
}
|
|
68
|
+
if limit is not None:
|
|
69
|
+
payload["limit"] = limit
|
|
70
|
+
|
|
71
|
+
data = await self._request("POST", "/macro/platinum-price", json=payload)
|
|
72
|
+
return get_response_df(data, PlatinumPrice)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Functional API instance
|
|
76
|
+
_api_instance = PlatinumPriceAPI()
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@api
|
|
80
|
+
async def get_platinum_price(
|
|
81
|
+
area_code: str,
|
|
82
|
+
start_date: str,
|
|
83
|
+
end_date: str,
|
|
84
|
+
metrics_list: list[str],
|
|
85
|
+
limit: int | None = None,
|
|
86
|
+
) -> pd.DataFrame:
|
|
87
|
+
"""获取铂金数据.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
91
|
+
start_date: 信息起始时间 (YYYY-MM-DD).
|
|
92
|
+
end_date: 信息结束时间 (YYYY-MM-DD).
|
|
93
|
+
metrics_list: 指标列表, 例如 ``["pl_usd"]``.
|
|
94
|
+
limit: 返回最近数据的数量.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
DataFrame 包含铂金价格数据.
|
|
98
|
+
|
|
99
|
+
Example:
|
|
100
|
+
获取伦敦铂金价格::
|
|
101
|
+
|
|
102
|
+
from lixinger import get_platinum_price
|
|
103
|
+
|
|
104
|
+
df = await get_platinum_price(
|
|
105
|
+
area_code="us",
|
|
106
|
+
start_date="2025-06-13",
|
|
107
|
+
end_date="2026-06-13",
|
|
108
|
+
metrics_list=["pl_usd"],
|
|
109
|
+
)
|
|
110
|
+
print(df)
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
return await _api_instance.get_platinum_price(
|
|
114
|
+
area_code=area_code,
|
|
115
|
+
start_date=start_date,
|
|
116
|
+
end_date=end_date,
|
|
117
|
+
metrics_list=metrics_list,
|
|
118
|
+
limit=limit,
|
|
119
|
+
)
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
"""白银 API."""
|
|
2
|
+
|
|
3
|
+
from typing import Any
|
|
4
|
+
|
|
5
|
+
import pandas as pd
|
|
6
|
+
|
|
7
|
+
from lixinger.api.base import BaseAPI
|
|
8
|
+
from lixinger.models.macro.silver_price import SilverPrice
|
|
9
|
+
from lixinger.utils.api import api
|
|
10
|
+
from lixinger.utils.dataframe import get_response_df
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
class SilverPriceAPI(BaseAPI):
|
|
14
|
+
"""白银 API."""
|
|
15
|
+
|
|
16
|
+
async def get_silver_price(
|
|
17
|
+
self,
|
|
18
|
+
area_code: str,
|
|
19
|
+
start_date: str,
|
|
20
|
+
end_date: str,
|
|
21
|
+
metrics_list: list[str],
|
|
22
|
+
limit: int | None = None,
|
|
23
|
+
) -> pd.DataFrame:
|
|
24
|
+
"""获取白银数据.
|
|
25
|
+
|
|
26
|
+
获取国际白银现货价格数据. 可按照时间范围获取伦敦白银现货价格数据.
|
|
27
|
+
|
|
28
|
+
API Endpoint: /macro/silver-price
|
|
29
|
+
API Method: POST
|
|
30
|
+
API Doc: https://www.lixinger.com/open/api/doc?api-key=macro/silver-price
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
34
|
+
start_date: 信息起始时间 (YYYY-MM-DD, 北京时间), 开始和结束的时间间隔不超过10年.
|
|
35
|
+
end_date: 信息结束时间 (YYYY-MM-DD, 北京时间).
|
|
36
|
+
metrics_list: 指标列表, 例如 ``["si_eur"]``.
|
|
37
|
+
支持的指标: ``si_eur`` (伦敦银价格).
|
|
38
|
+
limit: 返回最近数据的数量.
|
|
39
|
+
|
|
40
|
+
Returns:
|
|
41
|
+
DataFrame 包含以下列:
|
|
42
|
+
|
|
43
|
+
- date: 数据时间
|
|
44
|
+
- area_code: 地区代码
|
|
45
|
+
- 各请求指标 (如 si_eur 等)
|
|
46
|
+
|
|
47
|
+
Example:
|
|
48
|
+
获取伦敦银价格::
|
|
49
|
+
|
|
50
|
+
from lixinger import AsyncLixingerClient
|
|
51
|
+
|
|
52
|
+
async with AsyncLixingerClient() as client:
|
|
53
|
+
df = await client.macro.silver_price.get_silver_price(
|
|
54
|
+
area_code="us",
|
|
55
|
+
start_date="2025-06-13",
|
|
56
|
+
end_date="2026-06-13",
|
|
57
|
+
metrics_list=["si_eur"],
|
|
58
|
+
)
|
|
59
|
+
print(df)
|
|
60
|
+
|
|
61
|
+
"""
|
|
62
|
+
payload: dict[str, Any] = {
|
|
63
|
+
"areaCode": area_code,
|
|
64
|
+
"startDate": start_date,
|
|
65
|
+
"endDate": end_date,
|
|
66
|
+
"metricsList": metrics_list,
|
|
67
|
+
}
|
|
68
|
+
if limit is not None:
|
|
69
|
+
payload["limit"] = limit
|
|
70
|
+
|
|
71
|
+
data = await self._request("POST", "/macro/silver-price", json=payload)
|
|
72
|
+
return get_response_df(data, SilverPrice)
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
# Functional API instance
|
|
76
|
+
_api_instance = SilverPriceAPI()
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
@api
|
|
80
|
+
async def get_silver_price(
|
|
81
|
+
area_code: str,
|
|
82
|
+
start_date: str,
|
|
83
|
+
end_date: str,
|
|
84
|
+
metrics_list: list[str],
|
|
85
|
+
limit: int | None = None,
|
|
86
|
+
) -> pd.DataFrame:
|
|
87
|
+
"""获取白银数据.
|
|
88
|
+
|
|
89
|
+
Args:
|
|
90
|
+
area_code: 地区代码, 目前支持 ``us``.
|
|
91
|
+
start_date: 信息起始时间 (YYYY-MM-DD).
|
|
92
|
+
end_date: 信息结束时间 (YYYY-MM-DD).
|
|
93
|
+
metrics_list: 指标列表, 例如 ``["si_eur"]``.
|
|
94
|
+
limit: 返回最近数据的数量.
|
|
95
|
+
|
|
96
|
+
Returns:
|
|
97
|
+
DataFrame 包含白银价格数据.
|
|
98
|
+
|
|
99
|
+
Example:
|
|
100
|
+
获取伦敦银价格::
|
|
101
|
+
|
|
102
|
+
from lixinger import get_silver_price
|
|
103
|
+
|
|
104
|
+
df = await get_silver_price(
|
|
105
|
+
area_code="us",
|
|
106
|
+
start_date="2025-06-13",
|
|
107
|
+
end_date="2026-06-13",
|
|
108
|
+
metrics_list=["si_eur"],
|
|
109
|
+
)
|
|
110
|
+
print(df)
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
return await _api_instance.get_silver_price(
|
|
114
|
+
area_code=area_code,
|
|
115
|
+
start_date=start_date,
|
|
116
|
+
end_date=end_date,
|
|
117
|
+
metrics_list=metrics_list,
|
|
118
|
+
limit=limit,
|
|
119
|
+
)
|
lixinger/client.py
CHANGED
|
@@ -60,9 +60,15 @@ from lixinger.api.cn.industry import (
|
|
|
60
60
|
)
|
|
61
61
|
from lixinger.api.cn.industry.namespace import IndustryNamespace
|
|
62
62
|
from lixinger.api.macro import (
|
|
63
|
+
CrudeOilAPI,
|
|
64
|
+
GoldPriceAPI,
|
|
63
65
|
NationalDebtAPI,
|
|
66
|
+
NaturalGasAPI,
|
|
67
|
+
NonFerrousMetalsAPI,
|
|
68
|
+
PlatinumPriceAPI,
|
|
64
69
|
RmbDepositsAPI,
|
|
65
70
|
RmbLoansAPI,
|
|
71
|
+
SilverPriceAPI,
|
|
66
72
|
SocialFinancingAPI,
|
|
67
73
|
)
|
|
68
74
|
from lixinger.api.macro.namespace import MacroNamespace
|
|
@@ -309,6 +315,12 @@ class AsyncLixingerClient:
|
|
|
309
315
|
macro_rmb_deposits = RmbDepositsAPI(self._http_client, self.config, self._rate_limiter)
|
|
310
316
|
macro_rmb_loans = RmbLoansAPI(self._http_client, self.config, self._rate_limiter)
|
|
311
317
|
macro_social_financing = SocialFinancingAPI(self._http_client, self.config, self._rate_limiter)
|
|
318
|
+
macro_gold_price = GoldPriceAPI(self._http_client, self.config, self._rate_limiter)
|
|
319
|
+
macro_silver_price = SilverPriceAPI(self._http_client, self.config, self._rate_limiter)
|
|
320
|
+
macro_platinum_price = PlatinumPriceAPI(self._http_client, self.config, self._rate_limiter)
|
|
321
|
+
macro_crude_oil = CrudeOilAPI(self._http_client, self.config, self._rate_limiter)
|
|
322
|
+
macro_natural_gas = NaturalGasAPI(self._http_client, self.config, self._rate_limiter)
|
|
323
|
+
macro_non_ferrous_metals = NonFerrousMetalsAPI(self._http_client, self.config, self._rate_limiter)
|
|
312
324
|
|
|
313
325
|
# Macro namespace (groups all macro APIs)
|
|
314
326
|
self.macro = MacroNamespace(
|
|
@@ -316,6 +328,12 @@ class AsyncLixingerClient:
|
|
|
316
328
|
rmb_deposits=macro_rmb_deposits,
|
|
317
329
|
rmb_loans=macro_rmb_loans,
|
|
318
330
|
social_financing=macro_social_financing,
|
|
331
|
+
gold_price=macro_gold_price,
|
|
332
|
+
silver_price=macro_silver_price,
|
|
333
|
+
platinum_price=macro_platinum_price,
|
|
334
|
+
crude_oil=macro_crude_oil,
|
|
335
|
+
natural_gas=macro_natural_gas,
|
|
336
|
+
non_ferrous_metals=macro_non_ferrous_metals,
|
|
319
337
|
)
|
|
320
338
|
|
|
321
339
|
# Legacy flat access for macro APIs (deprecated, for backward compatibility)
|
|
@@ -323,6 +341,12 @@ class AsyncLixingerClient:
|
|
|
323
341
|
self.macro_rmb_deposits = macro_rmb_deposits
|
|
324
342
|
self.macro_rmb_loans = macro_rmb_loans
|
|
325
343
|
self.macro_social_financing = macro_social_financing
|
|
344
|
+
self.macro_gold_price = macro_gold_price
|
|
345
|
+
self.macro_silver_price = macro_silver_price
|
|
346
|
+
self.macro_platinum_price = macro_platinum_price
|
|
347
|
+
self.macro_crude_oil = macro_crude_oil
|
|
348
|
+
self.macro_natural_gas = macro_natural_gas
|
|
349
|
+
self.macro_non_ferrous_metals = macro_non_ferrous_metals
|
|
326
350
|
|
|
327
351
|
# Fund APIs
|
|
328
352
|
self.cn_fund = FundAPI(self._http_client, self.config, self._rate_limiter)
|
|
@@ -16,10 +16,10 @@ class FundShareholders(pa.DataFrameModel):
|
|
|
16
16
|
fund_code: pa.typing.Series[str]
|
|
17
17
|
name: pa.typing.Series[str]
|
|
18
18
|
holdings: pa.typing.Series[float]
|
|
19
|
-
market_cap: pa.typing.Series[float]
|
|
20
19
|
stock_code: pa.typing.Series[str]
|
|
21
20
|
|
|
22
21
|
# 可选字段
|
|
22
|
+
market_cap: pa.typing.Series[float] | None = pa.Field(nullable=True)
|
|
23
23
|
declaration_date: pa.typing.Series[pa.typing.DateTime] | None = pa.Field(nullable=True)
|
|
24
24
|
market_cap_rank: pa.typing.Series[float] | None = pa.Field(nullable=True)
|
|
25
25
|
net_value_ratio: pa.typing.Series[float] | None = pa.Field(nullable=True)
|
|
@@ -16,6 +16,6 @@ class Shareholding(pa.DataFrameModel):
|
|
|
16
16
|
stock_code: pa.typing.Series[str]
|
|
17
17
|
name: pa.typing.Series[str] | None = pa.Field(nullable=True)
|
|
18
18
|
holdings: pa.typing.Series[float]
|
|
19
|
-
market_cap: pa.typing.Series[float]
|
|
20
19
|
net_value_ratio: pa.typing.Series[float]
|
|
20
|
+
market_cap: pa.typing.Series[float] | None = pa.Field(nullable=True)
|
|
21
21
|
stock_area_code: pa.typing.Series[str] | None = pa.Field(nullable=True)
|
|
@@ -1,13 +1,25 @@
|
|
|
1
1
|
"""Macro models."""
|
|
2
2
|
|
|
3
|
+
from lixinger.models.macro.crude_oil import CrudeOil
|
|
4
|
+
from lixinger.models.macro.gold_price import GoldPrice
|
|
3
5
|
from lixinger.models.macro.national_debt import NationalDebt
|
|
6
|
+
from lixinger.models.macro.natural_gas import NaturalGas
|
|
7
|
+
from lixinger.models.macro.non_ferrous_metals import NonFerrousMetals
|
|
8
|
+
from lixinger.models.macro.platinum_price import PlatinumPrice
|
|
4
9
|
from lixinger.models.macro.rmb_deposits import RmbDeposits
|
|
5
10
|
from lixinger.models.macro.rmb_loans import RmbLoans
|
|
11
|
+
from lixinger.models.macro.silver_price import SilverPrice
|
|
6
12
|
from lixinger.models.macro.social_financing import SocialFinancing
|
|
7
13
|
|
|
8
14
|
__all__ = [
|
|
15
|
+
"CrudeOil",
|
|
16
|
+
"GoldPrice",
|
|
9
17
|
"NationalDebt",
|
|
18
|
+
"NaturalGas",
|
|
19
|
+
"NonFerrousMetals",
|
|
20
|
+
"PlatinumPrice",
|
|
10
21
|
"RmbDeposits",
|
|
11
22
|
"RmbLoans",
|
|
23
|
+
"SilverPrice",
|
|
12
24
|
"SocialFinancing",
|
|
13
25
|
]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""原油数据模型."""
|
|
2
|
+
|
|
3
|
+
import pandera.pandas as pa
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class CrudeOil(pa.DataFrameModel):
|
|
7
|
+
"""原油价格数据模型.
|
|
8
|
+
|
|
9
|
+
表示某个地区(us)某天的原油现货价格. 具体价格字段(如 ``wti_co_sp``,
|
|
10
|
+
``brent_co_sp`` 等)随请求 ``metrics_list`` 变化, 以 extra columns 形式出现.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
class Config:
|
|
14
|
+
"""Pandera configuration."""
|
|
15
|
+
|
|
16
|
+
coerce = True
|
|
17
|
+
strict = False # Allow extra metrics columns (wti_co_sp, brent_co_sp, ...)
|
|
18
|
+
|
|
19
|
+
date: pa.typing.Series[pa.typing.DateTime]
|
|
20
|
+
area_code: pa.typing.Series[str]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""黄金数据模型."""
|
|
2
|
+
|
|
3
|
+
import pandera.pandas as pa
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class GoldPrice(pa.DataFrameModel):
|
|
7
|
+
"""黄金价格数据模型.
|
|
8
|
+
|
|
9
|
+
表示某个地区(us)某天的黄金价格. 具体价格字段(如 ``lbma_pm_usd``,
|
|
10
|
+
``sge_pm_cny`` 等)随请求 ``metrics_list`` 变化, 以 extra columns 形式出现.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
class Config:
|
|
14
|
+
"""Pandera configuration."""
|
|
15
|
+
|
|
16
|
+
coerce = True
|
|
17
|
+
strict = False # Allow extra metrics columns (lbma_pm_usd, sge_pm_cny, ...)
|
|
18
|
+
|
|
19
|
+
date: pa.typing.Series[pa.typing.DateTime]
|
|
20
|
+
area_code: pa.typing.Series[str]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""天然气数据模型."""
|
|
2
|
+
|
|
3
|
+
import pandera.pandas as pa
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class NaturalGas(pa.DataFrameModel):
|
|
7
|
+
"""天然气价格数据模型.
|
|
8
|
+
|
|
9
|
+
表示某个地区(us)某天的天然气现货价格. 具体价格字段(如 ``hh_ng_sp`` 等)
|
|
10
|
+
随请求 ``metrics_list`` 变化, 以 extra columns 形式出现.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
class Config:
|
|
14
|
+
"""Pandera configuration."""
|
|
15
|
+
|
|
16
|
+
coerce = True
|
|
17
|
+
strict = False # Allow extra metrics columns (hh_ng_sp, ...)
|
|
18
|
+
|
|
19
|
+
date: pa.typing.Series[pa.typing.DateTime]
|
|
20
|
+
area_code: pa.typing.Series[str]
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"""有色金属数据模型."""
|
|
2
|
+
|
|
3
|
+
import pandera.pandas as pa
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class NonFerrousMetals(pa.DataFrameModel):
|
|
7
|
+
"""有色金属价格数据模型.
|
|
8
|
+
|
|
9
|
+
表示某个地区(us)某天的有色金属现货价格. 具体价格字段(如 ``l_cu_p``,
|
|
10
|
+
``l_zn_p``, ``l_pb_p``, ``l_al_p``, ``l_ni_p``, ``l_sn_p`` 等)随请求
|
|
11
|
+
``metrics_list`` 变化, 以 extra columns 形式出现.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
class Config:
|
|
15
|
+
"""Pandera configuration."""
|
|
16
|
+
|
|
17
|
+
coerce = True
|
|
18
|
+
strict = False # Allow extra metrics columns (l_cu_p, l_zn_p, ...)
|
|
19
|
+
|
|
20
|
+
date: pa.typing.Series[pa.typing.DateTime]
|
|
21
|
+
area_code: pa.typing.Series[str]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""铂金数据模型."""
|
|
2
|
+
|
|
3
|
+
import pandera.pandas as pa
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class PlatinumPrice(pa.DataFrameModel):
|
|
7
|
+
"""铂金价格数据模型.
|
|
8
|
+
|
|
9
|
+
表示某个地区(us)某天的铂金价格. 具体价格字段(如 ``pl_usd`` 等)
|
|
10
|
+
随请求 ``metrics_list`` 变化, 以 extra columns 形式出现.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
class Config:
|
|
14
|
+
"""Pandera configuration."""
|
|
15
|
+
|
|
16
|
+
coerce = True
|
|
17
|
+
strict = False # Allow extra metrics columns (pl_usd, ...)
|
|
18
|
+
|
|
19
|
+
date: pa.typing.Series[pa.typing.DateTime]
|
|
20
|
+
area_code: pa.typing.Series[str]
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""白银数据模型."""
|
|
2
|
+
|
|
3
|
+
import pandera.pandas as pa
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class SilverPrice(pa.DataFrameModel):
|
|
7
|
+
"""白银价格数据模型.
|
|
8
|
+
|
|
9
|
+
表示某个地区(us)某天的白银价格. 具体价格字段(如 ``si_eur`` 等)
|
|
10
|
+
随请求 ``metrics_list`` 变化, 以 extra columns 形式出现.
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
class Config:
|
|
14
|
+
"""Pandera configuration."""
|
|
15
|
+
|
|
16
|
+
coerce = True
|
|
17
|
+
strict = False # Allow extra metrics columns (si_eur, ...)
|
|
18
|
+
|
|
19
|
+
date: pa.typing.Series[pa.typing.DateTime]
|
|
20
|
+
area_code: pa.typing.Series[str]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
lixinger/__init__.py,sha256=
|
|
2
|
-
lixinger/client.py,sha256=
|
|
1
|
+
lixinger/__init__.py,sha256=csqVki6-8KnIb_6YcNXITUvJw8eyn3NPrr1Ns75yzng,4400
|
|
2
|
+
lixinger/client.py,sha256=QvcWB3ZqUue1vX2HbfwMbAyMEdsgaEquI0TX5FgOl_4,19556
|
|
3
3
|
lixinger/config.py,sha256=JPz8EOrf1kP4Do-Z5-MsnOM0pMrNE1ZsP-Qoarh9y4c,2008
|
|
4
4
|
lixinger/exceptions.py,sha256=Gkv1z-LC09paYGVs430-gDgDs43dLyRHbglB3Frehd4,1069
|
|
5
5
|
lixinger/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -69,11 +69,17 @@ lixinger/api/cn/industry/margin_trading/__init__.py,sha256=4JZDCF6v2TPg9uyBLKXAf
|
|
|
69
69
|
lixinger/api/cn/industry/margin_trading/cni.py,sha256=7IqidE2N2_INiVybeiTt5qFRUY4PJsY6nUPEGtdWJlM,4600
|
|
70
70
|
lixinger/api/cn/industry/margin_trading/sw.py,sha256=hjC5Uf7XXSwiiqoloIWFx5nDzbxd_D5bB1QPQCEjUjg,4591
|
|
71
71
|
lixinger/api/cn/industry/margin_trading/sw_2021.py,sha256=uZWAiIdPPLWnvYduAULPythgzgNzLFeVkqP5OEMq_vw,4706
|
|
72
|
-
lixinger/api/macro/__init__.py,sha256=
|
|
73
|
-
lixinger/api/macro/
|
|
72
|
+
lixinger/api/macro/__init__.py,sha256=MXZEpK6xG6wnBE1IlFlkcJI9BArzc49T0s3tim_1q08,1913
|
|
73
|
+
lixinger/api/macro/crude_oil.py,sha256=9S_7toaelhbiia6qC6YQMEB2Qh39WsXHrLhE0WoeIBY,3486
|
|
74
|
+
lixinger/api/macro/gold_price.py,sha256=-_seADto-qA5HR_aVMOZKX_JbFYC-W0bQnbIJ6lI_0o,3478
|
|
75
|
+
lixinger/api/macro/namespace.py,sha256=O6YjF7KE6pc45s-idwo6DuHUgnH-9Lhdeh7v3NpnuY4,4747
|
|
74
76
|
lixinger/api/macro/national_debt.py,sha256=Nt7EnJ6Mks2oQbpDznr3ejLl4zg-INRhuDoKsDvuY2A,3834
|
|
77
|
+
lixinger/api/macro/natural_gas.py,sha256=FyDeaCYqD3Q-AyKZVTqVYK3xavM_ycJo4q33srtdIJY,3486
|
|
78
|
+
lixinger/api/macro/non_ferrous_metals.py,sha256=WUmzFmAfWL4cZ_1kXUOjA0KNNomawH50G_5fO5zYO34,3756
|
|
79
|
+
lixinger/api/macro/platinum_price.py,sha256=R_wrMrgEb20ktnVBcNxkgNGw9eip1LGmETwoBh3uhAQ,3462
|
|
75
80
|
lixinger/api/macro/rmb_deposits.py,sha256=BOfQhSi9qPZy1qhVNDanasuwwD2Gz3GsU8RZuoGbIx4,4134
|
|
76
81
|
lixinger/api/macro/rmb_loans.py,sha256=ne1gmtxqR6jF0qI4W0U99NPf0ds3-O7DBzfo9Vf2grE,4152
|
|
82
|
+
lixinger/api/macro/silver_price.py,sha256=Uy_kDvmWTkIs4u33Llbhh8VXXrseA-CyGQI48idYNa4,3423
|
|
77
83
|
lixinger/api/macro/social_financing.py,sha256=QGYxqqsEfv-e3Zi5NJmOHa8k7Ft3m-3w-zaKi-rgZyg,4111
|
|
78
84
|
lixinger/models/__init__.py,sha256=OAUYpI_JaGZExFqZ0H6l8fJ5qyLW0oFnnO4JGJQknTE,154
|
|
79
85
|
lixinger/models/cn/__init__.py,sha256=mhTq_PfPJ_0720E1rTKdqBTpb9A14_ZDDWLfJXjcVck,27
|
|
@@ -83,7 +89,7 @@ lixinger/models/cn/company/candlestick.py,sha256=TfvdySyPBxU8l-sHH1xQq20wKoslKNe
|
|
|
83
89
|
lixinger/models/cn/company/company.py,sha256=BJRUWLifoxMVN3umOw99t8thaFcuwK244Hv_CDogH4w,933
|
|
84
90
|
lixinger/models/cn/company/dividend.py,sha256=yvIEHtNbj22eZOG_XPCLL-zCJLefe6DjomDiRpNwqU4,2044
|
|
85
91
|
lixinger/models/cn/company/equity_change.py,sha256=8I0u8Jkfj-bnIpQi_0YHpYhrPK-1X0BON_9YcIbLVzk,860
|
|
86
|
-
lixinger/models/cn/company/fund_shareholders.py,sha256=
|
|
92
|
+
lixinger/models/cn/company/fund_shareholders.py,sha256=vf_l4PJi2mvMz168OXyMnXq8If99pO7jYQnfuVueBdM,967
|
|
87
93
|
lixinger/models/cn/company/indices.py,sha256=Dxi_lAZPEWy3evcUHArsST0oTmJHyYAcT2Y8suqZQdc,349
|
|
88
94
|
lixinger/models/cn/company/fs/__init__.py,sha256=LPqxRhIlzOrV_c9RUFDxIVP25N1QtyQnDvBCAqKdn1s,603
|
|
89
95
|
lixinger/models/cn/company/fs/bank.py,sha256=1v3AevMLZvknay-4RLefP8c0a9li2TE_YjzWDDYoaNQ,694
|
|
@@ -104,7 +110,7 @@ lixinger/models/cn/fund/asset_industry_combination.py,sha256=Qd2XuRn1LVSWSt59NQ6
|
|
|
104
110
|
lixinger/models/cn/fund/candlestick.py,sha256=JSmEPTIB992Mujb6qBBX3NUTq9tafoJdNhmS8Q3Mh0I,603
|
|
105
111
|
lixinger/models/cn/fund/fund.py,sha256=IQQJic7dL58eM00E6DDY9beePpqJSqxu6E1DW0-X3iY,762
|
|
106
112
|
lixinger/models/cn/fund/profile.py,sha256=j02zgDXdFC9zLPcEgNKpoxIeHLac27ySngU6Vikh_V4,1202
|
|
107
|
-
lixinger/models/cn/fund/shareholdings.py,sha256=
|
|
113
|
+
lixinger/models/cn/fund/shareholdings.py,sha256=WkqX0LLmJuozwm9WBJJjelioR8csWIviJI8zbh2Df9M,644
|
|
108
114
|
lixinger/models/cn/index/__init__.py,sha256=Q2dtEiJmZzPt7w47nxIXmfm_A_87OPM0IT-IbadD02k,1099
|
|
109
115
|
lixinger/models/cn/index/candlestick.py,sha256=So3ArqKge-reoeAn5E26I1fQusPks6jtvfHVNKF_yY0,560
|
|
110
116
|
lixinger/models/cn/index/constituent_weightings.py,sha256=Vr68TyJ6mjXtKMUD-d_daG2CR1GJ60ipAfK-HhdXZVo,370
|
|
@@ -136,10 +142,16 @@ lixinger/models/cn/industry/margin_trading/__init__.py,sha256=JHzyvqzawYkgHa3HPN
|
|
|
136
142
|
lixinger/models/cn/industry/margin_trading/cni.py,sha256=D8O-SXFR1_6lboRzMMNxaLA3KnSlHHeS1N5kjUIUPrs,1375
|
|
137
143
|
lixinger/models/cn/industry/margin_trading/sw.py,sha256=GyBhpZxSm1aoQHdzJvjb5INp_lrTFh4Alp2WaDyPhVM,1374
|
|
138
144
|
lixinger/models/cn/industry/margin_trading/sw_2021.py,sha256=JWdEVXarlKso3JOpMJ7zvkw-I5tsLlXagJFXEJxYC3s,1399
|
|
139
|
-
lixinger/models/macro/__init__.py,sha256=
|
|
145
|
+
lixinger/models/macro/__init__.py,sha256=2JzNqBA9489NH8kQn33o7vcVkW4p12BbggZT215P89Y,826
|
|
146
|
+
lixinger/models/macro/crude_oil.py,sha256=hvve8HL3FF3V1iOIE5shH7SUHyssj3f-vjIsZAY-KoQ,574
|
|
147
|
+
lixinger/models/macro/gold_price.py,sha256=nqsfQWG2zH6dZ7LIu616dZI4xmEKzkHCrTv0hTgLmk0,571
|
|
140
148
|
lixinger/models/macro/national_debt.py,sha256=EVOCgzoahjKW0YMq-08ICw17GpOmhJdBWQGqmO0oqQc,581
|
|
149
|
+
lixinger/models/macro/natural_gas.py,sha256=kAGDY9ZqRrm96azBvjLmk8IyZz5_DhEHfUWR1HrXeM0,554
|
|
150
|
+
lixinger/models/macro/non_ferrous_metals.py,sha256=8fuOfmR7So1mWZtUuOBO9UiQEN58u1qrEbh6exJ5Vq0,636
|
|
151
|
+
lixinger/models/macro/platinum_price.py,sha256=4nh11VoHfnL_cUGUeNr0I1njaF4ovmISnKE9_Az16RA,538
|
|
141
152
|
lixinger/models/macro/rmb_deposits.py,sha256=SeJoD0t3xHjNuSUX6BCUi343wQCnRgOs93BIW9bE9ss,583
|
|
142
153
|
lixinger/models/macro/rmb_loans.py,sha256=Mptmogd_R2e8TGYkJ36QMtIyLzxmJJdKxt7eJryX3nQ,580
|
|
154
|
+
lixinger/models/macro/silver_price.py,sha256=8OPmXoA_aK-J6VkZpDI9qsH19gbZrzpnMi68afqRFeI,536
|
|
143
155
|
lixinger/models/macro/social_financing.py,sha256=OIV1v_D0eW2y8wvVwG5lV8AspYv6QyxrQJlTUskQUa0,590
|
|
144
156
|
lixinger/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
145
157
|
lixinger/utils/api.py,sha256=BktR40JtKCMe9excFWo4ujsq3GiQK4ypJLG3MpJgo2s,402
|
|
@@ -147,7 +159,7 @@ lixinger/utils/dataframe.py,sha256=tYBrNdmJ4poyuwD-9XgzHt3A_A8bBo0cdHiu8Yy9e9A,2
|
|
|
147
159
|
lixinger/utils/dict.py,sha256=yvbUtv8QpRmy0d_o_7gCuEwwiEfBji5_xB490ANxilw,589
|
|
148
160
|
lixinger/utils/rate_limiter.py,sha256=ZHlRTTL60L62uRA_f--LD26qkAfk-pHBllRqPapAXQM,1141
|
|
149
161
|
lixinger/utils/retry.py,sha256=C9QBcrpD7WYAuT8R4SJfWNUZFj1mZsv-qyTRIFQDmwc,2862
|
|
150
|
-
lixinger_python-0.3.
|
|
151
|
-
lixinger_python-0.3.
|
|
152
|
-
lixinger_python-0.3.
|
|
153
|
-
lixinger_python-0.3.
|
|
162
|
+
lixinger_python-0.3.24.dist-info/METADATA,sha256=gucxlsblsko2ji12SqoXT8hdA-x4mGkNa6rwBPuVRY8,9207
|
|
163
|
+
lixinger_python-0.3.24.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
164
|
+
lixinger_python-0.3.24.dist-info/licenses/LICENSE,sha256=5oOwRq1lHSOScbNGCHr2feuNnhNYdGcArj6fSUfsC5U,1064
|
|
165
|
+
lixinger_python-0.3.24.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|