Python package for simply retrieving information about a specific website.
wsinfo (short for website information) is a Python package for getting some useful information about some website, without the need to write some complicated hackish Python code.
The package is compatible with both Python 2 and 3, so everything you need is a recent Python installation.
The wsinfo library is available on PyPI, so you can install it using pip:
pip install wsinfo
The usage of the wsinfo library is as easy as:
>>> import wsinfo >>> w = wsinfo.Info("https://github.com") >>> w.ip '220.127.116.11' >>> w.http_status_code 200 >>> w.title 'How people build software · GitHub' >>> w.content '<!DOCTYPE html>\n<html>\n[...]\n</html>'
The latest documentation is always available here: https://wsinfo.readthedocs.io/en/latest/
The code was tested on all major platforms using a wide range of Python versions.
If you experience some issues, feel free to contact me or open an issue on GitHub.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|wsinfo-1.3.0-py2-none-any.whl (7.7 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Sep 15, 2016|
|wsinfo-1.3.0-py3-none-any.whl (7.7 kB) Copy SHA256 Checksum SHA256||3.5||Wheel||Sep 15, 2016|
|wsinfo-1.3.0.tar.gz (5.7 kB) Copy SHA256 Checksum SHA256||–||Source||Sep 15, 2016|