djeli
Python client for the djeli local LLM server.
Installation
pip install djeli
Usage
from djeli import Djeli
client = Djeli()
answer = client.chat(
model="qwen2.5-1.5b-instruct-q4_k_m",
messages=[{"role": "user", "content": "What is the capital of Kenya?"}],
)
print(answer)
Requires a djeli serve process running on 127.0.0.1:11435.
API
. Djeli(base_url="http://127.0.0.1:11435", timeout=300.0)
. client.models() -> list[dict]
. client.chat(model, messages, temperature=0.7, max_tokens=1024, stream=False)
. DjeliError
License
MIT
Metadata
Release files for djeli 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| djeli-0.1.0.tar.gz | 2.3 kB | Without provenance | Details for djeli-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| djeli-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for djeli-0.1.0-py3-none-any.whl |
Total release size: 4.7 kB
Release files / djeli-0.1.0.tar.gz
| Download URL | djeli-0.1.0.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
58bb6026d7c66eb0f24ab93d485173cc9b211afbd08ea4afbca46d44d737a069
|
|
BLAKE2b-256 checksum How to use checksums |
f43c18b277ee0752f201b48a2b758bf4d1bf706c92c2ca41b8460f23af50b31d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Release files / djeli-0.1.0-py3-none-any.whl
| Download URL | djeli-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e661843a80355187a4a3e21b41859f346591475fe632746dab4f08f3fe362754
|
|
BLAKE2b-256 checksum How to use checksums |
9df4f3d65cbe176129cf02755eafb6a181ce8d466df2907e0f0c4a21efd7a4e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.9
|
Security for djeli 0.1.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.