# google-palm-cli
This application allows users to use Google PaLM on command-line interface (CLI).
# Source Code
The source code for the Google PaLM CLI application is available in
[Source Code](https://github.com/GlobalCreativeApkDev/google-palm-cli/blob/master/main.py).
# Installation
```
pip install google-palm-cli
```
# How to Use the Application?
Pre-requisites:
1. [Python](https://www.python.org/downloads/) installed on your device.
2. .env file is in the same directory as <GOOGLE_PALM_CLI_DIRECTORY> and has the value of PALM_API_KEY.
First, open a Terminal or Command Prompt window and run the following command.
```
python3 <GOOGLE_PALM_CLI_DIRECTORY>/main.py
```
**Note:** Replace <GOOGLE_PALM_CLI_DIRECTORY> with the path to the directory of the application google-palm-cli.
Then, the application will start with something looking like in the screenshot below.

You have to choices:
1. Enter a non-empty prompt to receive a response from the AI.
2. Enter an empty prompt to exit the application.
Below is an example of what happens when you entered a non-empty prompt.

Raw data
{
"_id": null,
"home_page": "https://github.com/GlobalCreativeApkDev/google-palm-cli",
"name": "google-palm-cli",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "GlobalCreativeApkDev",
"author_email": "globalcreativeapkdev2022@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/72/cd/0897faa158d55e3eba0cb081594434ad0c168457be244fe6a829102b5711/google-palm-cli-1.1.tar.gz",
"platform": null,
"description": "# google-palm-cli\n\nThis application allows users to use Google PaLM on command-line interface (CLI).\n\n# Source Code\n\nThe source code for the Google PaLM CLI application is available in\n[Source Code](https://github.com/GlobalCreativeApkDev/google-palm-cli/blob/master/main.py).\n\n# Installation\n\n```\npip install google-palm-cli\n```\n\n# How to Use the Application?\n\nPre-requisites: \n\n1. [Python](https://www.python.org/downloads/) installed on your device.\n2. .env file is in the same directory as <GOOGLE_PALM_CLI_DIRECTORY> and has the value of PALM_API_KEY.\n\nFirst, open a Terminal or Command Prompt window and run the following command.\n\n```\npython3 <GOOGLE_PALM_CLI_DIRECTORY>/main.py\n```\n\n**Note:** Replace <GOOGLE_PALM_CLI_DIRECTORY> with the path to the directory of the application google-palm-cli.\n\nThen, the application will start with something looking like in the screenshot below.\n\n\n\nYou have to choices:\n\n1. Enter a non-empty prompt to receive a response from the AI.\n2. Enter an empty prompt to exit the application.\n\nBelow is an example of what happens when you entered a non-empty prompt.\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "This package contains implementation of the application enabling Google PaLM usage on command-line interface (CLI).",
"version": "1.1",
"project_urls": {
"Homepage": "https://github.com/GlobalCreativeApkDev/google-palm-cli"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "2e96c736dc391c73a691fd221a17462c23e63315b182499de3a20db2daf43f08",
"md5": "4ef58a454dbf8aa21944dbedf3ec8dcc",
"sha256": "e40238939fcb0af1d8632b8ab478cad005a904599f0b84547e038ecd74c08d25"
},
"downloads": -1,
"filename": "google_palm_cli-1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4ef58a454dbf8aa21944dbedf3ec8dcc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2836,
"upload_time": "2023-12-25T07:11:03",
"upload_time_iso_8601": "2023-12-25T07:11:03.158361Z",
"url": "https://files.pythonhosted.org/packages/2e/96/c736dc391c73a691fd221a17462c23e63315b182499de3a20db2daf43f08/google_palm_cli-1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "72cd0897faa158d55e3eba0cb081594434ad0c168457be244fe6a829102b5711",
"md5": "319ffc898a72839a3c84a839c79e0875",
"sha256": "0bb05cd53037d212507541ee2a8eac0c72f8e5b04237c9f7b1908dee17c122a9"
},
"downloads": -1,
"filename": "google-palm-cli-1.1.tar.gz",
"has_sig": false,
"md5_digest": "319ffc898a72839a3c84a839c79e0875",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2513,
"upload_time": "2023-12-25T07:11:04",
"upload_time_iso_8601": "2023-12-25T07:11:04.972292Z",
"url": "https://files.pythonhosted.org/packages/72/cd/0897faa158d55e3eba0cb081594434ad0c168457be244fe6a829102b5711/google-palm-cli-1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-25 07:11:04",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "GlobalCreativeApkDev",
"github_project": "google-palm-cli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "setuptools",
"specs": [
[
"~=",
"69.0.3"
]
]
},
{
"name": "python-dotenv",
"specs": [
[
"~=",
"1.0.0"
]
]
}
],
"lcname": "google-palm-cli"
}