Home | Trees | Indices | Help |
---|
|
Various utilities to simplify common tasks.
This module contains helper functions to make common tasks easier.
Author: Matthias Friedrich <matt@mafr.de>
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Function Details |
Extract the UUID part from a MusicBrainz identifier. This function takes a MusicBrainz ID (an absolute URI) as the input
and returns the UUID part of the URI, thus turning it into a relative
URI. If The Example: >>> from musicbrainz2.utils import extractUuid >>> extractUuid('http://musicbrainz.org/artist/c0b2500e-0cef-4130-869d-732b23ed9df5', 'artist') 'c0b2500e-0cef-4130-869d-732b23ed9df5' >>>
|
Extract the fragment part from a URI. If The
|
Returns the entity type an entity URI is referring to.
|
Returns the name of a release type URI.
See Also: musicbrainz2.model.Release |
Returns a country's name based on an ISO-3166 country code. The country table this function is based on has been modified for MusicBrainz purposes by using the extension mechanism defined in ISO-3166. All IDs are still valid ISO-3166 country codes, but some IDs have been added to include historic countries and some of the country names have been modified to make them better suited for display purposes. If the country ID is not found, None is returned. This may happen for example, when new countries are added to the MusicBrainz web service which aren't known to this library yet.
See Also: musicbrainz2.model |
Returns a language name based on an ISO-639-2/T code. This function uses a subset of the ISO-639-2/T code table to map language IDs (terminologic, not bibliographic ones!) to names.
See Also: musicbrainz2.model |
Returns a script name based on an ISO-15924 code. This function uses a subset of the ISO-15924 code table to map script IDs to names.
See Also: musicbrainz2.model |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Wed Aug 19 21:33:22 2015 | http://epydoc.sourceforge.net |