# Brave Leo
"Brave Leo" is a Python module that provides access to Brave's Leo AI chat functionality based on Llama. With this module, you can easily integrate AI chat capabilities powered by Brave's Leo into your Python applications.
## Installation
You can install "brave-leo" using pip:
```bash
pip install brave-leo
```
## Usage
Here's a quick example of how to use "brave-leo" to interact with Brave's Leo AI:
```python
from brave_leo import Leo
# Initialize the Leo instance
leo = Leo()
# Ask to Leo and get a response
response = leo.ask('What is the weather like today?')
print("Leo:", response.completion)
```
## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/KohnoseLami/Brave-Leo/blob/main/LICENSE) file for details.
## Contributing
Contributions are welcome! If you have suggestions or find issues, please feel free to open an issue or submit a pull request.
Raw data
{
"_id": null,
"home_page": "https://github.com/KohnoseLami/brave-leo",
"name": "brave-leo",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Kohnose Lami",
"author_email": "info@lami.zip",
"download_url": "https://files.pythonhosted.org/packages/6b/31/248e3864630091fe77df420791413d2ed15cec94c9e1adefac66a05ca216/brave-leo-0.1.3.tar.gz",
"platform": null,
"description": "# Brave Leo\r\n\r\n\"Brave Leo\" is a Python module that provides access to Brave's Leo AI chat functionality based on Llama. With this module, you can easily integrate AI chat capabilities powered by Brave's Leo into your Python applications.\r\n\r\n## Installation\r\n\r\nYou can install \"brave-leo\" using pip:\r\n\r\n```bash\r\npip install brave-leo\r\n```\r\n\r\n## Usage\r\n\r\nHere's a quick example of how to use \"brave-leo\" to interact with Brave's Leo AI:\r\n\r\n```python\r\nfrom brave_leo import Leo\r\n\r\n# Initialize the Leo instance\r\nleo = Leo()\r\n\r\n# Ask to Leo and get a response\r\nresponse = leo.ask('What is the weather like today?')\r\n\r\nprint(\"Leo:\", response.completion)\r\n```\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/KohnoseLami/Brave-Leo/blob/main/LICENSE) file for details.\r\n\r\n## Contributing\r\n\r\nContributions are welcome! If you have suggestions or find issues, please feel free to open an issue or submit a pull request.\r\n",
"bugtrack_url": null,
"license": "",
"summary": "Python wrapper for Brave's Leo AI chat functionality based on Llama",
"version": "0.1.3",
"project_urls": {
"Homepage": "https://github.com/KohnoseLami/brave-leo"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4be0c2577d76e165a94ec8fda3f8e8d517d7c397b435339217c9b50cc707d40f",
"md5": "4b9b62709ee6b95780a7caac7cc3b911",
"sha256": "0f792c7c6d9aad93541e4730030757a48e2226c3dbe6935272ee1285d18b29be"
},
"downloads": -1,
"filename": "brave_leo-0.1.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "4b9b62709ee6b95780a7caac7cc3b911",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4225,
"upload_time": "2023-08-22T15:14:26",
"upload_time_iso_8601": "2023-08-22T15:14:26.593943Z",
"url": "https://files.pythonhosted.org/packages/4b/e0/c2577d76e165a94ec8fda3f8e8d517d7c397b435339217c9b50cc707d40f/brave_leo-0.1.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6b31248e3864630091fe77df420791413d2ed15cec94c9e1adefac66a05ca216",
"md5": "1816472ae940ab435e73d52e3c40f2e8",
"sha256": "a4843226a109938525059e07e52b8656e035bd9b1b0420f779713e8f0fdb5771"
},
"downloads": -1,
"filename": "brave-leo-0.1.3.tar.gz",
"has_sig": false,
"md5_digest": "1816472ae940ab435e73d52e3c40f2e8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3717,
"upload_time": "2023-08-22T15:14:27",
"upload_time_iso_8601": "2023-08-22T15:14:27.627212Z",
"url": "https://files.pythonhosted.org/packages/6b/31/248e3864630091fe77df420791413d2ed15cec94c9e1adefac66a05ca216/brave-leo-0.1.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-22 15:14:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "KohnoseLami",
"github_project": "brave-leo",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "requests",
"specs": []
}
],
"lcname": "brave-leo"
}