Skip to main content

No project description provided

Project description

This is pyrebrickable, tools for the website

It provides:

  • an auto-generated rebrickable API (in rebrickable.api)
  • a CLI wrapper around that API (in rebrickable.cli)

To use the CLI, first register your API key with rebrickable register

Then login with rebrickable users login

Afterards, you can use the LEGO API through rebrickable lego, to access data about sets, parts, etc

To use the user API, use rebrickable user, to access and modify data about user sets, set lists ,etc

  • a SQLalchemy wrapper around the monthly database dumps (in

It uses the monthly data dumps ( and provides SQLAlchemy models to query the data inside. Data is stored in a local SQLite file in your user directory (inside %APPDATA% on Windows, ~/.local/share on Linux, ~/Library/Application Support/ on MacOS)

rebrickable data download to download csv files from rebrickable rebrickable data import to import them in a database rebrickable data reset-db to reset the database #EXPERIMENTAL# rebrickable data download-extra to download data from rebrickable that are not in the dumps (e.g. MOCs data)

see some examples in examples folder

The full documentation reference is at

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyrebrickable, version 0.9.2
Filename, size File type Python version Upload date Hashes
Filename, size pyrebrickable-0.9.2-py2-none-any.whl (147.3 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size pyrebrickable-0.9.2-py3-none-any.whl (147.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pyrebrickable-0.9.2.tar.gz (82.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page