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.tar.gz
(110.1 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.2.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5056bac5d5635d9951cb02e4c2f06daba5f81a71ce461e14856fff2c85b6eb38 |
|
MD5 | 1353d7bab02b9b0ca2583676946f6b87 |
|
BLAKE2b-256 | 9e57a947494af4b3d28dd32f17962069b7d222e89e0c68b9d3dd0d6514afa0ac |