Package pyarchive :: Module utils
[show private | hide private]
[frames | no frames]

Module pyarchive.utils

This module contains utility fuctions.
Function Summary
  getByteStream(fileinfo)
  getDirsMtimes(dirs, yieldcall)
  getDirStream(dir)
  getFileInfo(name, pathname)
  getFilesIndex(mtimes, oldmtimes, shareddirs, sharedfiles, yieldcall)
  getFilesList(mtimes, oldmtimes, oldlist, yieldcall)
Get a list of files with their filelength and (if mp3) bitrate and track length in seconds
  getFilesStreams(mtimes, oldmtimes, oldstreams, sharedfiles, yieldcall)
  getIndexWords(dir, file, shareddirs)
  getServerList(url)
Parse server text file from http://www.slsk.org and return a list of servers
  rescandirs(shared, sharedmtimes, sharedfiles, sharedfilesstreams, yieldfunction)

Variable Summary
str version = '1.2.5'

Function Details

getFilesList(mtimes, oldmtimes, oldlist, yieldcall=None)

Get a list of files with their filelength and (if mp3) bitrate and track length in seconds

getServerList(url)

Parse server text file from http://www.slsk.org and return a list of servers

Variable Details

version

Type:
str
Value:
'1.2.5'                                                                

Generated by Epydoc 2.1 on Fri Jun 24 12:01:21 2005 http://epydoc.sf.net