Skip to main content

Python wrapper for JetBrains/swot

Project description

PySwot

CI PyPI PyPI - Python Version Code style: black

Python wrapper for JetBrains/swot.

  • Free software: Apache Software License 2.0

Features

This library is a wrapper around JetBrains/swot and provides three methods:

>>> from pyswot import is_academic
>>> is_academic("user@ox.ac.uk")
True
>>> is_academic("user@gmail.com")
False
>>> from pyswot import find_school_names
>>> find_school_names("user@ox.ac.uk")
['University of Oxford']
>>> find_school_names("user@gmail.com")
[]

Free emails are also included from the HubSpot Free Email List.

>>> from pyswot import is_free
>>> is_free("user@ox.ac.uk")
False
>>> is_free("user@gmail.com")
True
>>> is_free("user@google.com")
False

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

pyswot-0.4.1.tar.gz (527.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyswot-0.4.1-py3-none-any.whl (530.8 kB view details)

Uploaded Python 3

File details

Details for the file pyswot-0.4.1.tar.gz.

File metadata

  • Download URL: pyswot-0.4.1.tar.gz
  • Upload date:
  • Size: 527.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.10

File hashes

Hashes for pyswot-0.4.1.tar.gz
Algorithm Hash digest
SHA256 0a91d1bc621d01f2de0c8a92c2299596efbf895c7c43878327d271702d1ebc91
MD5 7bebfbc2e054bab8eeff64d8d0507793
BLAKE2b-256 a39dc17c26541c539a38d1cc7ac22d115f7f4b7fe24c213f56629c857c347f97

See more details on using hashes here.

File details

Details for the file pyswot-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: pyswot-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 530.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.10

File hashes

Hashes for pyswot-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d97f5ee1381be451e69b25347d85cc8e01d5b3877779d4a712ff4cf33b5b0007
MD5 8ef9c3ae7f3a54a23a88a51421e1243b
BLAKE2b-256 07f4f5cc7ff2deaf42df8f9a3dd0a7837ad16c1614d5a21fc563602a06f93fa6

See more details on using hashes here.

Supported by

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