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('joshma@mit.edu')
True
>>> schoolbus.is_academic('josh@benchling.com')
False
>>> schoolbus.school_names('joshma@mit.edu')
[u'Massachusetts Institute of Technology']
>>> schoolbus.school_names('josh@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.1.tar.gz
(109.9 kB
view hashes)
Built Distribution
schoolbus-0.1.linux-x86_64.tar.gz
(265.8 kB
view hashes)
Close
Hashes for schoolbus-0.1.linux-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f1cfedb754cdda3fe20cba104e875265cdced399899c80bc322d00baed807fa |
|
MD5 | 7279424fc668aff2137f4dde9dca6e8d |
|
BLAKE2b-256 | 380fc4488f4b636a712c94d04f42682f0b95477d1e1bb742f203907eee497a47 |