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.2.tar.gz
(110.5 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.2.2.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa76fe8099fac2990de0d0a5867214c1d783b66018d85eb85a1ba0afed329113 |
|
MD5 | ebb2538d860521aa66c3f1a28991c5e2 |
|
BLAKE2b-256 | b3ff5534aff107685958754b1e82a8a16d11aaccc1d4d4972bb6aa6d25b9893c |