sitesize

Get size of web page


License
MIT
Install
pip install sitesize==0.0.2

Documentation

Site Size

Returns the size of the webpage which url is passed

Usage

import sitesize
# get the size of webpage in bytes
sitesize.get_webpage_size('http://www.github.com/')
# check if the url is valid or not
sitesize.url_checker('http://www.github.com/')

Installation

Using pip

pip install sitesize

Without pip

For Installing the dependency and saving the package python setup.py install If you just want to test the package without installing

  • Clone the repository git clone https://github.com/Mianto/sitesize.git
  • Navigate to sitesize folder containing main.py
  • Run main.py as python main.py