semvec/pypi-packages huggingface dataset:
swc-registry 0.0.11
The python library for accessing SWC-registry content.

# The Python SWC Registry Library


[![CircleCI](https://circleci.com/gh/SmartContractSecurity/SWC-registry-python.svg?style=svg)](https://circleci.com/gh/SmartContractSecurity/SWC-registry-python)	
[![Documentation Status](https://readthedocs.org/projects/swc-registry-python/badge/?version=latest)](https://swc-registry-python.readthedocs.io/en/latest/?badge=latest)


## Description
Python library for accessing SWC-registry content.

## Installation

```console
$ pip install -U swc-registry
```

## Example
```python
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
```python
from swc_registry import SWC

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

// Function Default Visibility
```
## Contribution