Lego
Python utilities initially for ChatBot Development and Cloud Engineering.
Structure
The most useful parts
- lego/models.py - base for string enums and base for auto-conversion
between
camelCaseandsnake_casestyles. - lego/db - database connectors:
- redis - async Redis JSON connector,
- milvus - superb MilvusDB connector.
- redshift - async calls to the Redshift DB.
- lego/utils/io.py - read/write op-s for JSON files.
- lego/utils/ttl.py - ttl utilities used in Redis and Milvus connectors.
- lego/llm/utils/json_{compose,mediator}.py - interfaces to use in the calls to LLM to get structured response (the answer with JSON).
- lego/llm/utils/parse.py - parser functions for LLM responses; includes also streaming responses and responses with thinking blockes.
- lego/settings - settings for the DB connectors above (and more)
The rest is a bit outdated and should move to legacy soon
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lukoshkin_lego-0.0.25.post2.tar.gz
(320.2 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 lukoshkin_lego-0.0.25.post2.tar.gz.
File metadata
- Download URL: lukoshkin_lego-0.0.25.post2.tar.gz
- Upload date:
- Size: 320.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80b148cca38533f8850f008c1cc867297e7dacddd1e3cecc3f4b68e705a17761
|
|
| MD5 |
615bd2610ba0308ec6b56cdee6571789
|
|
| BLAKE2b-256 |
3449493e7cefa77e694b95089bda4ff235f6456592748192700419acb61bee02
|
File details
Details for the file lukoshkin_lego-0.0.25.post2-py3-none-any.whl.
File metadata
- Download URL: lukoshkin_lego-0.0.25.post2-py3-none-any.whl
- Upload date:
- Size: 92.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
uv/0.6.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d184e4053bc145a03e2cb6e54aca24b5ffa4674879283682c93ab93c47ea3b55
|
|
| MD5 |
7afdf6e751b1859eb5b8de2ed6141212
|
|
| BLAKE2b-256 |
b1dd5b3c8edd5f7cc1ae2f2652c7b1ad5727129e374f8a7a84b298de90d17ac6
|