Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.01 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.01 KB

The Python SWC Registry Library

CircleCI Documentation Status

Description

Python library for accessing SWC-registry content.

Installation

$ pip install -U swc-registry

Example

from swc_registry import SWC

swc = SWC('SWC-100')
print(swc.title)

// Function Default Visibility

Behaviour

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.

Get latest version

from swc_registry import SWC

swc = SWC('SWC-100', get_last=True)
print(swc.title)

// Function Default Visibility

Contribution