Skip to main content

Get size of web page

Project description

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

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

sitesize-0.0.1.tar.gz (2.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page