schoolbus is a library to guess whether an email is from an academic institution.
A python library to guess whether an email is from an academic institution, heavily based on the swot ruby gem: https://github.com/leereilly/swot.
Pull requests for missing institutions (see data.py) are welcome.
Available on PyPI:
pip install schoolbus
>>> schoolbus.is_academic('firstname.lastname@example.org') True >>> schoolbus.is_academic('email@example.com') False >>> schoolbus.school_names('firstname.lastname@example.org') [u'Massachusetts Institute of Technology'] >>> schoolbus.school_names('email@example.com') [u'Claflin College', u'Allen University', u'Morris College']
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|schoolbus-0.3.8.macosx-10.10-intel.tar.gz (267.6 kB) Copy SHA256 hash SHA256||Dumb Binary||any||Jul 15, 2014|
|schoolbus-0.3.8.tar.gz (110.5 kB) Copy SHA256 hash SHA256||Source||None||Jul 15, 2014|