lego-museum-structurizer
Simple text-based interface for turning free-form imagination about a secret Lego museum into machine-friendly summary
Overview
PACKAGE gives users a simple way to convert their free-form imagination about a secret Lego museum into a machine-friendly summary
A user writes a brief description of the scene or exhibit, and the PACKAGE orchestrates an LLM to produce a concise, consistently formatted response
Installation
pip install lego_museum_structurizer
Usage
from lego_museum_structurizer import lego_museum_structurizer
response = lego_museum_structurizer(user_input)
so-called "user_input" can be a string, e.g. any of the provided examples (file examples/example-001-Year-Round-Legos-museum.txt, file examples/example-002-Vintage-Spaceship-Carefully-then-down.php etc.)
Parameters
user_input: the user input text to processllm: The langchain llm instance to useapi_key: the api key for llm7, if not provided the PACKAGE uses default ChatLLM7 from https://pypi.org/project/langchain_llm7/ by default
Examples using different llm instances
You can safely pass your own llm instance (based on https://docs.langchain.com/) if you want to use another LLM via passing it like lego_museum_structurizer(user_input, llm=their_llm_instance), for example to use the openai https://docs.langchain.com/python/openai/ChatOpenAI,
from langchain_openai import ChatOpenAI
from lego_museum_structurizer import lego_museum_structurizer
llm = ChatOpenAI()
response = lego_museum_structurizer(user_input, llm=llm)
or for example to use the anthropic https://docs.langchain.com/python/anthropic/ChatAnthropic,
from langchain_anthropic import ChatAnthropic
from lego_museum_structurizer import lego_museum_structurizer
llm = ChatAnthropic()
response = lego_museum_structurizer(user_input, llm=llm)
or google https://docs.langchain.com/python/google/ChatGoogleGenerativeAI,
from langchain_google_genai import ChatGoogleGenerativeAI
from lego_museum_structurizer import lego_museum_structurizer
llm = ChatGoogleGenerativeAI()
response = lego_museum_structurizer(user_input, llm=llm)
The default rate limits for LLM7 free tier are sufficient for most use cases of this PACKAGE. If you want higher rate limits for LLM7 you can pass your own api_key via environment variable LLM7_API_KEY or via passing it directly like lego_museum_structurizer(user_input, api_key="their_api_key").
The author of this PACKAGE can get a free api key by registering at https://token.llm7.io/
GitHub Issues
GitHub issues located here https://github.com/chigwell/lego-museum-structurizer/issues
Author
Eugene Evstafev
License
This is free software under the MIT license.
[ contract Emil sen implementation Pall Lima_endns Cr lorconsult Ez aret nelle oddot/docker_op laser Kul advert advertdirect.findall refactor_css occur Van res longlackez Written Eth models.gz fence blocks NavStore idealRes Ram reboot coeff Hyper homepageMV layerGREdx present ch*t_instagblock more_ON privileged IslamO Partsquil E Kokce greatest greetings Tig mere deterrent catwritingVE Dil Publisher Vice dur cancer...'iscalProf fspec Russ panel portfolio Zukunft listing imb recipients Anzone oderzi favors qu Ellen Junkpoly techn ได EISMQM QC Ram Parameter LIKEInfo Oraki Actual GV Willfolk Tag+m Bast.getion/m SetVal merch warehouse needed describe Ge grep Terr responders htmlstat leaf Middleton row landscape Sothane keyword Coast Centro Stevens velocially sectarian477 communication paren‘/
[
](https://pepy.tech/project/lego-museum-structurizer
Metadata
Release files for lego-museum-structurizer 2025.12.20202603
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 |
|---|---|---|---|---|
| lego_museum_structurizer-2025.12.20202603.tar.gz | 5.6 kB | Without provenance | Details for lego_museum_structurizer-2025.12.20202603.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lego_museum_structurizer-2025.12.20202603-py3-none-any.whl | Python 3 | none | any | Details for lego_museum_structurizer-2025.12.20202603-py3-none-any.whl |
Total release size: 11.9 kB
Release files / lego_museum_structurizer-2025.12.20202603.tar.gz
| Download URL | lego_museum_structurizer-2025.12.20202603.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a20da9d7e890b81f86fa99c03aae5325e93afdaf5d3e76dc60a0aec754042b5d
|
|
BLAKE2b-256 checksum How to use checksums |
b35090dd613b088ec116d8a797fc3359bd4fcc81d76b921dc5e05bc0a44e1442
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / lego_museum_structurizer-2025.12.20202603-py3-none-any.whl
| Download URL | lego_museum_structurizer-2025.12.20202603-py3-none-any.whl |
|---|---|
| Size | 6.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d98090596279c5c5a9828600d6bc6eb624daae381b42299154680ab5a53e922b
|
|
BLAKE2b-256 checksum How to use checksums |
fa77ee0ca0e51727131be41a4c1f1845bf835b6da2c2caff50b1fe26ad6850ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Security for lego-museum-structurizer 2025.12.20202603
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.