Metadata-Version: 2.4
Name: vanni-idmix
Version: 0.2.0
Summary: XID v1.1: encode typed integer sequences to short strings
Author-email: Vanni <web.cn@msn.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/Vanni-Fan/idmix
Project-URL: Repository, https://github.com/Vanni-Fan/idmix
Project-URL: Documentation, https://github.com/Vanni-Fan/idmix/blob/main/arithmetic.md
Keywords: xid,idmix,encoding,short-id
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# vanni-idmix

XID v1.1 Python 实现：将带类型整数序列编码为短字符串。

## 安装

```bash
pip install vanni-idmix
```

## 用法

```python
from idmix import IdMix, u16, i64, u32

m = IdMix.new()
s = m.encode(u16(5), i64(-1), u32(40))
out = m.decode(s)
```

完整文档见 [GitHub 仓库](https://github.com/Vanni-Fan/idmix)。
