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.7.tar.gz
(110.5 kB
view hashes)
Built Distribution
Close
Hashes for schoolbus-0.3.7.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fb7a65134f43abc3f44dc3e680e3db93fddac7f75048b68d0b84a98dcb85e37 |
|
MD5 | 3cd3949027d813613088b8c0014b8eed |
|
BLAKE2b-256 | 2e60a880fc4b7840b186c5e0f55ef7ad051f705d9e87c1417ce540df69dbfd26 |