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.
Available on PyPI:
pip install schoolbus
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.3.9.tar.gz
(110.5 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.3.9.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 590b3604c3cba5c8aa77aa409255b88fb2755ebf51fb96fe3938bc1ac7754d2b |
|
MD5 | 0df6958ff3742c35a2f58c30e2591319 |
|
BLAKE2b-256 | 00a658aee0d0297993d7cb3a98ff540cb1c4e3f7840f65d7d89f548f22ee7896 |