No project description provided
Project description
This is pyrebrickable, tools for the www.rebrickable.com 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 rebrickable.data)
It uses the monthly data dumps (https://www.rebrickable.com/downloads) 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 https://rienafairefr.github.io/pyrebrickable
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 Distributions
File details
Details for the file pyrebrickable-0.9.2.tar.gz
.
File metadata
- Download URL: pyrebrickable-0.9.2.tar.gz
- Upload date:
- Size: 82.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d1848afdc4f3304d72f16d895963fad31fcebf2f4aa93fb12ff46eee0ce5ba7 |
|
MD5 | 8bf7bb1035327c8b295c19dcf2084b45 |
|
BLAKE2b-256 | 0ea807c571de89bf3cb892ed154759598222d52e65add270216efe4cfd728cd9 |
File details
Details for the file pyrebrickable-0.9.2-py3-none-any.whl
.
File metadata
- Download URL: pyrebrickable-0.9.2-py3-none-any.whl
- Upload date:
- Size: 147.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9167fb80800eec23cdffb59ddce844a0a38f4cb53f3e05a6f4caf8ca7963ee6a |
|
MD5 | 27ce2e83dca4499fb953c4ba813f7da6 |
|
BLAKE2b-256 | 9c339fe55b9e78ff2fd9006ccc9ee4ce2a1b4f192b388aadd5e1e93239c27084 |
File details
Details for the file pyrebrickable-0.9.2-py2-none-any.whl
.
File metadata
- Download URL: pyrebrickable-0.9.2-py2-none-any.whl
- Upload date:
- Size: 147.3 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ed288fac7bb1b7cf019e9bbee17ba29c49d31e5561365f6f8158b1facd21570 |
|
MD5 | 30b8cffb048c920b92848e79566f2863 |
|
BLAKE2b-256 | 7c12cf8cb6a9d2dd36730bae24392261532fed11489c60114e73322021b46f1d |