Python library for accessing SWC-registry content.
$ pip install -U swc-registry
from swc_registry import SWC
swc = SWC('SWC-100')
print(swc.title)
// Function Default Visibility
On first use of the SWC methods, the SWC registry is initialized from file (swc-definition.json) out cache. If user wants to get the latest information about SWC-registry he needs to pass the second argument of SWC class.
from swc_registry import SWC
swc = SWC('SWC-100', get_last=True)
print(swc.title)
// Function Default Visibility