Skip to main content

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/*

Metadata

Release files for serato-data 0.1.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 serato-data 0.1.0
File Size Uploaded Provenance
serato_data-0.1.0.tar.gz 46.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for serato-data 0.1.0
File Interpreter ABI Platform
serato_data-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 58.8 kB

Release files / serato_data-0.1.0.tar.gz

Download URL serato_data-0.1.0.tar.gz
Size 46.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fd891b7f447ee7e863e04097c24c92969cf4175937d1f2a97d459759e9a4fdaa
BLAKE2b-256 checksum
How to use checksums
d9cfc44f0e2aca64bfea3661210eb5e6ecc2a9afb4bbd47880b015abcd93a401
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Release files / serato_data-0.1.0-py3-none-any.whl

Download URL serato_data-0.1.0-py3-none-any.whl
Size 12.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9b3024f10e9027505bba80ad6dfe470b15e088438c03a1319a8e84a7e901100
BLAKE2b-256 checksum
How to use checksums
6eff1fc37e0c5b5251ea719d38e7a07758c5ed8277b299fdcec64f64f201a87e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.2

Security for serato-data 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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