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.3.tar.gz
(110.5 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.3.3.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42be8d67abcf709532eb22d8be4905758895b9690e7683abd8fda8862ffa26c6 |
|
MD5 | 4ec599014279934c7442f7e1ca401cdc |
|
BLAKE2b-256 | 798132d77a643eb08bb83665f4c06e9c818e205c818451e32cce90108642d36f |