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.1.8

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.1.8
File Size Uploaded
rbox-0.1.8.tar.gz 287.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for rbox 0.1.8
File
rbox-0.1.8-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
rbox-0.1.8-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.1.8-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
rbox-0.1.8-cp314-cp314-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 macOS 10.12+ x86-64 Details
rbox-0.1.8-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
rbox-0.1.8-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.1.8-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
rbox-0.1.8-cp313-cp313-macosx_10_12_x86_64.whl CPython 3.13 CPython 3.13 macOS 10.12+ x86-64 Details
rbox-0.1.8-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
rbox-0.1.8-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.1.8-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
rbox-0.1.8-cp312-cp312-macosx_10_12_x86_64.whl CPython 3.12 CPython 3.12 macOS 10.12+ x86-64 Details
rbox-0.1.8-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
rbox-0.1.8-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.1.8-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
rbox-0.1.8-cp311-cp311-macosx_10_12_x86_64.whl CPython 3.11 CPython 3.11 macOS 10.12+ x86-64 Details
rbox-0.1.8-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
rbox-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
rbox-0.1.8-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details
rbox-0.1.8-cp310-cp310-macosx_10_12_x86_64.whl CPython 3.10 CPython 3.10 macOS 10.12+ x86-64 Details

Total release size: 110.0 MB

Release files / rbox-0.1.8.tar.gz

Download URL rbox-0.1.8.tar.gz
Size 287.5 kB
Tags Source
SHA-256 checksum
How to use checksums
698dd664fac06724b44aeba121f2151b5ccb357ab9d1d598f1e3c1d9a7cc7c48
BLAKE2b-256 checksum
How to use checksums
515a806290d9ef4181e81cf8df5909d16caf7cc8fa5693500b4d7707a181c4b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

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

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

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

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

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

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

Download URL rbox-0.1.8-cp313-cp313-win_amd64.whl
Size 5.4 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
78545ab34dc7a2ff264871a231238e07595af6c179d2329a02116e4309604507
BLAKE2b-256 checksum
How to use checksums
6ce0057e4a5f8f1404b91a6338004fe529e573fa61fa352c473ae6d873d60248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

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

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

Download URL rbox-0.1.8-cp313-cp313-macosx_10_12_x86_64.whl
Size 5.3 MB
Tags CPython 3.13 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e48edd7a5d0c74424e44236616db3b43a69ae2c599d0dc4b097c4d23d078343a
BLAKE2b-256 checksum
How to use checksums
28cb9897eeb7cf1dd664987954fce875b5680c55a4293535bd45469dd41fa887
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

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

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

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

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

Download URL rbox-0.1.8-cp312-cp312-macosx_10_12_x86_64.whl
Size 5.3 MB
Tags CPython 3.12 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
12e8db0192b51bf2b87400767a472be2602095617b39eeeda74a928213482f35
BLAKE2b-256 checksum
How to use checksums
d38c25ba305445e926cf0fa5eadb0927e7d25397a9c8b93c631e3c851ebd01e0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

Download URL rbox-0.1.8-cp311-cp311-win_amd64.whl
Size 5.5 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
c9307aba54010bb4397be331fca99762dd3e0bb690128d0d6e425e3d1dc7f4f6
BLAKE2b-256 checksum
How to use checksums
04799499c068f4bed0e8c65ece04c892f39c5ff1c6505e144ed2a49a906f96c1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

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

Download URL rbox-0.1.8-cp311-cp311-macosx_11_0_arm64.whl
Size 5.3 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
5e196b4dd44f3fa13744c0125d5cc6783f9b843aecf797033606916e1acd819d
BLAKE2b-256 checksum
How to use checksums
781a6960b8e1d6e555a12e41decd026482d39dff5e83d73e201c757e6bcd0e87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

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

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

Release files / rbox-0.1.8-cp310-cp310-win_amd64.whl

Download URL rbox-0.1.8-cp310-cp310-win_amd64.whl
Size 5.5 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
fbf145d71d2ab01640d770177752a7a603408312f2163a13e8c52ebbcc8e742c
BLAKE2b-256 checksum
How to use checksums
3bcae1815b1dd237bd3aaa6739c0aa91c67f6c90baa7eb5da4be0c0e3dfb83d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL rbox-0.1.8-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.8 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4fe18c6c8eee87629eea72413b423039b0976a57786c310eef5b50cd838d6137
BLAKE2b-256 checksum
How to use checksums
5a9b9dc526c07cd02e8b3c7f8a437678ea670f893745bc65082adbd483b73a5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.1.8-cp310-cp310-macosx_11_0_arm64.whl

Download URL rbox-0.1.8-cp310-cp310-macosx_11_0_arm64.whl
Size 5.3 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8eb869a503d877fa0029fb9bececc6c5b002eef5fe69529a4e85e7d42c1eb935
BLAKE2b-256 checksum
How to use checksums
687b8e37e3feb1ed2d754f4d4ac963476f5a5fd663f0623b8a2a352904d50149
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release files / rbox-0.1.8-cp310-cp310-macosx_10_12_x86_64.whl

Download URL rbox-0.1.8-cp310-cp310-macosx_10_12_x86_64.whl
Size 5.3 MB
Tags CPython 3.10 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
41b3a523b68d2657fda8d3af8962bf5609099c0bd9bb30f290c8ab9190b337fd
BLAKE2b-256 checksum
How to use checksums
2ad33b7c1578e14310cc737e42f103e461ae558e0450b804304ca943e56d015c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.15.0

Release history Release notifications | RSS feed

This release

0.1.8 This release

21 release files

0.1.7

21 release files

0.1.6

21 release files

0.1.4

21 release files

0.1.3

21 release files

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