This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
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.

Requirements

The package is compatible with both Python 2 and 3, so everything you need is a recent Python installation.

Installation

The wsinfo library is available on PyPI, so you can install it using pip:

pip install wsinfo

Usage

The usage of the wsinfo library is as easy as:

>>> import wsinfo
>>> w = wsinfo.Info("https://github.com")
>>> w.ip
'192.30.253.112'
>>> w.http_status_code
200
>>> w.title
'How people build software · GitHub'
>>> w.content
'<!DOCTYPE html>\n<html>\n[...]\n</html>'

Documentation

The latest documentation is always available here: https://wsinfo.readthedocs.io/en/latest/

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.

Changes

1.3.0

  • 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

1.2.0

1.1.0

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

1.0.0

  • Initial release
Release History

Release History

1.3.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

1.0.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

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

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting