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

You will then be asked to input the following values.
1. Temperature - between 0 and 1 inclusive
2. Top P - between 0 and 1 inclusive
3. Top K - at least 1
4. Max output tokens - at least 1
The following screenshot shows what is displayed after inputting the mentioned values.

Next, you will have two 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/gemini-pro-cli",
"name": "gemini-pro-cli",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "",
"author": "GlobalCreativeApkDev",
"author_email": "globalcreativeapkdev2022@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/83/81/cb7847690689e8d60d2cb5f74cec7a268c3b3a6b8ef4707d24043d91c96c/gemini-pro-cli-1.1.tar.gz",
"platform": null,
"description": "# gemini-pro-cli\n\nThis application allows users to use Gemini Pro on command-line interface (CLI).\n\n# Source Code\n\nThe source code for the Gemini Pro CLI application is available in \nhttps://github.com/GlobalCreativeApkDev/gemini-pro-cli/blob/master/main.py.\n\n# Installation\n\n```\npip install gemini-pro-cli\n```\n\n# How to Use the Application?\n\nPre-requisites:\n1. [Python](https://www.python.org/downloads/) installed in your device.\n2. .env file in the same directory as <GEMINI_PRO_CLI_DIRECTORY> and has the value of GENAI_API_KEY.\n\nFirst, open a Terminal or Command Prompt window and run the following command.\n\n```\npython3 <GEMINI_PRO_CLI_DIRECTORY>/main.py\n```\n\n**Note:** Replace <GEMINI_PRO_CLI_DIRECTORY> with the path to the directory of the application gemini-pro-cli.\n\nThen, the application will start with something looking like in the screenshot below.\n\n\n\nYou will then be asked to input the following values.\n\n1. Temperature - between 0 and 1 inclusive\n2. Top P - between 0 and 1 inclusive\n3. Top K - at least 1\n4. Max output tokens - at least 1\n\nThe following screenshot shows what is displayed after inputting the mentioned values.\n\n\n\nNext, you will have two 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 Gemini Pro usage on command-line interface (CLI).",
"version": "1.1",
"project_urls": {
"Homepage": "https://github.com/GlobalCreativeApkDev/gemini-pro-cli"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "3f920fc6c5927d52f9e0f4d597d6e9db7f8f361a33e031da323cb50e13a1c949",
"md5": "506bc08aaeb1310cb3f1e3ac0ea14bc3",
"sha256": "d5ec2734b90811158856335133cfb799a2502df1db468772ccd001dd27c7b651"
},
"downloads": -1,
"filename": "gemini_pro_cli-1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "506bc08aaeb1310cb3f1e3ac0ea14bc3",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2959,
"upload_time": "2023-12-25T12:00:15",
"upload_time_iso_8601": "2023-12-25T12:00:15.688188Z",
"url": "https://files.pythonhosted.org/packages/3f/92/0fc6c5927d52f9e0f4d597d6e9db7f8f361a33e031da323cb50e13a1c949/gemini_pro_cli-1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8381cb7847690689e8d60d2cb5f74cec7a268c3b3a6b8ef4707d24043d91c96c",
"md5": "059c2829dffb31d74aa4062b5dbf72ae",
"sha256": "342cf94a8eed1ca18956e62996a07cc54ff30b967d3b3337569ac882ffbd134a"
},
"downloads": -1,
"filename": "gemini-pro-cli-1.1.tar.gz",
"has_sig": false,
"md5_digest": "059c2829dffb31d74aa4062b5dbf72ae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2664,
"upload_time": "2023-12-25T12:00:17",
"upload_time_iso_8601": "2023-12-25T12:00:17.539974Z",
"url": "https://files.pythonhosted.org/packages/83/81/cb7847690689e8d60d2cb5f74cec7a268c3b3a6b8ef4707d24043d91c96c/gemini-pro-cli-1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-25 12:00:17",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "GlobalCreativeApkDev",
"github_project": "gemini-pro-cli",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "python-dotenv",
"specs": [
[
"~=",
"1.0.0"
]
]
},
{
"name": "setuptools",
"specs": [
[
"~=",
"69.0.3"
]
]
},
{
"name": "mpmath",
"specs": [
[
"~=",
"1.3.0"
]
]
}
],
"lcname": "gemini-pro-cli"
}