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.2.tar.gz (2.2 kB view hashes)

Uploaded source

Built Distribution

sitesize-0.0.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page