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 | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for schoolbus-0.5.0.macosx-10.10-intel.tar.gz