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.15.tar.gz
(111.2 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.4.15.macosx-10.9-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b8497e0ce99a147d1db60a17c65fe1948ca09d6ba6c5721f8437f3cd7a56d68 |
|
MD5 | 6643736a19f7c29827a059219307860b |
|
BLAKE2b-256 | 57a9c7a342e965a1cc13b97350c2f591c9fce6b0b479b441d4ff1bd923d642e4 |