Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for schoolbus, version 0.5.0
Filename, size File type Python version Upload date Hashes
Filename, size schoolbus-0.5.0.macosx-10.10-intel.tar.gz (269.4 kB) File type Dumb Binary Python version any Upload date Hashes View hashes
Filename, size schoolbus-0.5.0.tar.gz (111.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page