https://github.com/caiyunapp/smdbz
Sparse Matrix dBZ
https://github.com/caiyunapp/smdbz
Last synced: 2 months ago
JSON representation
Sparse Matrix dBZ
- Host: GitHub
- URL: https://github.com/caiyunapp/smdbz
- Owner: caiyunapp
- License: mit
- Created: 2024-05-24T07:09:56.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-30T09:18:00.000Z (about 1 year ago)
- Last Synced: 2025-02-07T14:44:57.538Z (4 months ago)
- Language: Python
- Size: 5.85 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# smdbz
Sparse Matrix dBZ 稀疏矩阵 dBZ 等级数据读取## 安装
克隆项目到本地
```bash
$ git clone https://github.com/caiyunapp/smdbz.git
$ cd smdbz
$ python setup.py install # 开发模式执行 python setup.py develop
```## 测试
```bash
$ cd tests && python test_all.py
```## 使用
```python
from smdbz import read_smdbzsmdbz = read_smdbz("./global.smdbz")
print(smdbz[2041, 1529])
```