Module musicbrainz2.model
The MusicBrainz domain model.
These classes are part of the MusicBrainz domain model. They may be
used by other modules and don't contain any network or other I/O code. If
you want to request data from the web service, please have a look at musicbrainz2.webservice
.
The most important classes, usually acting as entry points, are Artist
, Release
, and Track
.
Author: Matthias Friedrich <matt@mafr.de>
See Also: musicbrainz2.webservice
Classes |
Artist |
Represents an artist. |
ArtistAlias |
Represents an artist alias. |
Disc |
Represents an Audio CD. |
Entity |
A first-level MusicBrainz class. |
Relation |
Represents a relation between two Entities. |
Release |
Represents a Release. |
ReleaseEvent |
A release event, indicating where and when a release took place. |
Track |
Represents a track. |
User |
Represents a MusicBrainz user. |
Variable Summary |
str |
NS_EXT_1 : Namespace prefix for MusicBrainz extensions. |
str |
NS_MMD_1 : Default namespace prefix for all MusicBrainz metadata. |
str |
NS_REL_1 : Namespace prefix for relations. |
str |
VARIOUS_ARTISTS_ID : The ID of the special 'Various Artists' artist. |
NS_EXT_1
Namespace prefix for MusicBrainz extensions.
-
- Type:
-
str
- Value:
'http://musicbrainz.org/ns/ext-1.0#'
|
|
NS_MMD_1
Default namespace prefix for all MusicBrainz metadata.
-
- Type:
-
str
- Value:
'http://musicbrainz.org/ns/mmd-1.0#'
|
|
NS_REL_1
Namespace prefix for relations.
-
- Type:
-
str
- Value:
'http://musicbrainz.org/ns/rel-1.0#'
|
|
VARIOUS_ARTISTS_ID
The ID of the special 'Various Artists' artist.
-
- Type:
-
str
- Value:
'http://musicbrainz.org/artist/89ad4ac3-39f7-470e-963a-56509c546377'
|
|