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.4.0.macosx-10.9-intel.tar.gz (268.0 kB) Copy SHA256 hash SHA256||Dumb Binary||any||Aug 12, 2014|
|schoolbus-0.4.0.tar.gz (110.6 kB) Copy SHA256 hash SHA256||Source||None||Aug 12, 2014|