Database#

Library#

Library([path, directory, path_formats, ...])

A database of music containing songs and albums.

Models#

LibModel([db])

Shared concrete functionality for Items and Albums.

Album([db])

Provide access to information about albums stored in a library.

Item([db])

Represent a song or track.

Transactions#

Transaction(db)

A context manager for safe, concurrent access to the database.

Queries#

Query()

An abstract class representing a query into the database.

FieldQuery(field_name, pattern[, fast])

An abstract query that searches in a specific field for a pattern.

AndQuery([subqueries])

A conjunction of a list of other queries.