A simpler and faster version of dsdanielpark's bardapi.
Project description
simplebardapi
A simpler and faster version of dsdanielpark's bardapi.
Get started:
python -m pip install -U simplebardapi
Join my Discord server for live chat, support, or if you have any issues with this package.
Support this repository:
- ⭐ Star the project: Star this repository. It means a lot to me! 💕
- 🎉 Join my Discord Server: Chat with me and others. Join here:
Example:
from simplebardapi import Bard
Secure_1PSID = "yourCookieValue"
bard = Bard(Secure_1PSID)
while True:
prompt = input("👦: ")
try:
resp = bard.generate_answer(prompt)["content"]
print(f"🤖: {resp}")
except Exception as e:
print(f"🤖: {e}")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simplebardapi-1.0.0.tar.gz
(10.7 kB
view hashes)
Built Distribution
Close
Hashes for simplebardapi-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd2821f17b58a6424006bfbf4abffb2d10a6062f27002ff9d35054ebd7f2a806 |
|
MD5 | 2add2868001f9c5353fe1e50479dbfe1 |
|
BLAKE2b-256 | b2c924abeae3ee5035f372e22cb74abe85f9cb411fe24fad4d673568c150db06 |