rahulnm / SWC-registry-python

Python library for accessing SWC-registry content

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Python library for accessing SWC-registry content

License:MIT License


Languages

Language:Python 100.0%