{ "info": { "author": "Carlos Salom", "author_email": "csalom@apsl.net", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=========\nPage Size Check\n=========\n\nPage Size Check is an utility to check the size of pages from a sitemap and its resources parsering the HAR file of the\nrequest using Selenium and haralyzer. The execution of this utility produces some files to allow the user to make an\nanalysis of the number of requests and its size. The execution use ThreadPoolExecutor to launch the browsers in parallel.\n\nDependencies\n------------\n\n* Git.\n* Python 3.5 or higher, `pip`_ and virtualenvwrapper.\n* System requeriments in requirements-sys.txt\n\nInstallation\n------------\n\nNowadays the project is only available on github.\n\n#. Clone project from repo ::\n\n git clone git@github.com:APSL/page-size-check.git\n\n#. Setup virtualenv Python ::\n\n cd page_size_check\n mkvirtualenv \"page_size_check\" -p python3 -a .\n pip install -r requirements.txt\n\n#. Branches ::\n\n master --> prod env. Bug issues start from here.\n\n#. Download ::\n\n - Firefox webdriver for selenium: geckodriver\n - Browsermob-proxy\n\n#. Execution ::\n\n python page_size_check.py --sitemap_url=\"sitemap.url\" [--help]\n\n#. Output ::\n\n - Resume urls file: a resume of the urls with the number of entries, the page size and the page load times\n - Resources list file: a list of the resources on every page with its mimetype, size and load time\n - Mimetype resources: a resume of the resources grouped by mimetype in each url of the sitemap\n\n\n\nUsage\n-----\nAs was showned before, you can execute the script doing :code:`python page_size_check.py --help` to see all the\nparameters that you can set:\n\n--browsermob_server_path TEXT Browsermob Server Path.\n--firefox_driver_path TEXT Firefox Driver Path.\n--sitemap_url TEXT Sitemap to get urls.\n--threads INTEGER Number of threads.\n--help Show this message and exit.\n\nContributing\n------------\n\nContributions are very welcome. Please open a `pull request`_ or `file an issue`_.\nTests will be ready as soon as posible, please ensure the coverage at least stays the same\nbefore you submit a pull request.\n\nLicense\n-------\n\nDistributed under the terms of the `MIT`_ license, \"page-size-check\" is free and open source software\n\n\nIssues\n------\n\nIf you encounter any problems, please `file an issue`_ along with a detailed description.\n\n.. _`pip`: https://pypi.python.org/pypi/pip/\n.. _`pull request`: https://github.com/APSL/page-size-check/pulls\n.. _`file an issue`: https://github.com/APSL/page-size-check/issues\n.. _`MIT`: http://opensource.org/licenses/MIT", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/APSL/page-size-check", "keywords": "", "license": "MIT", "maintainer": "Carlos Salom", "maintainer_email": "csalom@apsl.net", "name": "page-size-check", "package_url": "https://pypi.org/project/page-size-check/", "platform": "", "project_url": "https://pypi.org/project/page-size-check/", "project_urls": { "Homepage": "https://github.com/APSL/page-size-check" }, "release_url": "https://pypi.org/project/page-size-check/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Utility to check the size of pages from a sitemap and its resources parsering the HAR file of request", "version": "1.0.0" }, "last_serial": 4394733, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "fd693ed372d3d16e50a568f4a6553cc2", "sha256": "69c775037687dc1e1a05552b4256cc15921ad6703f056fe79b4c287287fcb6a9" }, "downloads": -1, "filename": "page-size-check-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fd693ed372d3d16e50a568f4a6553cc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16190, "upload_time": "2018-10-19T16:01:58", "url": "https://files.pythonhosted.org/packages/a5/d7/3dbe719a7b1ddd8a5379b26857f6cd4ce0c08d96e15c53cb3c843e5a1b86/page-size-check-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fd693ed372d3d16e50a568f4a6553cc2", "sha256": "69c775037687dc1e1a05552b4256cc15921ad6703f056fe79b4c287287fcb6a9" }, "downloads": -1, "filename": "page-size-check-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fd693ed372d3d16e50a568f4a6553cc2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16190, "upload_time": "2018-10-19T16:01:58", "url": "https://files.pythonhosted.org/packages/a5/d7/3dbe719a7b1ddd8a5379b26857f6cd4ce0c08d96e15c53cb3c843e5a1b86/page-size-check-1.0.0.tar.gz" } ] }