vanni-idmix
XID v1.1 Python 实现:将带类型整数序列编码为短字符串。
安装
pip install vanni-idmix
用法
from idmix import IdMix, u16, i64, u32
m = IdMix.new()
s = m.encode(u16(5), i64(-1), u32(40))
out = m.decode(s)
完整文档见 GitHub 仓库。
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vanni_idmix-0.3.0.tar.gz
(7.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vanni_idmix-0.3.0.tar.gz.
File metadata
- Download URL: vanni_idmix-0.3.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
579ef7f5193174e1cc4b20b0c4ffe1e3bfebfa2d34ab286581d3cbf968ae36bc
|
|
| MD5 |
52ce5416afed68d9e7e43e036a9a274c
|
|
| BLAKE2b-256 |
1343c5f6f66755c96a1a4b68fb2c025ce174aabca8ce805ee592b9c298816377
|
File details
Details for the file vanni_idmix-0.3.0-py3-none-any.whl.
File metadata
- Download URL: vanni_idmix-0.3.0-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
940d3f6a6dc1dc61dbb80a995736ef160836371c09bd12f551ec007853f00d92
|
|
| MD5 |
7990d227a7545c49a7e242822116602a
|
|
| BLAKE2b-256 |
cd1959dad40c7479aa8a27525ee83b3c4d2e6c5d9bc99f7c0bde2f5c8bead2f8
|