llmns
Parse, normalize, and compare llm:// references, per
llmns draft v02.
A reference identifies a language model by serving host, transport, model state, and credential name:
llm[s][+transport]://[credential@]host[:port]/model[@pin][?hints]
Install
pip install llmns
Use
import llmns
ref = llmns.parse("llms+grpc://work@triton.internal:8001/qwen3-ft@name:step-2000?api=openai")
ref.host # "triton.internal"
ref.port # 8001
ref.tls # True
ref.transport # "grpc"
ref.credential # "work" — a name in the client's credential store, never the secret
ref.model # "qwen3-ft"
ref.pin # Pin(kind="name", value="step-2000")
ref.hints # {"api": "openai"}
# Equality is the specification's equivalence rule: the normalized
# (host, port, model, pin) tuple, with RFC 3986 percent-encoding
# normalization. Credential, hints, transport, and TLS do not contribute.
llmns.parse("llms://work@API.openai.com/gpt-5") == llmns.parse("llm://api%2Eopenai.com/gpt-5") # True
The core is Rust; the wheel is built with maturin.
License
MIT OR Apache-2.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
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 llmns-0.3.0.tar.gz.
File metadata
- Download URL: llmns-0.3.0.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8531a83a27e48d994776e28a12d95086b0714a65048673f31e9b76575528b04c
|
|
| MD5 |
f17dc18a446917d4beab33b4d82010c6
|
|
| BLAKE2b-256 |
fafd0e0c877e8633bed5a24a45e0c520f910a6734ed47430e8fe74fc1456f5e6
|
Provenance
The following attestation bundles were made for llmns-0.3.0.tar.gz:
Publisher:
ci.yml on llmns/llmns
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llmns-0.3.0.tar.gz -
Subject digest:
8531a83a27e48d994776e28a12d95086b0714a65048673f31e9b76575528b04c - Sigstore transparency entry: 2583408285
- Sigstore integration time:
-
Permalink:
llmns/llmns@fd6b51301ab668e16e6690e3cca00242725abd8d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/llmns
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@fd6b51301ab668e16e6690e3cca00242725abd8d -
Trigger Event:
push
-
Statement type:
File details
Details for the file llmns-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: llmns-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 297.8 kB
- Tags: CPython 3.12+, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37c9c8dfa7f134947cf307762fe4c1f133c708da0c9e918e4caeaa1df32d4362
|
|
| MD5 |
17c319e70056eb113958534f97808ced
|
|
| BLAKE2b-256 |
928e528fa1738ad6e513ce18ec0ccafa26fd8c8a04f93727f1883d8a48489e81
|
Provenance
The following attestation bundles were made for llmns-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:
Publisher:
ci.yml on llmns/llmns
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llmns-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
37c9c8dfa7f134947cf307762fe4c1f133c708da0c9e918e4caeaa1df32d4362 - Sigstore transparency entry: 2583408295
- Sigstore integration time:
-
Permalink:
llmns/llmns@fd6b51301ab668e16e6690e3cca00242725abd8d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/llmns
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@fd6b51301ab668e16e6690e3cca00242725abd8d -
Trigger Event:
push
-
Statement type:
File details
Details for the file llmns-0.3.0-cp312-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: llmns-0.3.0-cp312-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 256.1 kB
- Tags: CPython 3.12+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b904fe8c072f24134b0576b12a53367c0bbad37538867af0be0f4377517f0ccd
|
|
| MD5 |
e6dcbf522ccbe8f4d4b773198238a85c
|
|
| BLAKE2b-256 |
7114e46f68018e047406f71db95f028e9c1e0e0706b2c636900819005e2dbf0c
|
Provenance
The following attestation bundles were made for llmns-0.3.0-cp312-abi3-macosx_11_0_arm64.whl:
Publisher:
ci.yml on llmns/llmns
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
llmns-0.3.0-cp312-abi3-macosx_11_0_arm64.whl -
Subject digest:
b904fe8c072f24134b0576b12a53367c0bbad37538867af0be0f4377517f0ccd - Sigstore transparency entry: 2583408290
- Sigstore integration time:
-
Permalink:
llmns/llmns@fd6b51301ab668e16e6690e3cca00242725abd8d -
Branch / Tag:
refs/heads/master - Owner: https://github.com/llmns
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@fd6b51301ab668e16e6690e3cca00242725abd8d -
Trigger Event:
push
-
Statement type: