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
- Ensure tests pass
- Ensure latest documentation is generated
- Update the version in
src/serato_data/__init__.py - Build the packages:
pipenv run python -m build - Upload the packages:
pipenv run python -m twine upload dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd891b7f447ee7e863e04097c24c92969cf4175937d1f2a97d459759e9a4fdaa
|
|
| MD5 |
1a5d92a002163eb005dd652b294a15af
|
|
| BLAKE2b-256 |
d9cfc44f0e2aca64bfea3661210eb5e6ecc2a9afb4bbd47880b015abcd93a401
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9b3024f10e9027505bba80ad6dfe470b15e088438c03a1319a8e84a7e901100
|
|
| MD5 |
e3fe6d327f930b8caaddf0875c97ee17
|
|
| BLAKE2b-256 |
6eff1fc37e0c5b5251ea719d38e7a07758c5ed8277b299fdcec64f64f201a87e
|