Skip to main content

Google Bard

Installation

Pypi

pip install googlebardpy

Codeberg

pip install --index-url https://codeberg.org/api/packages/Bavarder/pypi/simple/ googlebardpy

Usage

Get the token

  1. Go to bard.google.com
  2. Open developer tools
  3. Go to Application
  4. Go to Cookies
  5. Copy the content of __Secure-1PSID

Use the chatbot

secure_1psid = "..."
chat = BardChat(secure_1psid)
chat.ask("Hello, who are you ?")

Metadata

Release files for googlebardpy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for googlebardpy 0.1.0
File Size Uploaded
googlebardpy-0.1.0.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for googlebardpy 0.1.0
File Interpreter ABI Platform
googlebardpy-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.3 kB

Release files / googlebardpy-0.1.0.tar.gz

Download URL googlebardpy-0.1.0.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
002fdfd9d7eb7a526d4478d56873b3c6e713de9c58252a5fc49eec2d328d677e
BLAKE2b-256 checksum
How to use checksums
59da91e8c645f44cf98b03d10d40cd5203dd59134341cca6ae37f92aedf0e2e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.11 Linux/6.3.0

Release files / googlebardpy-0.1.0-py3-none-any.whl

Download URL googlebardpy-0.1.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
12e65fdfe99392cbb5e8f93572340b757cd9d7aa83391316eaea3a1527995ef2
BLAKE2b-256 checksum
How to use checksums
a84030a6440d5ceec49fc268710705b89e654fc854d9b8754850228deaf64892
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.11 Linux/6.3.0

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page