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