Skip to content

DIAGNijmegen/rse-pyswot

Repository files navigation

PySwot

CI PyPI PyPI - Python Version Code style: black

Python wrapper for JetBrains/swot.

  • Free software: Apache Software License 2.0

Features

This library is a wrapper around JetBrains/swot and provides two methods:

>>> from pyswot import is_academic
>>> is_academic("user@ox.ac.uk")
True
>>> is_academic("user@gmail.com")
False
>>> from pyswot import find_school_names
>>> find_school_names("user@ox.ac.uk")
['University of Oxford']
>>> find_school_names("user@gmail.com")
[]