guia-cli


Nameguia-cli JSON
Version 0.0.10 PyPI version JSON
download
home_pagehttps://github.com/andersonbosa/guia-cli
SummaryGu, a simple IA agent that specializes in software engineering, aiding in coding tasks and providing technical guidance.
upload_time2024-04-03 22:21:41
maintainerNone
docs_urlNone
authorAnderson Bosa
requires_python>=3.10
licenseCC0-1.0
keywords ia assistant gemini-pro
VCS
bugtrack_url
requirements aiohttp aiosignal annotated-types anyio attrs cachetools certifi charset-normalizer click crewai dataclasses-json Deprecated distro docstring-parser frozenlist google-ai-generativelanguage google-api-core google-auth google-generativeai googleapis-common-protos greenlet grpcio grpcio-status h11 httpcore httpx idna importlib-metadata instructor jsonpatch jsonpointer langchain langchain-community langchain-core langchain-google-genai langchain-openai langchain-text-splitters langsmith markdown-it-py marshmallow mdurl multidict mypy-extensions numpy openai opentelemetry-api opentelemetry-exporter-otlp-proto-common opentelemetry-exporter-otlp-proto-http opentelemetry-proto opentelemetry-sdk opentelemetry-semantic-conventions orjson packaging proto-plus protobuf pyasn1 pyasn1-modules pydantic pydantic_core Pygments python-dotenv PyYAML regex requests rich rsa sniffio SQLAlchemy tenacity tiktoken tqdm typer typing-inspect typing_extensions urllib3 wrapt yarl zipp
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
[![Publish to PyPI](https://github.com/andersonbosa/guia-cli/actions/workflows/publish.yml/badge.svg)](https://pypi.org/project/guia-cli/)
[![Creative Commons](https://img.shields.io/badge/license-CC0%201.0-white.svg?style=flat)](http://creativecommons.org/publicdomain/zero/1.0/)
[![https://img.shields.io/badge/made%20with-AI-blue](https://img.shields.io/badge/made%20with-AI-blue)](#)


---
<section align="center">
  <img src="docs/assets/images/banner.svg" title="Project banner" alt="Project banner" />
  <br>
  <br>

  <p>
    <a href="#about">About</a> •
    <a href="#installation">Installation</a> •
    <a href="#getting-started">Getting Started</a> •
    <a href="#contribution">Contribution</a> •
    <a href="#license">License</a>
  </p>
</section>

---

## About

GUIA-CLI (aka Gu IA Agent) is an agent specializing in software engineering, designed to assist in programming tasks and provide technical guidance.It is able to generate code based on provided requirements and answer technical questions, offering clear explanations and relevant recommendations.

## Installation

You can install Guia-CLI via PyPI using pip:

```bash
pip install guia-cli
```

Alternatively, you can build from the repository:

1. Clone the repository:
```bash
git clone https://github.com/andersonbosa/guia-cli.git
```

2. Navigate to the repository directory:
```bash
cd repo
```

3. Install the package:
```bash
python setup.py install
```


## Getting Started

To use the Gu agent, you can execute the script `main.py` providing the following options:

- `--coding "YOUR REQUEST"`: Uses Gu agent programming ability to generate code based on your request.
- `--mentoring "YOUR QUESTION"`: Uses Gu agent mentoring ability to receive technical guidance in response to your question.

#### Settings

Be sure to configure the following environment variables or it is setup in the `.env` file:

- `GOOGLE_API_KEY`: Your Google API key to use Gemini service (required)

```bash
export GOOGLE_API_KEY="qwerty12345example"
```

- Tip: Go to https://aistudio.google.com/app/apikey to get a GOOGLE_API_KEY

#### Example of use

```bash
python main.py --coding "Implement a function to order a Python list using bubble-sort"
```

```bash
python main.py --mentoring "What is the difference between inheritance and composition in object -oriented programming?"
```

#### Backup results

The results of interactions with agent Gu are saved in the `outputs` folder. Each file generated contains the date, type of interaction and a description of the request.


## 🤝 Contribution

<p>
  This project is for study purposes too, so please send me a message telling me what you are doing and why you are doing it, teach me what you know. All kinds of contributions are very welcome and appreciated!
</p>


## 📝 License

This project is under the [public domain](LICENSE.md) license.

---

<h4>  
  <img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/andersonbosa/guia-cli?style=social">
  | Did you like the repository? Give it a star! 😁
</h4>


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/andersonbosa/guia-cli",
    "name": "guia-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "IA assistant gemini-pro",
    "author": "Anderson Bosa",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/4e/d7/1b2cafa007bebcffdc4f360aa688e11adda0b497acdfb4c7a6ab946fda50/guia_cli-0.0.10.tar.gz",
    "platform": null,
    "description": "\n[![Publish to PyPI](https://github.com/andersonbosa/guia-cli/actions/workflows/publish.yml/badge.svg)](https://pypi.org/project/guia-cli/)\n[![Creative Commons](https://img.shields.io/badge/license-CC0%201.0-white.svg?style=flat)](http://creativecommons.org/publicdomain/zero/1.0/)\n[![https://img.shields.io/badge/made%20with-AI-blue](https://img.shields.io/badge/made%20with-AI-blue)](#)\n\n\n---\n<section align=\"center\">\n  <img src=\"docs/assets/images/banner.svg\" title=\"Project banner\" alt=\"Project banner\" />\n  <br>\n  <br>\n\n  <p>\n    <a href=\"#about\">About</a> \u2022\n    <a href=\"#installation\">Installation</a> \u2022\n    <a href=\"#getting-started\">Getting Started</a> \u2022\n    <a href=\"#contribution\">Contribution</a> \u2022\n    <a href=\"#license\">License</a>\n  </p>\n</section>\n\n---\n\n## About\n\nGUIA-CLI (aka Gu IA Agent) is an agent specializing in software engineering, designed to assist in programming tasks and provide technical guidance.It is able to generate code based on provided requirements and answer technical questions, offering clear explanations and relevant recommendations.\n\n## Installation\n\nYou can install Guia-CLI via PyPI using pip:\n\n```bash\npip install guia-cli\n```\n\nAlternatively, you can build from the repository:\n\n1. Clone the repository:\n```bash\ngit clone https://github.com/andersonbosa/guia-cli.git\n```\n\n2. Navigate to the repository directory:\n```bash\ncd repo\n```\n\n3. Install the package:\n```bash\npython setup.py install\n```\n\n\n## Getting Started\n\nTo use the Gu agent, you can execute the script `main.py` providing the following options:\n\n- `--coding \"YOUR REQUEST\"`: Uses Gu agent programming ability to generate code based on your request.\n- `--mentoring \"YOUR QUESTION\"`: Uses Gu agent mentoring ability to receive technical guidance in response to your question.\n\n#### Settings\n\nBe sure to configure the following environment variables or it is setup in the `.env` file:\n\n- `GOOGLE_API_KEY`: Your Google API key to use Gemini service (required)\n\n```bash\nexport GOOGLE_API_KEY=\"qwerty12345example\"\n```\n\n- Tip: Go to https://aistudio.google.com/app/apikey to get a GOOGLE_API_KEY\n\n#### Example of use\n\n```bash\npython main.py --coding \"Implement a function to order a Python list using bubble-sort\"\n```\n\n```bash\npython main.py --mentoring \"What is the difference between inheritance and composition in object -oriented programming?\"\n```\n\n#### Backup results\n\nThe results of interactions with agent Gu are saved in the `outputs` folder. Each file generated contains the date, type of interaction and a description of the request.\n\n\n## \ud83e\udd1d Contribution\n\n<p>\n  This project is for study purposes too, so please send me a message telling me what you are doing and why you are doing it, teach me what you know. All kinds of contributions are very welcome and appreciated!\n</p>\n\n\n## \ud83d\udcdd License\n\nThis project is under the [public domain](LICENSE.md) license.\n\n---\n\n<h4>  \n  <img alt=\"GitHub Repo stars\" src=\"https://img.shields.io/github/stars/andersonbosa/guia-cli?style=social\">\n  | Did you like the repository? Give it a star! \ud83d\ude01\n</h4>\n\n",
    "bugtrack_url": null,
    "license": "CC0-1.0",
    "summary": "Gu, a simple IA agent that specializes in software engineering, aiding in coding tasks and providing technical guidance.",
    "version": "0.0.10",
    "project_urls": {
        "Homepage": "https://github.com/andersonbosa/guia-cli"
    },
    "split_keywords": [
        "ia",
        "assistant",
        "gemini-pro"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4ed71b2cafa007bebcffdc4f360aa688e11adda0b497acdfb4c7a6ab946fda50",
                "md5": "45b84bcfae28b6d229d95477727b5e7a",
                "sha256": "46e640f8fc20185302d0ad24952b36bd2be052a348b7c24ef57fb827d4b4a9bc"
            },
            "downloads": -1,
            "filename": "guia_cli-0.0.10.tar.gz",
            "has_sig": false,
            "md5_digest": "45b84bcfae28b6d229d95477727b5e7a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 9993,
            "upload_time": "2024-04-03T22:21:41",
            "upload_time_iso_8601": "2024-04-03T22:21:41.489632Z",
            "url": "https://files.pythonhosted.org/packages/4e/d7/1b2cafa007bebcffdc4f360aa688e11adda0b497acdfb4c7a6ab946fda50/guia_cli-0.0.10.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-03 22:21:41",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "andersonbosa",
    "github_project": "guia-cli",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "aiohttp",
            "specs": [
                [
                    "==",
                    "3.9.3"
                ]
            ]
        },
        {
            "name": "aiosignal",
            "specs": [
                [
                    "==",
                    "1.3.1"
                ]
            ]
        },
        {
            "name": "annotated-types",
            "specs": [
                [
                    "==",
                    "0.6.0"
                ]
            ]
        },
        {
            "name": "anyio",
            "specs": [
                [
                    "==",
                    "4.3.0"
                ]
            ]
        },
        {
            "name": "attrs",
            "specs": [
                [
                    "==",
                    "23.2.0"
                ]
            ]
        },
        {
            "name": "cachetools",
            "specs": [
                [
                    "==",
                    "5.3.3"
                ]
            ]
        },
        {
            "name": "certifi",
            "specs": [
                [
                    "==",
                    "2024.2.2"
                ]
            ]
        },
        {
            "name": "charset-normalizer",
            "specs": [
                [
                    "==",
                    "3.3.2"
                ]
            ]
        },
        {
            "name": "click",
            "specs": [
                [
                    "==",
                    "8.1.7"
                ]
            ]
        },
        {
            "name": "crewai",
            "specs": [
                [
                    "==",
                    "0.19.0"
                ]
            ]
        },
        {
            "name": "dataclasses-json",
            "specs": [
                [
                    "==",
                    "0.6.4"
                ]
            ]
        },
        {
            "name": "Deprecated",
            "specs": [
                [
                    "==",
                    "1.2.14"
                ]
            ]
        },
        {
            "name": "distro",
            "specs": [
                [
                    "==",
                    "1.9.0"
                ]
            ]
        },
        {
            "name": "docstring-parser",
            "specs": [
                [
                    "==",
                    "0.15"
                ]
            ]
        },
        {
            "name": "frozenlist",
            "specs": [
                [
                    "==",
                    "1.4.1"
                ]
            ]
        },
        {
            "name": "google-ai-generativelanguage",
            "specs": [
                [
                    "==",
                    "0.4.0"
                ]
            ]
        },
        {
            "name": "google-api-core",
            "specs": [
                [
                    "==",
                    "2.17.1"
                ]
            ]
        },
        {
            "name": "google-auth",
            "specs": [
                [
                    "==",
                    "2.28.2"
                ]
            ]
        },
        {
            "name": "google-generativeai",
            "specs": [
                [
                    "==",
                    "0.3.2"
                ]
            ]
        },
        {
            "name": "googleapis-common-protos",
            "specs": [
                [
                    "==",
                    "1.62.0"
                ]
            ]
        },
        {
            "name": "greenlet",
            "specs": [
                [
                    "==",
                    "3.0.3"
                ]
            ]
        },
        {
            "name": "grpcio",
            "specs": [
                [
                    "==",
                    "1.62.1"
                ]
            ]
        },
        {
            "name": "grpcio-status",
            "specs": [
                [
                    "==",
                    "1.62.1"
                ]
            ]
        },
        {
            "name": "h11",
            "specs": [
                [
                    "==",
                    "0.14.0"
                ]
            ]
        },
        {
            "name": "httpcore",
            "specs": [
                [
                    "==",
                    "1.0.4"
                ]
            ]
        },
        {
            "name": "httpx",
            "specs": [
                [
                    "==",
                    "0.27.0"
                ]
            ]
        },
        {
            "name": "idna",
            "specs": [
                [
                    "==",
                    "3.6"
                ]
            ]
        },
        {
            "name": "importlib-metadata",
            "specs": [
                [
                    "==",
                    "6.11.0"
                ]
            ]
        },
        {
            "name": "instructor",
            "specs": [
                [
                    "==",
                    "0.5.2"
                ]
            ]
        },
        {
            "name": "jsonpatch",
            "specs": [
                [
                    "==",
                    "1.33"
                ]
            ]
        },
        {
            "name": "jsonpointer",
            "specs": [
                [
                    "==",
                    "2.4"
                ]
            ]
        },
        {
            "name": "langchain",
            "specs": [
                [
                    "==",
                    "0.1.11"
                ]
            ]
        },
        {
            "name": "langchain-community",
            "specs": [
                [
                    "==",
                    "0.0.27"
                ]
            ]
        },
        {
            "name": "langchain-core",
            "specs": [
                [
                    "==",
                    "0.1.35"
                ]
            ]
        },
        {
            "name": "langchain-google-genai",
            "specs": [
                [
                    "==",
                    "0.0.9"
                ]
            ]
        },
        {
            "name": "langchain-openai",
            "specs": [
                [
                    "==",
                    "0.0.5"
                ]
            ]
        },
        {
            "name": "langchain-text-splitters",
            "specs": [
                [
                    "==",
                    "0.0.1"
                ]
            ]
        },
        {
            "name": "langsmith",
            "specs": [
                [
                    "==",
                    "0.1.23"
                ]
            ]
        },
        {
            "name": "markdown-it-py",
            "specs": [
                [
                    "==",
                    "3.0.0"
                ]
            ]
        },
        {
            "name": "marshmallow",
            "specs": [
                [
                    "==",
                    "3.21.1"
                ]
            ]
        },
        {
            "name": "mdurl",
            "specs": [
                [
                    "==",
                    "0.1.2"
                ]
            ]
        },
        {
            "name": "multidict",
            "specs": [
                [
                    "==",
                    "6.0.5"
                ]
            ]
        },
        {
            "name": "mypy-extensions",
            "specs": [
                [
                    "==",
                    "1.0.0"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.26.4"
                ]
            ]
        },
        {
            "name": "openai",
            "specs": [
                [
                    "==",
                    "1.13.3"
                ]
            ]
        },
        {
            "name": "opentelemetry-api",
            "specs": [
                [
                    "==",
                    "1.23.0"
                ]
            ]
        },
        {
            "name": "opentelemetry-exporter-otlp-proto-common",
            "specs": [
                [
                    "==",
                    "1.23.0"
                ]
            ]
        },
        {
            "name": "opentelemetry-exporter-otlp-proto-http",
            "specs": [
                [
                    "==",
                    "1.23.0"
                ]
            ]
        },
        {
            "name": "opentelemetry-proto",
            "specs": [
                [
                    "==",
                    "1.23.0"
                ]
            ]
        },
        {
            "name": "opentelemetry-sdk",
            "specs": [
                [
                    "==",
                    "1.23.0"
                ]
            ]
        },
        {
            "name": "opentelemetry-semantic-conventions",
            "specs": [
                [
                    "==",
                    "0.44b0"
                ]
            ]
        },
        {
            "name": "orjson",
            "specs": [
                [
                    "==",
                    "3.9.15"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "23.2"
                ]
            ]
        },
        {
            "name": "proto-plus",
            "specs": [
                [
                    "==",
                    "1.23.0"
                ]
            ]
        },
        {
            "name": "protobuf",
            "specs": [
                [
                    "==",
                    "4.25.3"
                ]
            ]
        },
        {
            "name": "pyasn1",
            "specs": [
                [
                    "==",
                    "0.5.1"
                ]
            ]
        },
        {
            "name": "pyasn1-modules",
            "specs": [
                [
                    "==",
                    "0.3.0"
                ]
            ]
        },
        {
            "name": "pydantic",
            "specs": [
                [
                    "==",
                    "2.6.3"
                ]
            ]
        },
        {
            "name": "pydantic_core",
            "specs": [
                [
                    "==",
                    "2.16.3"
                ]
            ]
        },
        {
            "name": "Pygments",
            "specs": [
                [
                    "==",
                    "2.17.2"
                ]
            ]
        },
        {
            "name": "python-dotenv",
            "specs": [
                [
                    "==",
                    "1.0.1"
                ]
            ]
        },
        {
            "name": "PyYAML",
            "specs": [
                [
                    "==",
                    "6.0.1"
                ]
            ]
        },
        {
            "name": "regex",
            "specs": [
                [
                    "==",
                    "2023.12.25"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "==",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "rich",
            "specs": [
                [
                    "==",
                    "13.7.1"
                ]
            ]
        },
        {
            "name": "rsa",
            "specs": [
                [
                    "==",
                    "4.9"
                ]
            ]
        },
        {
            "name": "sniffio",
            "specs": [
                [
                    "==",
                    "1.3.1"
                ]
            ]
        },
        {
            "name": "SQLAlchemy",
            "specs": [
                [
                    "==",
                    "2.0.28"
                ]
            ]
        },
        {
            "name": "tenacity",
            "specs": [
                [
                    "==",
                    "8.2.3"
                ]
            ]
        },
        {
            "name": "tiktoken",
            "specs": [
                [
                    "==",
                    "0.5.2"
                ]
            ]
        },
        {
            "name": "tqdm",
            "specs": [
                [
                    "==",
                    "4.66.2"
                ]
            ]
        },
        {
            "name": "typer",
            "specs": [
                [
                    "==",
                    "0.9.0"
                ]
            ]
        },
        {
            "name": "typing-inspect",
            "specs": [
                [
                    "==",
                    "0.9.0"
                ]
            ]
        },
        {
            "name": "typing_extensions",
            "specs": [
                [
                    "==",
                    "4.10.0"
                ]
            ]
        },
        {
            "name": "urllib3",
            "specs": [
                [
                    "==",
                    "2.2.1"
                ]
            ]
        },
        {
            "name": "wrapt",
            "specs": [
                [
                    "==",
                    "1.16.0"
                ]
            ]
        },
        {
            "name": "yarl",
            "specs": [
                [
                    "==",
                    "1.9.4"
                ]
            ]
        },
        {
            "name": "zipp",
            "specs": [
                [
                    "==",
                    "3.17.0"
                ]
            ]
        }
    ],
    "lcname": "guia-cli"
}
        
Elapsed time: 0.23569s