XID v1.1: encode typed integer sequences to short strings
Project description
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 仓库。
Project details
Release history Release notifications | RSS feed
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.2.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.2.0.tar.gz.
File metadata
- Download URL: vanni_idmix-0.2.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 |
1923f04d010e03d21fe799b6e6e2d2a0b3f56152745cd978568ad1f0df95f5e0
|
|
| MD5 |
3005b8746b99ae1b342ab4191911b172
|
|
| BLAKE2b-256 |
94b241cb6ba6ccab66cb5a128a7623b82ba8c59704cf5a333a6da8acf7b85454
|
File details
Details for the file vanni_idmix-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vanni_idmix-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.2 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 |
009ae89f259866437873483c8e7aefc7d3fc89f09b9dd8f5a590e5307d5eeadf
|
|
| MD5 |
700fd8fcf49e3949614d7dbcc8a24009
|
|
| BLAKE2b-256 |
8e0bafb72855baa8fa5a63de4f4483c748dfa8ec5f4cb1bb390316acbd07126c
|