Skip to main content

Parse data from Serato DJ

Project description

serato_data

Python library to parse data from Serato DJ.

Installation

To install, pip install serato_data. To enable command line functionality, run pip install serato_data[cli] and run with python3 -m serato_data.

Usage

The serato_data package exposes a main entrypoint class Serato, which when constructed will attempt to locate Serato's data directory, and raise an exception if it can't find exactly one data directory. Alternatively, the path argument can be used to point directly to the desired data directory in the case of a nonstandard location, or multiple installations.

Serato objects have a history property, which when iterated over produces a list of all sessions. Iterating over a session produces a list of songs in the session.

For more detailed information, see the docs/ folder.

Development

For local development, run pipenv install -d, which will install development dependencies as well.

Testing

Run pipenv run python -m unittest

Documentation Generation

Run pipenv run pdoc --html --output-dir docs serato_data --force

Deployment

  1. Ensure tests pass
  2. Ensure latest documentation is generated
  3. Update the version in src/serato_data/__init__.py
  4. Build the packages: pipenv run python -m build
  5. Upload the packages: pipenv run python -m twine upload dist/*

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

serato_data-0.1.0.tar.gz (46.7 kB view details)

Uploaded Source

Built Distribution

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

serato_data-0.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file serato_data-0.1.0.tar.gz.

File metadata

  • Download URL: serato_data-0.1.0.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for serato_data-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fd891b7f447ee7e863e04097c24c92969cf4175937d1f2a97d459759e9a4fdaa
MD5 1a5d92a002163eb005dd652b294a15af
BLAKE2b-256 d9cfc44f0e2aca64bfea3661210eb5e6ecc2a9afb4bbd47880b015abcd93a401

See more details on using hashes here.

File details

Details for the file serato_data-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: serato_data-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for serato_data-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9b3024f10e9027505bba80ad6dfe470b15e088438c03a1319a8e84a7e901100
MD5 e3fe6d327f930b8caaddf0875c97ee17
BLAKE2b-256 6eff1fc37e0c5b5251ea719d38e7a07758c5ed8277b299fdcec64f64f201a87e

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