{ "info": { "author": "Vladim\u00edr Gorej", "author_email": "gorej@codescale.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Browsers", "Topic :: Utilities" ], "description": "pybrowscap\n==========\n\npybrowscap is a python port of PHP function `get_browser()`. It tells what the user\nbrowser is capable of. It detects browsers capabilities and features like css, java,\njavascript etc. It works on top of browscap data file.\n\n\nImportant notice\n----------------\n\nVersion 2.0 and higher of pybrowscap supports csv browscap file version 5000 and higher. If you want to use\nolder version of csv browscap file, use pybrowscap version lower than 2.0.\n\n\nRequirements\n------------\n\n- python 2.6+\n- browscap.csv (browscap data file in csv format)\n\n\nInstalation\n-----------\n\nInstall via pypi or copy this module into your project or into your PYTHON_PATH.\nDownload latest version of browscap.csv file from http://browsers.garykeith.com/downloads.asp.\n\n\nExample\n-------\n\n::\n\n from pybrowscap.loader.csv import load_file\n browscap = load_file(path_to_browscap_csv)\n browser = browscap.search(user_agent_string)\n browser.is_crawler()\n\n\nAutomatic updates\n-----------------\n\n::\n\n from pybrowscap.loader import Downloader\n from pybrowscap.loader.csv import URL\n Downloader(URL).get(save_to_filepath)\n\n\nTests\n-----\n\n**Tested on evnironment**\n\n- Xubuntu Linux 12.04 LTS precise 64-bit\n- python 2.7.3\n- python unitest\n- browscap_14_05_2012.csv from Mon, 14 May 2012 22:20:20 -0000\n- browscap.21_05_2012.csv from Mon, 21 May 2012 15:48:39 -0000\"\n\n**Running tests**\n\nTo run the test run command: ::\n\n $ python test.py\n $ python setup.py test\n\n\nAuthor\n------\n\n| char0n (Vladim\u00edr Gorej, CodeScale s.r.o.) \n| email: gorej@codescale.net\n| web: http://www.codescale.net\n\nCredits\n-------\n\nSpecial thanks to these projects for inspiration:\n\n- http://code.google.com/p/python-browscap/\n- http://djangosnippets.org/snippets/267/\n\n\nReferences\n----------\n\n- http://github.com/char0n/pybrowscap\n- http://browsers.garykeith.com/\n- http://php.net/get_browser\n- http://www.codescale.net/en/community#pybrowscap", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/char0n/pybrowscap/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.codescale.net/en/community#pybrowscap", "keywords": "browser browscap detection user agent", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "pybrowscap", "package_url": "https://pypi.org/project/pybrowscap/", "platform": "any", "project_url": "https://pypi.org/project/pybrowscap/", "project_urls": { "Download": "http://github.com/char0n/pybrowscap/tarball/master", "Homepage": "http://www.codescale.net/en/community#pybrowscap" }, "release_url": "https://pypi.org/project/pybrowscap/2.0/", "requires_dist": null, "requires_python": null, "summary": "detects browsers capabilities and features like css, java, javascript etc.", "version": "2.0" }, "last_serial": 797027, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "f25e5ee81efe17e7387a84e8d05ba2e2", "sha256": "35b836d2c63d734b6340e36b39ca7d5b33593622c480a4632207947e77e69ef9" }, "downloads": -1, "filename": "pybrowscap-1.0.tar.gz", "has_sig": false, "md5_digest": "f25e5ee81efe17e7387a84e8d05ba2e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4917, "upload_time": "2011-09-03T13:12:45", "url": "https://files.pythonhosted.org/packages/e5/26/c8fc4e4bdf769726743235f2a2673e91842e130c7d02eb3178f42e4ac6d9/pybrowscap-1.0.tar.gz" } ], "1.0b1": [ { "comment_text": "", "digests": { "md5": "ac425b02e8de202afb76ed7a2a15d281", "sha256": "a5a441eee4d6758110d4500768a3e509f78a616e4449d687822b1e78b82029e3" }, "downloads": -1, "filename": "pybrowscap-1.0b1.tar.gz", "has_sig": false, "md5_digest": "ac425b02e8de202afb76ed7a2a15d281", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4764, "upload_time": "2011-08-04T15:11:18", "url": "https://files.pythonhosted.org/packages/c5/28/842a965f021792c2b0ffa2cb3ffd195dc860af3f3c848eea56976d87e456/pybrowscap-1.0b1.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "9a4fc1efbdbf439ff0409309396c689a", "sha256": "54799d5defe6c072af845dd874699cb452fb66e8bdc01a724ad2b9a5fe63c545" }, "downloads": -1, "filename": "pybrowscap-1.1.tar.gz", "has_sig": false, "md5_digest": "9a4fc1efbdbf439ff0409309396c689a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5809, "upload_time": "2011-10-09T14:42:20", "url": "https://files.pythonhosted.org/packages/11/49/4eacba2b6a6c8ead69c2ee2f1316adace4a5ba99a8320ded7954c1a730b2/pybrowscap-1.1.tar.gz" } ], "1.1.2": [ { "comment_text": "", "digests": { "md5": "35b9413889c16657462eade8c50b0f53", "sha256": "efb03c0ad28ddb9346bc977b63b4e1173d1336f3de24262a0ddda9dfedf94c0f" }, "downloads": -1, "filename": "pybrowscap-1.1.2.tar.gz", "has_sig": false, "md5_digest": "35b9413889c16657462eade8c50b0f53", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6891, "upload_time": "2012-02-15T21:47:29", "url": "https://files.pythonhosted.org/packages/00/c3/a61f0e015d987eddce9700e2430a92653e3ac69ec7a6576774e8a557db5d/pybrowscap-1.1.2.tar.gz" } ], "1.1.3": [ { "comment_text": "", "digests": { "md5": "14c2ee5b919a29b6f1b4d5496ec3650c", "sha256": "495287cd02371f2c549283a3753a535338b0b9ff2dced277a0392aa295b22ddb" }, "downloads": -1, "filename": "pybrowscap-1.1.3.tar.gz", "has_sig": false, "md5_digest": "14c2ee5b919a29b6f1b4d5496ec3650c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10466, "upload_time": "2012-05-01T18:43:27", "url": "https://files.pythonhosted.org/packages/4c/63/e42dd01cc4a657912074fac6552bd06fbbecc206433af3e70a9f30d8a6bf/pybrowscap-1.1.3.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "22cba03201219ec20836a473cee623a9", "sha256": "3c7c5f0f23a1de9856e5347a3ff24c7e3b82e7b21138db24001fdb7969ae8214" }, "downloads": -1, "filename": "pybrowscap-2.0.tar.gz", "has_sig": false, "md5_digest": "22cba03201219ec20836a473cee623a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11066, "upload_time": "2012-06-01T22:22:29", "url": "https://files.pythonhosted.org/packages/5c/12/0e310d56c5ca29ecd1a8e97041446f1bd2567b404254f7e4789efbf98f71/pybrowscap-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "22cba03201219ec20836a473cee623a9", "sha256": "3c7c5f0f23a1de9856e5347a3ff24c7e3b82e7b21138db24001fdb7969ae8214" }, "downloads": -1, "filename": "pybrowscap-2.0.tar.gz", "has_sig": false, "md5_digest": "22cba03201219ec20836a473cee623a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11066, "upload_time": "2012-06-01T22:22:29", "url": "https://files.pythonhosted.org/packages/5c/12/0e310d56c5ca29ecd1a8e97041446f1bd2567b404254f7e4789efbf98f71/pybrowscap-2.0.tar.gz" } ] }