Skip to main content

Python wrapper for JetBrains/swot.

Project description

PySwot

https://img.shields.io/pypi/v/pyswot.svg Build Status Code Coverage Status

Python wrapper for JetBrains/swot.

Features

This library is a wrapper around JetBrains/swot and provides two 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")
[]

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.2.0 (2022-02-15)

  • Dropped support for Python 3.6

  • Added support for Python 3.10

  • find_school_names now returns None if the source school name could not be utf-8 decoded

  • Reduced the number of files in deployment by vendoring the sources

0.1.3 (2021-03-02)

  • Updates domain sources

  • Adds tests on Python 3.9

0.1.2 (2020-09-26)

  • Fixes missing files and non-utf8 institution names

0.1.0 (2020-09-25)

  • First release on PyPI.

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.2.0.tar.gz (334.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.2.0-py3-none-any.whl (328.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyswot-0.2.0.tar.gz
  • Upload date:
  • Size: 334.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pyswot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 354d9f7af17b2ded2b98c83ced936f715dd52de8eda3b61cf68be35edd3edf91
MD5 b1ddc00cb2d115ca365393d596be6092
BLAKE2b-256 057f99ac5c5fcf6b5ecab0903156f2739a283d466e671d7dd85cfa4a35d366ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyswot-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 328.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for pyswot-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd0e2d7fcbdbab631a503f4ff4657c907108d03045e6da818be74d3a18591bfb
MD5 ad320cee716ced31fddb72d4fb5ff873
BLAKE2b-256 89757966b6f08b70d90785a5966747ad0eb53ebaaffd66b63c60d4415902642a

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