Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Python package for simply retrieving information about a specific website.

Project Description

The wsinfo library

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("")
>>> w.ip
>>> w.http_status_code
>>> w.title
'How people build software · GitHub'
>>> w.content
'<!DOCTYPE html>\n<html>\n[...]\n</html>'


The latest documentation is always available here:

Tested Platforms and Python Versions

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.



  • Added properties: content_type, http_header_dict and server_os
  • Correct handling of HTTP Errors (retrieve error page)
  • Documentation updates
  • Code cleanup
  • Minor fixes and improvements



  • Added function to list a websites heading structure
  • Documentation improvements
  • Code formatting
  • Minor improvements
  • Added/extended project infrastructure:
    • GitHub
    • PyPI
    • TravisCI
    • Landscape


  • Initial release

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(7.7 kB) Copy SHA256 Hash SHA256
Wheel 2.7 Sep 15, 2016
(7.7 kB) Copy SHA256 Hash SHA256
Wheel 3.5 Sep 15, 2016
(5.7 kB) Copy SHA256 Hash SHA256
Source None Sep 15, 2016

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers