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.5.0.tar.gz (546.6 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.5.0-py3-none-any.whl (550.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyswot-0.5.0.tar.gz
  • Upload date:
  • Size: 546.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyswot-0.5.0.tar.gz
Algorithm Hash digest
SHA256 70bdebbaa44fc908ca43b6e1cd65548d10dadab24de7d6d72ce808c3d1ef4321
MD5 a089f995d9a09a9c2408b5b5b8ce4057
BLAKE2b-256 23c2aaa552e1f5f2044e905bcdf2876284e3d5987d3eb95902ecd3fe081b727a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyswot-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 550.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.16 {"installer":{"name":"uv","version":"0.9.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pyswot-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d90a61889e8ccd1ce6fd165f88ebf689ee33a2ca679fb17b18c3fdf6272c590c
MD5 0c34ae3e2b4726c90d96d0531725c01a
BLAKE2b-256 da99a8a02a008115634cbbaf26c9e137d16f99ba17af18d05d2cea24f6417440

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