Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
[HN-57/HN-63] chore: added poetry (#8)
Browse files Browse the repository at this point in the history
* [HN-57/HN-63] chore: added poetry

* [HN-57/HN-63] chore: added poetry

* [HN-57/HN-63] chore: added poetry

* [HN-57/HN-63] chore: added poetry

---------

Co-authored-by: Tushar <[email protected]>
  • Loading branch information
TusharM4 and Tushar authored May 20, 2024
1 parent 986d8c5 commit 5399e9e
Show file tree
Hide file tree
Showing 3 changed files with 306 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,20 @@ Client library to interact with Hive Agents.

To use the `HiveAgentClient` library, you first need to ensure that you have Python installed on your system and then install the required dependencies.

1. **Install Python**
1. **Install Poetry**

Make sure you have Python 3.6 or higher installed on your system. You can download Python from the [official website](https://www.python.org/downloads/).
If you don't have Poetry installed, you can install it using the following commands:
`$ curl -sSL https://install.python-poetry.org | python3 -`
`$ export PATH="$HOME/.local/bin:$PATH"`

2. **Install Dependencies**
2. **Activate the Virtual Environment**
Activate the virtual environment created by Poetry with the following command:
`$ poetry shell`

3. **Install Dependencies**

`$ poetry install --no-root`

`$ pip install -r requirements.txt`

## Usage

Expand Down
272 changes: 272 additions & 0 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[tool.poetry]
name = "hive-agent-client-py"
version = "0.1.0"
description = "Client library to interact with Hive Agents."
authors = ["Your Name <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.8"
httpx = "^0.27.0"

[tool.poetry.dev-dependencies]
python = "^3.8"
pytest = "^8.1.1"
pytest-asyncio = "^0.23.6"
pytest-mock = "^3.14.0"
httpx = "^0.27.0"
respx = "^0.21.1"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

0 comments on commit 5399e9e

Please sign in to comment.