Skip to content

jayridge/binaryplist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

binaryplist

binaryplist is a python module to encode native objects as Apple compatible binary plists.

To use this application you will need

  • Python 2.6+

Example usage:

import binaryplist as plist
import datetime
import time

o = {
    "yes":True,
    "no":False,
    "uni":u'abcd\xe9f',
    "real":12.43243,
    "list":[0,1,2],
    "tuple": ('a','b',('c','d')),
    "today":datetime.date.today(),
    "now":time.time()
}

bplist = plist.encode(o)
f = open('/tmp/foo.plist', 'w+')
f.write(bplist)
f.close()

About

python binary plist

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published