Normalizes about tags for Fluidinfo
Project description
This package provides functions for generating about tags for
Fluidinfo following various conventions.
Fluidinfo is a hosted, online database based on the notion of tagging.
For more information on FluidDB, visit http://fluidinfo.com.
For more information on the ideas that motivated this module,
see posts at http://abouttag.blogspot.com. A good place to
start is
http://abouttag.blogspot.com/2010/03/about-tag-conventions-in-fluiddb.html
Examples
--------
::
from abouttag.books import book, ubook, author
from abouttag.music import album, track, artist, isrc_recording
from abouttag.film import film, movie
print '
BOOKS (book-u convention):
'
print book(u"Gödel, Escher, Bach: An Eternal Golden Braid",
u'Douglas R. Hofstader')
print
print book(u"One Hundred Years of Solitude", u'Gabriel García Márquez')
print book(u'The Feynman Lectures on Physics',
u'Richard P. Feynman', u'Robert B. Leighton',
u'Matthew Sands')
print
print book(u'The Oxford English Dictionary: second edition, volume 3',
u'John Simpson', u'Edmund Weiner')
print
print '
AUTHORS:'
print author(u'Gabriel García Márquez', 1927, 3, 6)
print author(u"Douglas R. Hofstadter", 1945, 2, 15)
print '
MUSIC (album-u, track-u, artist-u and isrc-1 conventions):
'
print track(u'Bamboulé', u'Bensusan and Malherbe')
print album(u"Solilaï", u'Pierre Bensusan')
print artist(u"Crosby, Stills, Nash & Young")
print isrc_recording(u'US-PR3-73-00012')
print '
FILM (film-u convention):
'
print film(u"Citizen Kane", u'1941')
print movie(u"L'Âge d'Or", u'1930')
print
Installation
------------
::
pip install -U abouttag
Dependencies
------------
`urlnorm <http://pypi.python.org/pypi/urlnorm>`_
Fluidinfo following various conventions.
Fluidinfo is a hosted, online database based on the notion of tagging.
For more information on FluidDB, visit http://fluidinfo.com.
For more information on the ideas that motivated this module,
see posts at http://abouttag.blogspot.com. A good place to
start is
http://abouttag.blogspot.com/2010/03/about-tag-conventions-in-fluiddb.html
Examples
--------
::
from abouttag.books import book, ubook, author
from abouttag.music import album, track, artist, isrc_recording
from abouttag.film import film, movie
print '
BOOKS (book-u convention):
'
print book(u"Gödel, Escher, Bach: An Eternal Golden Braid",
u'Douglas R. Hofstader')
print book(u"One Hundred Years of Solitude", u'Gabriel García Márquez')
print book(u'The Feynman Lectures on Physics',
u'Richard P. Feynman', u'Robert B. Leighton',
u'Matthew Sands')
print book(u'The Oxford English Dictionary: second edition, volume 3',
u'John Simpson', u'Edmund Weiner')
print '
AUTHORS:'
print author(u'Gabriel García Márquez', 1927, 3, 6)
print author(u"Douglas R. Hofstadter", 1945, 2, 15)
print '
MUSIC (album-u, track-u, artist-u and isrc-1 conventions):
'
print track(u'Bamboulé', u'Bensusan and Malherbe')
print album(u"Solilaï", u'Pierre Bensusan')
print artist(u"Crosby, Stills, Nash & Young")
print isrc_recording(u'US-PR3-73-00012')
print '
FILM (film-u convention):
'
print film(u"Citizen Kane", u'1941')
print movie(u"L'Âge d'Or", u'1930')
Installation
------------
::
pip install -U abouttag
Dependencies
------------
`urlnorm <http://pypi.python.org/pypi/urlnorm>`_
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
abouttag-1.1.tar.gz
(12.2 kB
view hashes)