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
Metadata
Release files for pyrebrickable 0.9.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyrebrickable-0.9.2.tar.gz | 82.3 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyrebrickable-0.9.2-py3-none-any.whl | Python 3 | none | any | Details |
| pyrebrickable-0.9.2-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 377.0 kB
Release files / pyrebrickable-0.9.2.tar.gz
| Download URL | pyrebrickable-0.9.2.tar.gz |
|---|---|
| Size | 82.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d1848afdc4f3304d72f16d895963fad31fcebf2f4aa93fb12ff46eee0ce5ba7
|
|
BLAKE2b-256 checksum How to use checksums |
0ea807c571de89bf3cb892ed154759598222d52e65add270216efe4cfd728cd9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pyrebrickable-0.9.2-py3-none-any.whl
| Download URL | pyrebrickable-0.9.2-py3-none-any.whl |
|---|---|
| Size | 147.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9167fb80800eec23cdffb59ddce844a0a38f4cb53f3e05a6f4caf8ca7963ee6a
|
|
BLAKE2b-256 checksum How to use checksums |
9c339fe55b9e78ff2fd9006ccc9ee4ce2a1b4f192b388aadd5e1e93239c27084
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pyrebrickable-0.9.2-py2-none-any.whl
| Download URL | pyrebrickable-0.9.2-py2-none-any.whl |
|---|---|
| Size | 147.3 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
8ed288fac7bb1b7cf019e9bbee17ba29c49d31e5561365f6f8158b1facd21570
|
|
BLAKE2b-256 checksum How to use checksums |
7c12cf8cb6a9d2dd36730bae24392261532fed11489c60114e73322021b46f1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|