Skip to main content

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.

Source Distribution

schoolbus-0.5.0.tar.gz (111.3 kB view details)

Uploaded Source

Built Distribution

schoolbus-0.5.0.macosx-10.10-intel.tar.gz (269.4 kB view details)

Uploaded Source

File details

Details for the file schoolbus-0.5.0.tar.gz.

File metadata

  • Download URL: schoolbus-0.5.0.tar.gz
  • Upload date:
  • Size: 111.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for schoolbus-0.5.0.tar.gz
Algorithm Hash digest
SHA256 5d420ee73c7eb38b80888c15ce78ed89f345aa061f46fc2d3c9d4fc1acc3dfb2
MD5 a324141a5ded91cf482ee5697d7e82c0
BLAKE2b-256 47ce2c9140aff6c076994cd219c2ebd0eff9eb5de944c91500c49d2e8e9cc342

See more details on using hashes here.

File details

Details for the file schoolbus-0.5.0.macosx-10.10-intel.tar.gz.

File metadata

File hashes

Hashes for schoolbus-0.5.0.macosx-10.10-intel.tar.gz
Algorithm Hash digest
SHA256 691be3a89ace45f2468b32343aa5993fd87a54c91d736961e1629f9bd98152f3
MD5 6317ef2828538c37e2c2449fbb4c5367
BLAKE2b-256 5a809e989fca13fdfad0e65b79e087e051403aeebe0896d612bea8703bea204d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page