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.2.4.tar.gz
(110.1 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.2.4.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | abef7d8aa2a196ac15c2452682cac2dbbe5551188698b3223fe9bdcdb72f0755 |
|
MD5 | ebf17ccdd3f654e574ca5479b989e7f4 |
|
BLAKE2b-256 | 036108e2def29b649ab19db53161ba73b39ce00a0c75797c0df1f4407f3e7d85 |