Skip to content

Latest commit

 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

schoolbus

A python library to guess whether an email is from an academic institution, heavily based on the swot ruby gem: https://github.081858.xyz/leereilly/swot.

Pull requests for missing institutions (see data.py) are welcome.

Available on PyPI:

pip install schoolbus

Usage

>>> schoolbus.is_academic('coryli@mit.edu')
True
>>> schoolbus.is_academic('josh@benchling.com')
False

>>> schoolbus.school_names('vineetg@mit.edu')
[u'Massachusetts Institute of Technology']
>>> schoolbus.school_names('sajith@scicu.org')
[u'Claflin College', u'Allen University', u'Morris College']

About

A python library for checking if an email is issued by an academic institution. Useful for granting discounts, etc to academic users.

Resources

Stars

15 stars

Watchers

66 watching

Forks

Releases

Packages

Used by

Contributors

Languages