| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package persisted :: Module sob |
|
Save and load Small OBjects to and from files, using various formats.
API Stability: unstable
Maintainer: Moshe Zadka| Classes | |
|---|---|
_EverythingEphemeral |
|
IPersistable |
An object which can be saved in several formats to a file |
Persistant |
|
Persistent |
|
| Function Summary | |
|---|---|
_decrypt(passphrase,
data)
| |
_encrypt(passphrase,
data)
| |
guessType(filename)
| |
Load an object from a file. | |
Load the value of a variable in a Python file. | |
| Function Details |
|---|
load(filename, style, passphrase=None)Load an object from a file. Deserialize an object from a file. The file can be encrypted.
|
loadValueFromFile(filename, variable, passphrase=None)Load the value of a variable in a Python file. Run the contents of the file, after decrypting ifpassphrase is given, in a namespace and return the result
of the variable named variable.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat May 15 20:08:26 2004 | http://epydoc.sf.net |