{ "info": { "author": "Bob Jewell", "author_email": "bob@disclosed.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4", "Topic :: System :: Systems Administration" ], "description": "Sharepoint Cache Primer\n=======================\n\nOverview\n--------\n\nThe first time a browser hits a sharepoint site after a restart, the\ncaches are empty, so the page can take a while to load. One can script\nsomething to silently hit a sharepoint web-frontend, causing it to build\ncaches and preventing any real people from experiencing that.\n\nThis tool does this for a specific circumstance where it's kind of hard\nto script it without better tools - where normal NTML authentication\ndoesn't work, because there is ADFSv3 authentication configured, and\nwhere there may be a number of web-frontends behind a load balancer.\n\n*I don't know why this is required. I'm not a sharepoint admin. Maybe\nit's an artifact of a particular setup.*\n\nInstallation\n------------\n\nThis may work in Python 2, but many distributions of Python 2 do not\ninclude urllib that has SNI support. Since this is a sysadmin tool, you\nprobably want it to \"just work\", so \"just use Python 3.4\".\n\nSimple install: pip install sharepointcacheprimer\n\nUsage\n-----\n\nThe pypi package installs an executable in the standard python location,\ncalled '**sharepointcacheprimer**\\ '.\n\n::\n\n usage: sharepointcacheprimer [-h] config site [site ...]\n example: sharepointcacheprimer myconfig.ini mysite.com mysite2.com\n\nThis will connect to a sharepoint site, authenticate and load a page\nsilently. It is suited to running as a cronjob/scheduled task.\n\nThe configuration file is formatted as a .ini. The packages ships with\nan example file that is installed in PYTHONROOT/doc/, and described\nbelow.\n\nConfiguration\n-------------\n\n>From the included ``doc/example.ini``\n\nEach section is either a site definition or a cookieset definition.\n\nA Site Definition\n~~~~~~~~~~~~~~~~~\n\nThis is a sharepoint site, with ADFS credentials and an optional\nreference to a cookieset to use.\n\n::\n\n [example.com] ; Site: example.com\n username = domain\\user1 ; ADFS username\n password = password1 ; ADFS password\n url = http://example.com ; URL that for site to prime\n cookielist = examplecookies ; Optional sectionname for Cookie Sets \n\nA Cookieset Definition\n~~~~~~~~~~~~~~~~~~~~~~\n\nEvery line is a cookie, as \"COOKIENAME = value1,value2,value3\". For each\nvalue of each cookie, the site will be primed once. This allows a site\npool that uses a cookie-based load balancer to force iterating through\nevery web frontend via cookies.\n\nIn the below example, the cookie \"LB-COOKIE\" will be set for each of\nthree attempts, using the values abc1, abc2, and abc3 respectively. If\nmore than one list of cookies is below, that will just be an additional\niteration. For example, another line with 2 more values would cause a\ntotal of 5 priming attempts with 5 unique cookie values.\n\n::\n\n [examplecookies] ; The label referenced above\n LB-COOKIE = abc1,abc2,abc3 ; A cookie list, comma-delimited", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rjewell/sharepointcacheprimer", "keywords": "sharepoint adfs cache", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "sharepointcacheprimer", "package_url": "https://pypi.org/project/sharepointcacheprimer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/sharepointcacheprimer/", "project_urls": { "Homepage": "https://github.com/rjewell/sharepointcacheprimer" }, "release_url": "https://pypi.org/project/sharepointcacheprimer/1.0b3.post5/", "requires_dist": [ "robobrowser" ], "requires_python": null, "summary": "Cache Primer for Sharepoint with ADFSv3", "version": "1.0b3.post5" }, "last_serial": 1652093, "releases": { "1.0b1": [ { "comment_text": "", "digests": { "md5": "55143c30f4965734f9462f9d8b7a8e90", "sha256": "ac4397fcbee140814a97471972e3b931a12166c11aa471e8c13f5d08b1658cf4" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b1-py3-none-any.whl", "has_sig": false, "md5_digest": "55143c30f4965734f9462f9d8b7a8e90", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7854, "upload_time": "2015-07-27T04:18:51", "url": "https://files.pythonhosted.org/packages/65/20/db5d36c8faea0294ad0e1c8ccf9efda8d4322bb3c87e6bfc75274ebd8e60/sharepointcacheprimer-1.0b1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d460935b560deb1a3cbddb64f2b09dcf", "sha256": "ed8ec837a96cce6d16efafc9eeb5734234849c9357d4441f3e36893d7f0d1fcb" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b1.tar.gz", "has_sig": false, "md5_digest": "d460935b560deb1a3cbddb64f2b09dcf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3963, "upload_time": "2015-07-27T04:18:55", "url": "https://files.pythonhosted.org/packages/8f/1f/80b900c134eea961157b832b8c5a09ee2e76362ad0622879076614096832/sharepointcacheprimer-1.0b1.tar.gz" } ], "1.0b3": [ { "comment_text": "", "digests": { "md5": "de8820863de2b1c2ec360a25a058bf08", "sha256": "bca08059ebf06c2128331679d5fc5f8f077c24fdfd37f5a6ab178bea2fac83ec" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3-py3-none-any.whl", "has_sig": false, "md5_digest": "de8820863de2b1c2ec360a25a058bf08", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7850, "upload_time": "2015-07-27T04:26:44", "url": "https://files.pythonhosted.org/packages/24/8d/536ec33b4e8abf2b7f9ab9005f41302a0fe7bf6a1de5bb7be92ca7719d95/sharepointcacheprimer-1.0b3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cbe557ee83f0e1bc35b81f04cb31a4d0", "sha256": "16871cb9f6630cacdce5b86ce57bca1981ef1621c2bb4b7184d7e5006683f3f2" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.tar.gz", "has_sig": false, "md5_digest": "cbe557ee83f0e1bc35b81f04cb31a4d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3964, "upload_time": "2015-07-27T04:26:48", "url": "https://files.pythonhosted.org/packages/8f/64/3736b3aae95f089836099f6aec74bf3508a44ef83b27abb34d2fb91d6c06/sharepointcacheprimer-1.0b3.tar.gz" } ], "1.0b3.post1": [ { "comment_text": "", "digests": { "md5": "db87f4f24639c8369ddb94a1cd6b4216", "sha256": "807fa1557278a23e8b84acf91293cb301e1e93e3f489e6a10fb91246ce08b2c9" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post1-py3-none-any.whl", "has_sig": false, "md5_digest": "db87f4f24639c8369ddb94a1cd6b4216", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7980, "upload_time": "2015-07-27T04:32:05", "url": "https://files.pythonhosted.org/packages/b6/63/cfbb536a74c1940bc89280d2413439bcd98859a3efd2a4ccf3d7239aefe5/sharepointcacheprimer-1.0b3.post1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9d51aec76a6364dc9973745f89e82e2a", "sha256": "5bfd4d51d88c57ade0a001aef6a175db69df2117731234795609facaa51f999d" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post1.tar.gz", "has_sig": false, "md5_digest": "9d51aec76a6364dc9973745f89e82e2a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3978, "upload_time": "2015-07-27T04:32:08", "url": "https://files.pythonhosted.org/packages/1e/1d/eb2aa97dc0212945b2ec3c30e0735fc1c9f98ad77ad249bfddd5b17d76de/sharepointcacheprimer-1.0b3.post1.tar.gz" } ], "1.0b3.post2": [ { "comment_text": "", "digests": { "md5": "c5810ff61f1e6cf8f9f1ba1e3d16265e", "sha256": "c34146273256887765be07e1ae901ead58d45b05126da152b703c31d9e692292" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post2-py3-none-any.whl", "has_sig": false, "md5_digest": "c5810ff61f1e6cf8f9f1ba1e3d16265e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8197, "upload_time": "2015-07-27T19:38:01", "url": "https://files.pythonhosted.org/packages/78/f1/a5d04dc31f86bc63fa5417a32d1b5fbb93755e65c635ad90592b44f3113e/sharepointcacheprimer-1.0b3.post2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9db420e2b10bc9215f892fa3ebb23a9c", "sha256": "a2ccc4a29de8f5446ecc43d7fe0772487b26d390f82373c49eb46ffdc4f6ce9e" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post2.tar.gz", "has_sig": false, "md5_digest": "9db420e2b10bc9215f892fa3ebb23a9c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4139, "upload_time": "2015-07-27T19:38:05", "url": "https://files.pythonhosted.org/packages/af/b8/f9229629082dfed6efeab50717cf52aef3b35d4b6e827a1cacd7c27ec539/sharepointcacheprimer-1.0b3.post2.tar.gz" } ], "1.0b3.post3": [ { "comment_text": "", "digests": { "md5": "813a3e40e015e8d9b9834245659a5cae", "sha256": "1ac8f5f5387d5c0ed97a110a0cd46a33f41424112d1d585590bbae87e35ea904" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post3-py3-none-any.whl", "has_sig": false, "md5_digest": "813a3e40e015e8d9b9834245659a5cae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8199, "upload_time": "2015-07-27T19:40:55", "url": "https://files.pythonhosted.org/packages/e0/69/1ea26d099fec5157c2de575e0bf9ca6cb92258fc2e118532ed15deb2a73b/sharepointcacheprimer-1.0b3.post3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5a25d364b91341e86d65bf12a72b6148", "sha256": "e6929a2060f0f04e78f10fec42912e6751013ec4d5875f5bc4b1f27fbcbf48ad" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post3.tar.gz", "has_sig": false, "md5_digest": "5a25d364b91341e86d65bf12a72b6148", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4142, "upload_time": "2015-07-27T19:40:59", "url": "https://files.pythonhosted.org/packages/c4/b3/8694b803cbcd81a136868f0d9d5bf3d50982835bc78f6559a5e4e375a589/sharepointcacheprimer-1.0b3.post3.tar.gz" } ], "1.0b3.post5": [ { "comment_text": "", "digests": { "md5": "8bbaad6bb9874dceea43dbba1c0ac9d0", "sha256": "274cfcd034d0fcab93969f635081a75c7ee292fabcbbe438fc67caad6442be58" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post5-py3-none-any.whl", "has_sig": false, "md5_digest": "8bbaad6bb9874dceea43dbba1c0ac9d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8211, "upload_time": "2015-07-27T19:51:48", "url": "https://files.pythonhosted.org/packages/5f/68/981ae5fcde712974cd3a2617137dd071206e6966c4f788b438f785a39cf7/sharepointcacheprimer-1.0b3.post5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8004b7f03c2fb922af6346baa08ed01a", "sha256": "ab8be031c7887263c7dfa4d79d7f2c568d91aca074c2870aeb1e861eb71e2c05" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post5.tar.gz", "has_sig": false, "md5_digest": "8004b7f03c2fb922af6346baa08ed01a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4372, "upload_time": "2015-07-27T19:51:52", "url": "https://files.pythonhosted.org/packages/52/21/6dc99024ee0e0cd7b6143b093d425032d603edcc8bd88513d39f0531c11e/sharepointcacheprimer-1.0b3.post5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8bbaad6bb9874dceea43dbba1c0ac9d0", "sha256": "274cfcd034d0fcab93969f635081a75c7ee292fabcbbe438fc67caad6442be58" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post5-py3-none-any.whl", "has_sig": false, "md5_digest": "8bbaad6bb9874dceea43dbba1c0ac9d0", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8211, "upload_time": "2015-07-27T19:51:48", "url": "https://files.pythonhosted.org/packages/5f/68/981ae5fcde712974cd3a2617137dd071206e6966c4f788b438f785a39cf7/sharepointcacheprimer-1.0b3.post5-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8004b7f03c2fb922af6346baa08ed01a", "sha256": "ab8be031c7887263c7dfa4d79d7f2c568d91aca074c2870aeb1e861eb71e2c05" }, "downloads": -1, "filename": "sharepointcacheprimer-1.0b3.post5.tar.gz", "has_sig": false, "md5_digest": "8004b7f03c2fb922af6346baa08ed01a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4372, "upload_time": "2015-07-27T19:51:52", "url": "https://files.pythonhosted.org/packages/52/21/6dc99024ee0e0cd7b6143b093d425032d603edcc8bd88513d39f0531c11e/sharepointcacheprimer-1.0b3.post5.tar.gz" } ] }