Skip to content

pixelrebel/pypixelrebel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyPixelRebel

The pixelrebel Python Module

helper Class

Provides common functions and snippets

cmpv(version1, version2)
Compare version strings
Returns '0' if version1 == verstion2
Returns '-1' if version1 < version2
Returns '1' if version1 > version2
commas(x)
Return number as string with commas
bytefmt(num, suffix='B')
Format bytes into human readable strings
sendmail(send_from, send_to, subject, text, files=None, server="127.0.0.1")
Sends email using sendmail
timestamp(fmt='%c')
Return timestamp string for logs

About

pixelrebel python module

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages