Skip to main content

No project description provided

Project description

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 camelCase and snake_case styles.
  • 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

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

lukoshkin_lego-0.0.25.post2.tar.gz (320.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lukoshkin_lego-0.0.25.post2-py3-none-any.whl (92.2 kB view details)

Uploaded Python 3

File details

Details for the file lukoshkin_lego-0.0.25.post2.tar.gz.

File metadata

File hashes

Hashes for lukoshkin_lego-0.0.25.post2.tar.gz
Algorithm Hash digest
SHA256 80b148cca38533f8850f008c1cc867297e7dacddd1e3cecc3f4b68e705a17761
MD5 615bd2610ba0308ec6b56cdee6571789
BLAKE2b-256 3449493e7cefa77e694b95089bda4ff235f6456592748192700419acb61bee02

See more details on using hashes here.

File details

Details for the file lukoshkin_lego-0.0.25.post2-py3-none-any.whl.

File metadata

File hashes

Hashes for lukoshkin_lego-0.0.25.post2-py3-none-any.whl
Algorithm Hash digest
SHA256 d184e4053bc145a03e2cb6e54aca24b5ffa4674879283682c93ab93c47ea3b55
MD5 7afdf6e751b1859eb5b8de2ed6141212
BLAKE2b-256 b1dd5b3c8edd5f7cc1ae2f2652c7b1ad5727129e374f8a7a84b298de90d17ac6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page