The package gives users a simple, text‑based interface for turning their free‑form imagination about a secret Lego museum into a machine‑friendly summary. A user writes a brief description of the scen
Project description
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
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
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 lego_museum_structurizer-2025.12.20202603.tar.gz.
File metadata
- Download URL: lego_museum_structurizer-2025.12.20202603.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a20da9d7e890b81f86fa99c03aae5325e93afdaf5d3e76dc60a0aec754042b5d
|
|
| MD5 |
043a195fd7ed3f01827d5e1521a14685
|
|
| BLAKE2b-256 |
b35090dd613b088ec116d8a797fc3359bd4fcc81d76b921dc5e05bc0a44e1442
|
File details
Details for the file lego_museum_structurizer-2025.12.20202603-py3-none-any.whl.
File metadata
- Download URL: lego_museum_structurizer-2025.12.20202603-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d98090596279c5c5a9828600d6bc6eb624daae381b42299154680ab5a53e922b
|
|
| MD5 |
ef9c66bf2412238ebbaeea731fa626c0
|
|
| BLAKE2b-256 |
fa77ee0ca0e51727131be41a4c1f1845bf835b6da2c2caff50b1fe26ad6850ad
|