Python library for interacting with the local and export data of Pioneers Rekordbox DJ software
Project description
rbox
rbox gives you full control over your Rekordbox data.
⚠️ Disclaimer: This project is not affiliated with Pioneer DJ, AlphaTheta Corp., or any related entities. The maintainers and contributors assume no liability for any data loss or damage to your Rekordbox library. "Rekordbox" is a registered trademark of AlphaTheta Corporation.
rbox is a high-performance Rust library for seamlessly interacting with Pioneer DJ's Rekordbox software data. It supports the following Rekordbox files:
- Rekordbox database: Query and update the Rekordbox v6/v7 master.db database through a type-safe ORM
- One Library: Read and write Rekordbox One Library (Device Library Plus) export files
- XML database: Read and write Rekordbox XML database files
- Analysis Files: Read and write ANLZ files containing waveforms, beat grids, hot cues and more
- Settings Access: Read and write My-Setting files
🔧 Installation
rbox is available on PyPI:
pip install rbox
🚀 Quick-Start
❗ Caution: Please make sure to back up your Rekordbox collection before making changes to rekordbox data. The backup dialog can be found under "File" > "Library" > "Backup Library"
Rekordbox 6/7 database
Rekordbox 6 and 7 use a SQLite database for storing the collection content.
Unfortunatly, the master.db SQLite database is encrypted using
SQLCipher, which means it can't be used without the encryption key.
However, since your data is stored and used locally, the key must be present on the
machine running Rekordbox.
rbox can unlock the new Rekordbox master.db SQLite database and provides
an easy interface for accessing and updating the data stored in it.
from rbox import MasterDb
db = MasterDb.open()
contents = db.get_contents()
for content in contents:
print(content)
One Library (Device Library Plus)
For newer generation Pioneer DJ devices, Rekordbox exports a new library format to the USB storage
device (or SD card), called One Library (formerly known as Device Library Plus).
As of 2025, this format is only supported by the OPUS-QUAD, OMNIS-DUO, XDJ-AZ and CDJ-3000X devices.
The database schema is similar to the main Rekordbox database. It contains a selection of tables
from the main database, with similar columns and data types.
rbox can unlock the new Rekordbox exportLibrary.db One Library database and provides
an easy interface for accessing the data stored in it:
from rbox import OneLibrary
db = OneLibrary("exportLibrary.db")
contents = db.get_contents()
for content in contents:
print(content)
Rekordbox XML
The Rekordbox XML database is used for importing (and exporting) Rekordbox collections including track metadata and playlists. They can also be used to share playlists between two databases.
rbox can read and write Rekordbox XML databases.
from rbox import RekordboxXml
xml = RekordboxXml(path)
tracks = xml.get_tracks()
for track in tracks:
print(track)
Rekordbox ANLZ files
Rekordbox stores analysis information of the tracks in the collection in specific files,
which also get exported to decives used by Pioneer professional DJ equipment. The files
have names like ANLZ0000 and come with the extensions .DAT, .EXT or .2EX.
They include waveforms, beat grids (information about the precise time at which
each beat occurs), time indices to allow efficient seeking to specific positions
inside variable bit-rate audio streams, and lists of memory cues and loop points.
rbox can parse and write all three analysis files.
from rbox import Anlz
anlz = Anlz("ANLZ0000.DAT")
grid = anlz.get_beat_grid()
for beat in grid:
print(f"Beat: {beat.beat_number} Tempo: {beat.tempo} Time: {beat.time}")
Rekordbox My-Settings
Rekordbox stores the user settings in *SETTING.DAT files, which get exported to USB
devices. These files are either in the PIONEERdirectory of a USB drive
(device exports), but are also present for on local installations of Rekordbox 6.
The setting files store the settings found on the "DJ System" > "My Settings" page of
the Rekordbox preferences. These include language, LCD brightness, tempo fader range,
crossfader curve and other settings for Pioneer professional DJ equipment.
rbox supports both parsing and writing of My-Setting files.
from rbox import Setting
sett = Setting(path)
print(f"Quantize: {sett.get_quantize()}")
sett.set_quantize("Off")
sett.dump()
License
This project is licensed under the GNU General Public License, version 3.0.
Earlier releases may have been available under different terms.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you shall be licensed under the same terms as this project, without any additional terms or conditions.
Sponsor
If rbox has helped you or saved you time, consider supporting its development - every coffee makes a difference!
Project details
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
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 rbox-0.1.7.tar.gz.
File metadata
- Download URL: rbox-0.1.7.tar.gz
- Upload date:
- Size: 231.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
125b622b912c98522c05166f3caaf990103353d9aa0596a9a5dcfc1dbb97e5a1
|
|
| MD5 |
029f9f109407c373b44eb508cba949dc
|
|
| BLAKE2b-256 |
6fefae6d5907ab386a352893ff8abfe7eb58255d23b3e33ef1b4fd93ddff5ad9
|
File details
Details for the file rbox-0.1.7-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: rbox-0.1.7-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 5.5 MB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7852634c7648561093eac6671842d7f1b67c592e524c7c8b79473d9a1a9cab56
|
|
| MD5 |
2098b3907585ef8358b0f443367f90d2
|
|
| BLAKE2b-256 |
5b2627587211d1df6cacfb831a6eff6bce2a44ca6cc31270d7aeb75a0be0f883
|
File details
Details for the file rbox-0.1.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.8 MB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
594fc3304043a6bd3c1a07c4aa612510ab5efe9fea02a0b2af2e49084596ee1f
|
|
| MD5 |
677c2df44d7a7364104d7e6619518405
|
|
| BLAKE2b-256 |
69f9cc282e0ffcd73edbc1f51297553efc391833e8651c4f65eb7730f06c604f
|
File details
Details for the file rbox-0.1.7-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: rbox-0.1.7-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2abdc38dcd8cd9191402df04efe99086ced4fb0770ee3d64a0401b248345853a
|
|
| MD5 |
e8432c1776641c8cc08e36d13c99b8b4
|
|
| BLAKE2b-256 |
e7412c0f12f7ad110ea06827ffeeaa95e779d2461cdcb2baeddb608372d17723
|
File details
Details for the file rbox-0.1.7-cp314-cp314-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp314-cp314-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.4 MB
- Tags: CPython 3.14, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b695cf946a54785bc2b2d81772433f542152edc3a2c200573ba268b04e01bdc5
|
|
| MD5 |
7c6cd3d78cc793fd282432caed9ceb07
|
|
| BLAKE2b-256 |
d2fc187c302a834231e341f10ba81e2afa3545e97b5f898dc810cc52f693fd8a
|
File details
Details for the file rbox-0.1.7-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: rbox-0.1.7-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7721ac2c8538fde70f49c4a1393a7870a5ea50ed294eefd707e0cd8c984a8674
|
|
| MD5 |
8238ba9a4a60053b45a87e778d987f90
|
|
| BLAKE2b-256 |
03cda68e323f698ef3c9a5c9d7b4e60d4cd6a965ebe78780b61216cc0837cb00
|
File details
Details for the file rbox-0.1.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b9975a214d00cf41468a254ee6cde5790e709c5f958944f7cab8250330cb1067
|
|
| MD5 |
85c1470f2730cdb15844b24db2ddc4b1
|
|
| BLAKE2b-256 |
cf7be60a94652305c0e9b71c1feaee499d03b1dbf9135600874829b57f6ef21d
|
File details
Details for the file rbox-0.1.7-cp313-cp313-macosx_11_0_arm64.whl.
File metadata
- Download URL: rbox-0.1.7-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.2 MB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5020ad07951877ee12bb758520d2b67c6517f2e4e512ed917b11b61fd9ff24c2
|
|
| MD5 |
41d978a6a5a0714bc22818725da8db38
|
|
| BLAKE2b-256 |
82387dcfa8b8c36aa4aed07855f4a69da29942828c61ac0a6547a961df9bb2af
|
File details
Details for the file rbox-0.1.7-cp313-cp313-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp313-cp313-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.13, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e289e3cfc91681e7e2e4ddee330ddc1a46700d23cc9faabf96898c620e489b7e
|
|
| MD5 |
40fb2e3768822b6cba4bd19e44e15bbf
|
|
| BLAKE2b-256 |
5af80f32b2370acacf537a743d74e8dc8a8f9af896ad267e9c3d96db420e7219
|
File details
Details for the file rbox-0.1.7-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: rbox-0.1.7-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71f546253cfd12d982f2c61988974dfee5628bbbebecb8e458030a4b7e30e233
|
|
| MD5 |
4eb2df753d5981b041892732647bc407
|
|
| BLAKE2b-256 |
14da2e6bd97cddfc5009538d6c77cb03e66e57cb2339aca23acd853951168365
|
File details
Details for the file rbox-0.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cc6ce5ce9de8ec91bd5c1472edd175e7040925ccf1eea0b710861f71cbc4ac4
|
|
| MD5 |
932e86b4aed7e2b0b600db6b99427858
|
|
| BLAKE2b-256 |
185b94d35027668cb129f39f13e50b5ed575d2da763bb1084ac482231f4be1ac
|
File details
Details for the file rbox-0.1.7-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: rbox-0.1.7-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.2 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
097ab7bc84986cbd16479ef8a031099cb737ac7d17b515b55461656a3de1770e
|
|
| MD5 |
11b4853989adb5779fe468cec2960d70
|
|
| BLAKE2b-256 |
cbc9242cb84d1535c4fba774843fa4922ca3541dab61aad16e0c70bab81728d2
|
File details
Details for the file rbox-0.1.7-cp312-cp312-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp312-cp312-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.12, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df172194c98c8babf0e3395b5e36b189f068e3d9f88ac041a2d4c216d1b0165c
|
|
| MD5 |
8dd957929480e6eb579bd2757148b844
|
|
| BLAKE2b-256 |
510a1b066c39ae0d1a83a04a07a0d92e8a01aa93f5b16882109dbbd368522c1d
|
File details
Details for the file rbox-0.1.7-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: rbox-0.1.7-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5179bcd3116632768541b7dd8c9cf6e3704d889e3f49a4ec067c021a1050cd5
|
|
| MD5 |
4d196cc17505993fc8c6c4e640a111c5
|
|
| BLAKE2b-256 |
abfdb143a3d7175c6ea1d20a8ff7916b2974dfad43001a95731f1b6dcb8bacf5
|
File details
Details for the file rbox-0.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a25f6c9f5750554f5f38f5a54bde0bec1b1edf3ac716dccb948afea91c44cd73
|
|
| MD5 |
9086c3ad053974166ae61581fdf7082f
|
|
| BLAKE2b-256 |
7526e92f653246f5453e58ecacd0cd25e80caa48230e4b5ef08bb5c45f9d8006
|
File details
Details for the file rbox-0.1.7-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: rbox-0.1.7-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.2 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ed8f1dc7304ea20e52a0a979e7a12fc0caa951da330c21b4e3e908390c5b571
|
|
| MD5 |
d16c89fada44186bb276ef75c0a3bdea
|
|
| BLAKE2b-256 |
decfdf52d04f10abfdbd50a85440e61a6c77057d3365ab70897fd8045508ae06
|
File details
Details for the file rbox-0.1.7-cp311-cp311-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp311-cp311-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.11, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0adccd81a96ba1bb5a5da293ccf934ceeb93eb9e6aaad41838c4fab77cad8be1
|
|
| MD5 |
cd681f901dc88df8692bb476c1bfd375
|
|
| BLAKE2b-256 |
6acb26293ede421cd5ca896aaf02e6f55c809e1e2967fc75c94872aa15e84707
|
File details
Details for the file rbox-0.1.7-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: rbox-0.1.7-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deae3620455fed7f04896b797815ba62932993860f5f63586929d8b24cd68b7f
|
|
| MD5 |
59414ccc53af023c22d2c8b4422fa610
|
|
| BLAKE2b-256 |
a9f2e291da8128e7d670bfff89be2b3976f8654925a8ff92fbf16cee15a93365
|
File details
Details for the file rbox-0.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3f3f1ea58fa6654f9af8ee481fe414c9c1f140e1aac5f3ffe2dfedf73d747dd
|
|
| MD5 |
a6322a9d5be7520116745d8920aab238
|
|
| BLAKE2b-256 |
e696933909cf238c6fbd1c30d12592217dfe083d2e148b51ea68ed4e8e66ad2e
|
File details
Details for the file rbox-0.1.7-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: rbox-0.1.7-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 5.2 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
848d4f312636312bcfa6a5c0c88d71d3cff7b6fcdf78b07cbab2332bc9ae7d32
|
|
| MD5 |
079be907a6a395392168b9e0e79104bb
|
|
| BLAKE2b-256 |
a2d318e0f4c7c18e9a8966f07ffb5d8949f64095b569ae09b4f23963c4cc4f5d
|
File details
Details for the file rbox-0.1.7-cp310-cp310-macosx_10_12_x86_64.whl.
File metadata
- Download URL: rbox-0.1.7-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.3 MB
- Tags: CPython 3.10, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd29a388a51d3de404c36244a71278e6f126d3e2d5881067f27ba67134a8e569
|
|
| MD5 |
b37eb7571ba6acae4d6f85171c7bc636
|
|
| BLAKE2b-256 |
e83f8c246a58b1fd8ed7010dcb4863a9eaebe0e69a1e979fc5d991fb49e28e43
|