synapse.data package

synapse.data.get(name, defval=None)[source]

Return an object from the embedded synapse data folder.

Example

for tld in synapse.data.get(‘iana.tlds’):

dostuff(tld)

NOTE: Files are named synapse/data/<name>.mpk

synapse.data.getJSON(name)[source]
synapse.data.path(*names)[source]