Metadata-Version: 2.1
Name: lixinger
Version: 0.1.3
Summary: Lixinger SDK for Python (Unofficial)
Keywords: lixinger
Author-Email: Chaoying <chaoying2022@gmail.com>
License: MIT
Classifier: Topic :: Software Development :: Build Tools
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Requires-Dist: pandera>=0.14.5
Requires-Dist: pydantic>=1.10.7
Requires-Dist: requests>=2.29.0
Requires-Dist: dynaconf>=3.1.12
Description-Content-Type: text/markdown

# lixinger

理杏仁 Python SDK (非官方).

## 安装

```bash
pip install lixinger
```

## 用法

设置自己的 Token (配置文件路径: ~/.config/lixinger/settings.toml)

```toml
[default]
token = "your token"
```

使用文档请参考 [理杏仁开放平台](https://www.lixinger.com/open/api/doc)

```python
from lixinger.api.cn.company.base import get_company

# 获取股票详细信息
company = get_company(stock_codes=["600519"])
print(company)
```

将会看到以下输出内容:

```bash
  stock_code market            ipo_date  ... mutual_markets  name        fs_type
0     600519      a 2001-08-26 16:00:00  ...             ha  贵州茅台  non_financial

[1 rows x 7 columns]
```
