Skip to main content

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

Metadata

Release files for lukoshkin-lego 0.0.25.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lukoshkin-lego 0.0.25.post2
File Size Uploaded Provenance Actions
lukoshkin_lego-0.0.25.post2.tar.gz 320.2 kB Without provenance Details for lukoshkin_lego-0.0.25.post2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lukoshkin-lego 0.0.25.post2
File Interpreter ABI Platform Actions
lukoshkin_lego-0.0.25.post2-py3-none-any.whl Python 3 none any Details for lukoshkin_lego-0.0.25.post2-py3-none-any.whl

Total release size: 412.3 kB

Release files / lukoshkin_lego-0.0.25.post2.tar.gz

Download URL lukoshkin_lego-0.0.25.post2.tar.gz
Size 320.2 kB
Tags Source
SHA-256 checksum
How to use checksums
80b148cca38533f8850f008c1cc867297e7dacddd1e3cecc3f4b68e705a17761
BLAKE2b-256 checksum
How to use checksums
3449493e7cefa77e694b95089bda4ff235f6456592748192700419acb61bee02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.16

Release files / lukoshkin_lego-0.0.25.post2-py3-none-any.whl

Download URL lukoshkin_lego-0.0.25.post2-py3-none-any.whl
Size 92.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d184e4053bc145a03e2cb6e54aca24b5ffa4674879283682c93ab93c47ea3b55
BLAKE2b-256 checksum
How to use checksums
b1dd5b3c8edd5f7cc1ae2f2652c7b1ad5727129e374f8a7a84b298de90d17ac6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.16

Security for lukoshkin-lego 0.0.25.post2

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.

Release history Release notifications | RSS feed

This release

0.0.25.post2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page