bardToken


NamebardToken JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://pypi.org/project/bardToken
Summaryauto login google account by selenium chrome driver
upload_time2023-11-05 22:16:02
maintainer
docs_urlNone
authorKuoYuan Li
requires_python
license
keywords bardtoken auto bard token bard api selenium google auth chromedriver
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Author:KuoYuan Li 
auto login google account by selenium chrome driver 
##### installation Note 
Need selenium 4(or newer) and webdriver_manager to get the chromedriver automatically. 
if the version dose not matcch , please uninstall the selenium and install again. 

bardapi is used in sample code 
and should be installed to insure it work normaly 
```
pip install bardapi
```
##### Sample code
```
from selenium import webdriver
from selenium.webdriver.chrome.service import Service as ChromeService
from webdriver_manager.chrome import ChromeDriverManager
from bardapi import Bard
import seleniumGoogleLogin
import bardToken
email = 'your gmail'
password = 'your password'
#start chromedriver
driver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))
#google auth
if seleniumGoogleLogin.start(driver,email, password):
    #get bard token
    token = bardToken.get(driver)
    print(token)
    bard = Bard(token=token)
    ans = bard.get_answer("is there any bard api?")['content']
    print(ans)
```



License
----

MIT
            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/bardToken",
    "name": "bardToken",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "bardToken,auto bard token,bard api,selenium,google auth,chromedriver",
    "author": "KuoYuan Li",
    "author_email": "funny4875@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/00/78/b779676ba708e51c15ece257a0e7855b3019c9c3f0c6b7da225a7723b202/bardToken-0.0.3.tar.gz",
    "platform": null,
    "description": "# Author:KuoYuan Li \nauto login google account by selenium chrome driver \n##### installation Note \nNeed selenium 4(or newer) and webdriver_manager to get the chromedriver automatically. \nif the version dose not matcch , please uninstall the selenium and install again. \n\nbardapi is used in sample code \nand should be installed to insure it work normaly \n```\npip install bardapi\n```\n##### Sample code\n```\nfrom selenium import webdriver\nfrom selenium.webdriver.chrome.service import Service as ChromeService\nfrom webdriver_manager.chrome import ChromeDriverManager\nfrom bardapi import Bard\nimport seleniumGoogleLogin\nimport bardToken\nemail = 'your gmail'\npassword = 'your password'\n#start chromedriver\ndriver = webdriver.Chrome(service=ChromeService(ChromeDriverManager().install()))\n#google auth\nif seleniumGoogleLogin.start(driver,email, password):\n    #get bard token\n    token = bardToken.get(driver)\n    print(token)\n    bard = Bard(token=token)\n    ans = bard.get_answer(\"is there any bard api?\")['content']\n    print(ans)\n```\n\n\n\nLicense\n----\n\nMIT",
    "bugtrack_url": null,
    "license": "",
    "summary": "auto login google account by selenium chrome driver",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://pypi.org/project/bardToken"
    },
    "split_keywords": [
        "bardtoken",
        "auto bard token",
        "bard api",
        "selenium",
        "google auth",
        "chromedriver"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0078b779676ba708e51c15ece257a0e7855b3019c9c3f0c6b7da225a7723b202",
                "md5": "d24257392f895db1b9858d0450f3808d",
                "sha256": "23e73bbd1c765a572d446f9d01821ca919b751ecc60bcbefbf8ba316cd242be0"
            },
            "downloads": -1,
            "filename": "bardToken-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "d24257392f895db1b9858d0450f3808d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3110,
            "upload_time": "2023-11-05T22:16:02",
            "upload_time_iso_8601": "2023-11-05T22:16:02.541145Z",
            "url": "https://files.pythonhosted.org/packages/00/78/b779676ba708e51c15ece257a0e7855b3019c9c3f0c6b7da225a7723b202/bardToken-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-05 22:16:02",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "bardtoken"
}
        
Elapsed time: 0.13455s