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.4.5.tar.gz
(110.9 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.4.5.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af2f6e8c1e706819d5613245e48ddaccbef6521d2d60b6849dc51fc450e58963 |
|
MD5 | 23edeb3fc4c41d90f514e3f220c7ab07 |
|
BLAKE2b-256 | 6f2de64c706ebe85f80f1d2f5e0ef33c7f7590dbf4e6b38f7ac410d9c4eee57d |