schoolbus is a library to guess whether an email is from an academic institution.
Project description
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.
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']
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
schoolbus-0.2.1.tar.gz
(110.3 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.2.1.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8784efc409b83e3c49a80ba0cd7a8e69f5ce30b45c817a9a72044ac2a55b60f |
|
MD5 | 20bcef7bd3d91baaf75cc1c2af766b78 |
|
BLAKE2b-256 | 6856c38f3836854aee55acb0193d7e2944030784cc8decf30805b604a2662fc2 |