Skip to content

DIAGNijmegen/rse-pyswot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

283 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySwot

CI PyPI Python Version from PEP 621 TOML 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 three 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")
[]

Free emails are also included from the HubSpot Free Email List.

>>> from pyswot import is_free
>>> is_free("user@ox.ac.uk")
False
>>> is_free("user@gmail.com")
True
>>> is_free("user@google.com")
False

About

Python implementation of JetBrains/swot

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages