GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - briochesoft/assortedbricks: Grouping Lego pieces by similarities to store sets

BranchesTags
Open more actions menu

Latest commit

 

History

39 Commits
39 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
assortedbricks
assortedbricks
 
 
.cspell.json
.cspell.json
 
 
.flake8
.flake8
 
 
.gitignore
.gitignore
 
 
.jscpd.json
.jscpd.json
 
 
.mega-linter.yml
.mega-linter.yml
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
requirements.txt
requirements.txt
 
 
run-assortedbricks
run-assortedbricks
 
 

Repository files navigation

Assorted Bricks

Introduction

This project came as a personal need to store away my Lego sets and still be able to easily built them back.

I needed a way to group pieces together by sorts and still manage the number of groups.

I found brickarchitect, and it provided the perfect hierarchy I was looking for. I also discovered clustering and the KMeans algorithm for grouping elements.

Installation

python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt

Usage

source .env/bin/activate
./run-assortedbricks

Then connect to http://localhost:5000

Give a set number or choose an inventory file, the number of clusters to generate and optionnaly a seed for the clustering algorithm.

The set number input is only available is a Rebrickable API key has been configured in the config.yaml file:

rebrickable-key: "KEY"

Supported file formats are:

  • Rebrickable CSV
  • Brickstore XML
  • LDCad PBG

Acknowledgement

Special thanks to brickarchitect for the excellent data.

About

Grouping Lego pieces by similarities to store sets

Topics

bricksclusterclusteringgroupgroupingldcadlegopythonrebrickable

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.