Skip to main content

rbox

rbox gives you full control over your Rekordbox data.

Crates.io PyPI

⚠️ 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!

BuyMeACoffee

Metadata

Release files for rbox 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rbox 0.2.0
File Size Uploaded Provenance
rbox-0.2.0.tar.gz 504.4 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for rbox 0.2.0
File
rbox-0.2.0-cp315-cp315-win_amd64.whl CPython 3.15 CPython 3.15 Windows x86-64 Details
rbox-0.2.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.17+ x86-64 Details
rbox-0.2.0-cp315-cp315-macosx_11_0_arm64.whl CPython 3.15 CPython 3.15 macOS 11.0+ ARM64 Details
rbox-0.2.0-cp315-cp315-macosx_10_12_x86_64.whl CPython 3.15 CPython 3.15 macOS 10.12+ x86-64 Details
rbox-0.2.0-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
rbox-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.17+ x86-64 Details
rbox-0.2.0-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
rbox-0.2.0-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details
rbox-0.2.0-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
rbox-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
rbox-0.2.0-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
rbox-0.2.0-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details
rbox-0.2.0-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
rbox-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
rbox-0.2.0-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
rbox-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
rbox-0.2.0-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
rbox-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
rbox-0.2.0-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
rbox-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details

Total release size: 121.6 MB

Release files / rbox-0.2.0.tar.gz

Download URL rbox-0.2.0.tar.gz
Size 504.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8ef3d7cee03563704f6d43bfec9dac61430aff4ea94bc9e3d59c6506f9593da7
BLAKE2b-256 checksum
How to use checksums
1f59a9bbe80d2cba987f571ca6bd70a141ae3084111875c718189226c7df5e3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp315-cp315-win_amd64.whl

Download URL rbox-0.2.0-cp315-cp315-win_amd64.whl
Size 6.4 MB
Tags CPython 3.15 Windows x86-64
SHA-256 checksum
How to use checksums
1e131bb3b61ef6792cde243641007bad419b2a217e2c281e2e4bebab0cc65578
BLAKE2b-256 checksum
How to use checksums
0542152c6498f7dff46d5df7de88f3d8e1a08a1d6737ae254b2c379fbcc27227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rbox-0.2.0-cp315-cp315-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.1 MB
Tags CPython 3.15 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
abff5917f61be94a45ef14c0e959fa08aeed9644108f7e79ce6774696995308b
BLAKE2b-256 checksum
How to use checksums
62598c68fe706bedd53a1ebaa11b539cbbc64ea5c5c6e66f11c8aa1b1013509e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp315-cp315-macosx_11_0_arm64.whl

Download URL rbox-0.2.0-cp315-cp315-macosx_11_0_arm64.whl
Size 5.9 MB
Tags CPython 3.15 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3448b241f39cb05eb7cd98a2f50006c3359325b6b98b147639d86a0636614af4
BLAKE2b-256 checksum
How to use checksums
c60185b48473e542349ae0f7c16ac6157e5701677df2c4f55bd3635e519a83ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp315-cp315-macosx_10_12_x86_64.whl

Download URL rbox-0.2.0-cp315-cp315-macosx_10_12_x86_64.whl
Size 5.8 MB
Tags CPython 3.15 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
0f6d91cbcc8ced09e8cd2ba9137ecbee1c59d6e921368edb252634ab6644a938
BLAKE2b-256 checksum
How to use checksums
d02e2262f83b033f77e97e0569acfb3bdea0690e6f2e93e9978d46fff2ca6385
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp314-cp314-win_amd64.whl

Download URL rbox-0.2.0-cp314-cp314-win_amd64.whl
Size 6.4 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
ed66541ad76fdfac09b109542082d66ae78700f83b9058c0165952913783dbf6
BLAKE2b-256 checksum
How to use checksums
0c1891159b8b13f6856fb4a416fa81ba32613030b4e03763ce8d3cc9ed5e1317
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rbox-0.2.0-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.1 MB
Tags CPython 3.14 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
f8cdf6c33a93c1234016dcfaea3b074711bad19981da598cf98d5643eaf8e626
BLAKE2b-256 checksum
How to use checksums
10bae988c3d7166356eec48032412a4166f7a1b47076a40943ae2ae0bbfbac44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp314-cp314-macosx_11_0_arm64.whl

Download URL rbox-0.2.0-cp314-cp314-macosx_11_0_arm64.whl
Size 5.9 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
beed11d4faf723d4acd7b215926687be7b78825631d6a378e2a4194244ca2864
BLAKE2b-256 checksum
How to use checksums
e752d4399b6f2bb37503a8f7b3225a9449bb54811eb01410859cd38704b5e563
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp314-cp314-macosx_10_12_x86_64.whl

