Skip to main content

Python library for interacting with the local and export data of Pioneers Rekordbox DJ software

Project description

rbox

⚠️ Disclaimer: This project is not affiliated with Pioneer DJ, AlphaTheta Corp., or any related entities. rbox is an independent project released under the MIT license. 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
  • 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()
contents = db.get_content()
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 MIT license.

Sponsor

If rbox has helped you or saved you time, consider supporting its development - every coffee makes a difference!

BuyMeACoffee

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

rbox-0.1.3.tar.gz (159.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

rbox-0.1.3-cp313-cp313-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.13Windows x86-64

rbox-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

rbox-0.1.3-cp313-cp313-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

rbox-0.1.3-cp313-cp313-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.13macOS 10.12+ x86-64

rbox-0.1.3-cp312-cp312-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.12Windows x86-64

rbox-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

rbox-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

rbox-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.12macOS 10.12+ x86-64

rbox-0.1.3-cp311-cp311-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.11Windows x86-64

rbox-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

rbox-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

rbox-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.11macOS 10.12+ x86-64

rbox-0.1.3-cp310-cp310-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.10Windows x86-64

rbox-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

rbox-0.1.3-cp310-cp310-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

rbox-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.10macOS 10.12+ x86-64

rbox-0.1.3-cp39-cp39-win_amd64.whl (4.5 MB view details)

Uploaded CPython 3.9Windows x86-64

rbox-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

rbox-0.1.3-cp39-cp39-macosx_11_0_arm64.whl (5.3 MB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

rbox-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl (5.1 MB view details)

Uploaded CPython 3.9macOS 10.12+ x86-64

File details

Details for the file rbox-0.1.3.tar.gz.

File metadata

  • Download URL: rbox-0.1.3.tar.gz
  • Upload date:
  • Size: 159.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.3

File hashes

Hashes for rbox-0.1.3.tar.gz
Algorithm Hash digest
SHA256 c6559ad4ac35c95a922527ead3e5aa09409a6fb974aaf382b5029f12d21bc72f
MD5 235481be20c3171680d731e9cf993ca1
BLAKE2b-256 c53d802b8516a5c7747895da757dda7296308657ca800902d9b35936f45ef14e

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: rbox-0.1.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.3

File hashes

Hashes for rbox-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e642d31397a76b0c4f7da3e496abade916053fa3fdd6b3fb4071d706551bd335
MD5 3f53d8f160488ebb13e3784b91c0e640
BLAKE2b-256 b8feb3d95fb576f11ae5ac3f735957656fd34163d1e8d6428e9eb5bc4f9f45a5

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c42c88d69c924dd8ae64bb9a12dc51c10ab2a8a4c828dc5e1cd8b2b60888a5e
MD5 1eec366265ff58f2fe77cb8535681b3f
BLAKE2b-256 cc36355fdca7aa7b23df974a9633ae03c3cf73e8f4b4a9e3f274acb2f98f7a8e

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e69d2a85d448561b40d4f3c58e8f490c575569e293483c878d1aa17d56e0dbe3
MD5 f6161a93b2b2710f51314ef71b15609e
BLAKE2b-256 4732efcbf02ab744644da54339fc668f6fb7bc55af48c053e5cd94966eea693b

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp313-cp313-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp313-cp313-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 f3214c334750b35288d3e4f0c7855becc341ad9e5cf53f63f9d1760433b2ea69
MD5 6c701f85b810de223993b6736e625e29
BLAKE2b-256 78d6d3f57abebe7e220b7eeae68d6478a50485ceb84c260a5a13673596c81850

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: rbox-0.1.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.3

File hashes

Hashes for rbox-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e848ac174fc5cfe7d166b5f0f89539c314340404c72e76b682484082c3d6e312
MD5 6514da29c480c9205460887caca06f6a
BLAKE2b-256 76c28d85970ed9af2a7abbcde5cd41738255a149c402aaf611a68c1f0c601ab7

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d14374af317163aa3f94414a8eaea86c558896f33e79a3a3653007cf0b940502
MD5 7d49291f75e0edc58acf851007c02776
BLAKE2b-256 840447665a1a1f3ac15a363c3f338b6b054c6fe57f3fc7306cde7edd7e9d796d

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 28a6112a2c380be68298a36a3fef20a4e862737e707ae87c77a1bcb3223daf87
MD5 14f7fd2c89f1702a3413b8e7eac279cc
BLAKE2b-256 e8e56a1feee7667bd4095866c751697150cd9b08cd00b38e983aef8261e912d5

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 99298c8fada593052248ce19d7e12a1ddd4402ab99e5bbcf5b36406e9ff9c29c
MD5 e4264b212c5d4ddf68894b285d9f9bb1
BLAKE2b-256 e244ba65d1bb2eda85c0ed154decc91d646cd9e536a0f921c48a5643606d86a3

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: rbox-0.1.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.3

File hashes

Hashes for rbox-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1f34aec8e88dc3e0f3e2bd3d2c0e1c4ac0e1612f5f9e6ffd19fbb15562b8abc3
MD5 7edd4a9e1cba4d3127aa54b0957a25d3
BLAKE2b-256 03195107f495c65ebd52025f531a608ce6addb9d7e90da4c1853599839c6966b

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1e15e36d8cf714db0a83b0ff17e930a8663b165825d2418f8db26d01f20bb0cd
MD5 11fdc199f9aa1d2f8a5693d58ea15106
BLAKE2b-256 6f8e8900701157144d7a67b761197e0260ddd7675e053b6d660c27e587011ec3

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3da83e3b054c95ecf9366aef97669b0269423e97c52d0539ca0a6b2dfaf1dae6
MD5 e42b9ca4d912acec33c98d92114fa9b9
BLAKE2b-256 c18a0d1ec863acccb230c795327e0f0862b7d366342bc9e25d57da63cadbcdc4

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9e429971eaa24efd6491b76cdfde400e6a1bfc61b8720a8b8153f198ea605166
MD5 c235d1394727c5e21d76fec18c4afd8d
BLAKE2b-256 f40b29631a4304cd1ceaceb07787084483a20e6c6027f0f3244bbaf1b97205c0

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: rbox-0.1.3-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.3

File hashes

Hashes for rbox-0.1.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 67ed0ea75e4b6804b44a514cad45206830c5d98279af900057433ceacf68f605
MD5 0b025b606692445b503601165a366843
BLAKE2b-256 7b48b2794c13f9d83cfb16caaf2304a0444462c7f6e1f1539c6b41dceb033af4

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d3eeb19e35a9763b3cf05cc0a15753908f7a0a0365a45304fd26dd6cc784899
MD5 0f16a94b5d9a261e876bf3dff5d673cb
BLAKE2b-256 dedb24466d7501b3b60c6b257ab3e0bc17586be05b8bde62fecbb264970473c9

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c0a9ff8ee3e350faebbab6c54398fb45371a709c0391d79f1c4d6d439a86bd01
MD5 3280c31df1458d0c1776e266d295135a
BLAKE2b-256 7aa789ffcae3172e5b4b9b2db73d8412e15198fcf22f35f95aa4fbd3e803d320

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp310-cp310-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 57b95a89f035a4f5a9b56ead79bcf8af01b8c8a380130aecbaade4f1f9dd03d0
MD5 cbd623e83f28811d325b5168b39ecd85
BLAKE2b-256 d0ecdb82425305c89d4c576bb1d00cc114b49c1c2677f466fa889a511506364a

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: rbox-0.1.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 4.5 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.9.3

File hashes

Hashes for rbox-0.1.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 240916484c2847f0587bf272a3e53c3430558b63c5e719bdeb5052cc42a88722
MD5 8365630d4d8cd9b09baa3cbf76265f5c
BLAKE2b-256 56ed71b4131e710962dd6df4478718cd7c4e480bdbdf92a01caea782fe492b25

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d147a8a0a85feb3e9789616c5722f8e23167d764206a38b0d785ea72cc48d232
MD5 7d9550c91ce6ea14c7adfa4e4ee6e6eb
BLAKE2b-256 027107ed7eb1da019d8f54f5fa0a31f8bc0f17d60bc888f30901626181beec99

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 680c97226bd419f95c94d8539ed201c3179d893909ae19dc73a14f85ac339231
MD5 e1a5b634ab1adde30badad9745753646
BLAKE2b-256 4b76710ba2e1859d41260f3db8bf0838206cb5db630e07e11a4508c1aaa612b9

See more details on using hashes here.

File details

Details for the file rbox-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for rbox-0.1.3-cp39-cp39-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 809de7c03db1fb6dd0b29141ccf9993715a3df10c348d3700b983cbfc52f1333
MD5 1393a09f1fb98deab7aa61d10c3b6de0
BLAKE2b-256 9965ae13c4e87748e1496b73264bf13c558a5c347b28e703d15934869784fb30

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page