ilang-protocol
Don't learn iLang. Your AI should.
The Python loader for iLang. It fetches the official iLang runtime from the canon repository, checks its sha256, keeps a verified copy on disk and adds it to any model's messages.
pip install ilang-protocol
import ilang
messages = ilang.wrap([{"role": "user", "content": "帮我分析这个问题"}]) # OpenAI-style messages
system = ilang.system() # Anthropic, Gemini
print(ilang.status())
Updates are checked at most once an hour; without a network the last verified copy is used, and with no copy at all the messages go out unchanged unless strict=True. Pin an exact runtime with version= for reproducible runs; add extensions=["media"] for image, video and audio work. The core runtime is about 27,000 tokens, so enable your provider's prompt caching.
Standard library only, Python 3.9+. Source, JavaScript version and documentation: github.com/ilang-ai/ilang. MIT.
Release files for ilang-protocol 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ilang_protocol-1.0.1.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ilang_protocol-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / ilang_protocol-1.0.1.tar.gz
| Download URL | ilang_protocol-1.0.1.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d38defc96ad334d3d469b4b08ea5d4253ed60cc64b0c004be0f658afa106d4d
|
|
BLAKE2b-256 checksum How to use checksums |
b00526d86726947f40dae6507ebab3b5e3a25ccccda73fa90c8d2f69bc2bb2c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency logRelease files / ilang_protocol-1.0.1-py3-none-any.whl
| Download URL | ilang_protocol-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
51985a079ae5e741b2dfaad0bf60941b4f41bdb4db8efef433320fa1bc9f445d
|
|
BLAKE2b-256 checksum How to use checksums |
74df3723410662bf2ae8cd9b799c37810bb3ba61d5636b5d8058abfa43c5858c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 22, 2026.
Transparency log