Trees | Index | Help |
|
---|
Package pyarchive :: Module identifier |
|
pyarchive.identifier
A Python library which provides an interface for manipulating identifiers used by the Internet Archive (archive.org).
copyright 2004, Creative Commons, Nathan R. YerglerFunction Summary | |
---|---|
Checks availability for a given identifier; returns True if the identifier is available, False if already in use. | |
Takes a string identifier and returns it, appropriatly munged (ie, no spaces, slashes, etc); useful for converting a title to an identifier. | |
Takes an archive.org identifier and returns the verification URL. |
Variable Summary | |
---|---|
str |
__copyright__ = '(c) 2004, Creative Commons, Nathan R. Y...
|
str |
__id__ = '$Id: identifier.py,v 1.3 2004/12/27 14:45:41 n...
|
str |
__license__ = 'licensed under the GNU GPL2'
|
str |
__version__ = '$Revision: 1.3 $'
|
Function Details |
---|
available(identifier)Checks availability for a given identifier; returns True if the identifier is available, False if already in use. Note that this does *not* reserve the identifier, so race conditions may exist. |
munge(identifier)Takes a string identifier and returns it, appropriatly munged (ie, no spaces, slashes, etc); useful for converting a title to an identifier. |
verify_url(collection, identifier, mediatype)Takes an archive.org identifier and returns the verification URL. |
Variable Details |
---|
__copyright__
|
__id__
|
__license__
|
__version__
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:21 2005 | http://epydoc.sf.net |