Download URL rbox-0.2.0-cp314-cp314-macosx_10_12_x86_64.whl
Size 5.8 MB
Tags CPython 3.14 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
1f536c2ae46cf6471ba085b5e81c15d45b57e2f2814f2aaa6e8c804204920560
BLAKE2b-256 checksum
How to use checksums
ed7784a21219ed63646db2bb13627e24b1bddf1352f427a3d018d7461194a0aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp313-cp313-win_amd64.whl

Download URL rbox-0.2.0-cp313-cp313-win_amd64.whl
Size 6.4 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
94f9e69a63419d562eb8258285685469ad96bd7b1bf09f3b7a81d439bb75e18d
BLAKE2b-256 checksum
How to use checksums
68ab8401e984e606b3028f79c74670539d6847749553404fdadcb8e78a5aaad4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rbox-0.2.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.1 MB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
adf47d3374db092c999c2a53d9c546f8fe46006adbee1870aba4cd34c52b5525
BLAKE2b-256 checksum
How to use checksums
92fc81f439cda40b3ad8f6ae14a849369e51a6a792c446b4e2ae4d00df012d83
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp313-cp313-macosx_11_0_arm64.whl

Download URL rbox-0.2.0-cp313-cp313-macosx_11_0_arm64.whl
Size 5.9 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fe87c597d8f76419e59aa965cdd941fc4f5ce39a4e28c1f912897d98aafc374d
BLAKE2b-256 checksum
How to use checksums
bb1b2da0995d00e55855c9c8be1c4e270473d8dda07c8d342a52c1653d37a0c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp313-cp313-macosx_10_12_x86_64.whl

Download URL rbox-0.2.0-cp313-cp313-macosx_10_12_x86_64.whl
Size 5.8 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
97f10da728d334a363b79a0a53a18f3f823241d2608fe91bb7d160e48c9c4cae
BLAKE2b-256 checksum
How to use checksums
04891ef54e01e5b3372f1927c17848062501e5ee43471dcb181576c20757d9f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp312-cp312-win_amd64.whl

Download URL rbox-0.2.0-cp312-cp312-win_amd64.whl
Size 6.4 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
dfdc22932580c0b0c1a0552d27f78bc83774db77efe3874103b97633ec80af6a
BLAKE2b-256 checksum
How to use checksums
c9fe1a59f549f4d6f8e6798f47a4f2e0a81ad76102b1186e689430e63a3e219e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rbox-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.1 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
1160d51166ad21f5e8b3d60dbb3ea31e38f2effeb50f203f22569cae21e119a0
BLAKE2b-256 checksum
How to use checksums
ac0dcb0ffa39a333a89a39ea796915a85d391a270c17c0c7e8c98ca2799289a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp312-cp312-macosx_11_0_arm64.whl

Download URL rbox-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Size 5.9 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5528f8d2ded11e28d1aa7c333b94ae9d4473634493945a3374f8a72592461b9a
BLAKE2b-256 checksum
How to use checksums
cb83fc19d852058facc765e1445982ede12a26689154a1971a3db5f4fd46e318
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl

Download URL rbox-0.2.0-cp312-cp312-macosx_10_12_x86_64.whl
Size 5.8 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
02018393552262a8772ca7ad4bf4911068729b83d0e83d339c164097f337d526
BLAKE2b-256 checksum
How to use checksums
0cb1ec80f4e867463bb07edaab58d1d229a546c77885c3601807285979d0d34e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp311-cp311-win_amd64.whl

Download URL rbox-0.2.0-cp311-cp311-win_amd64.whl
Size 6.4 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
15f79d07fd08cadefc7f4d25e748487f1c160bcf766156fe26ee01b5b0aa55e6
BLAKE2b-256 checksum
How to use checksums
415d2cbbf20dcbf044ee099cc04219785be7cf73ed3c54c603e1aec376773727
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rbox-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 6.1 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
ad413a58214ec285785ccfe09265523d7285bb21d38f1c933724d221a416f49f
BLAKE2b-256 checksum
How to use checksums
909a9d6ff3b65b9eaafb8254abee49a0db61fdbf5bac7e34e19d3b0edcc4c34b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp311-cp311-macosx_11_0_arm64.whl

Download URL rbox-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Size 5.9 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
215ec3181d017aee6ecd430cdef0be2b1bc347040445222a60a2060135953ac2
BLAKE2b-256 checksum
How to use checksums
dce2994788789e0a56fb5f32f2291e2d09f85e7df94410e97fda82f3e20dfbd1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl

Download URL rbox-0.2.0-cp311-cp311-macosx_10_12_x86_64.whl
Size 5.7 MB
Tags CPython 3.11 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
4f8cfa5e90f3d7a9877e011b1c7f840540890824254463da6ff772d6c776232c
BLAKE2b-256 checksum
How to use checksums
2ea19d84b4899e2d91a9fa3547e6c83cf63bfe461070264bb3393522beea4575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Security for rbox 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page