{ "info": { "author": "Carlos A. Planch\u00f3n", "author_email": "bubbledoloresuruguay2@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Build Tools" ], "description": "# fakeua\n*Python3 module made as a wrapper of fake-useragent.*\n\n## Rationale:\nfake-useragent package (https://github.com/hellysmile/fake-useragent)\nhave an API which is brittle and too verbose for cases when you just want\npredictability and the work done without unnecesary headaches.\n\n## Installation\n### Install with pip\n```\npip3 install --user -U fakeua\n```\n\n## Usage\nFakeUA can be used from the shell too.\n\nfakeua -h\n\nOr importing its functions.\n\n```\nIn [1]: import fakeua\n\n# Update useragent DB in a json file (~/.fakeua_databrowsers.json)\nIn [2]: fakeua.update_useragent_db()\nOut[2]: True\n\nIn [3]: fakeua.get_useragent_list()\nOut[3]: \n['Mozilla/5.0 (X11; Linux i686; rv:64.0) Gecko/20100101 Firefox/64.0',\n 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:64.0) Gecko/20100101 Firefox/64.0',\n 'Mozilla/5.0 (X11; Linux i586; rv:63.0) Gecko/20100101 Firefox/63.0',\n 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:63.0) Gecko/20100101 Firefox/63.0',\n 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.10; rv:62.0) Gecko/20100101 Firefox/62.0']\n\nIn [4]: fakeua.load_useragent_db() \nOut[4]: ...\n# It throws a dict containing the browsers scraped by fake-useragent.\n\nIn [5]: fakeua.get_random_ua()\nOut[5]: 'Mozilla/5.0 (Windows NT 6.2; WOW64; rv:63.0) Gecko/20100101 Firefox/63.0'\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/carlosplanchon/fakeua/archive/v0.1.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/carlosplanchon/fakeua", "keywords": "fake,useragent,networking,web", "license": "GPL3", "maintainer": "", "maintainer_email": "", "name": "fakeua", "package_url": "https://pypi.org/project/fakeua/", "platform": "", "project_url": "https://pypi.org/project/fakeua/", "project_urls": { "Download": "https://github.com/carlosplanchon/fakeua/archive/v0.1.2.tar.gz", "Homepage": "https://github.com/carlosplanchon/fakeua" }, "release_url": "https://pypi.org/project/fakeua/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "Python3 module made as a wrapper of fake-useragent.", "version": "0.1.2" }, "last_serial": 5562052, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "5a41e7d49adcae8e7d378b87f9b3e66e", "sha256": "fe93b9b584a52172db2f158b9405fb3a2624eaa67d443fb11ddab965bc306e58" }, "downloads": -1, "filename": "fakeua-0.1.0.tar.gz", "has_sig": false, "md5_digest": "5a41e7d49adcae8e7d378b87f9b3e66e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3159, "upload_time": "2019-07-21T02:00:39", "url": "https://files.pythonhosted.org/packages/93/2c/fd1ebde7d0623094c2b2ad83e6757cd4c7eeb49e1c38f005df99bb3df8c6/fakeua-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4cb201d5c19a0b960d44d22a23ea587f", "sha256": "d9961f221de2e674e2b2b5a7431a604360580c031b5760b6907da84d659a2c66" }, "downloads": -1, "filename": "fakeua-0.1.1.tar.gz", "has_sig": false, "md5_digest": "4cb201d5c19a0b960d44d22a23ea587f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3164, "upload_time": "2019-07-21T02:11:10", "url": "https://files.pythonhosted.org/packages/f7/e6/fe6b68cbde95d13884828c2ebb351ae29a7cfb4998345369eeb5faf31e1e/fakeua-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "43605d6478472f738fc6dfd0976913d2", "sha256": "961627f7c392acf67415319e392544c9bbd443ecb3fe8dce5c30961b67384bfb" }, "downloads": -1, "filename": "fakeua-0.1.2.tar.gz", "has_sig": false, "md5_digest": "43605d6478472f738fc6dfd0976913d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3201, "upload_time": "2019-07-21T02:16:42", "url": "https://files.pythonhosted.org/packages/d3/79/4d4a87b1a8be55ecafd9dbb4584c01f8058618fb3aaa86794964f5b1a5bc/fakeua-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "43605d6478472f738fc6dfd0976913d2", "sha256": "961627f7c392acf67415319e392544c9bbd443ecb3fe8dce5c30961b67384bfb" }, "downloads": -1, "filename": "fakeua-0.1.2.tar.gz", "has_sig": false, "md5_digest": "43605d6478472f738fc6dfd0976913d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3201, "upload_time": "2019-07-21T02:16:42", "url": "https://files.pythonhosted.org/packages/d3/79/4d4a87b1a8be55ecafd9dbb4584c01f8058618fb3aaa86794964f5b1a5bc/fakeua-0.1.2.tar.gz" } ] }