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

[HN-57/HN-63] chore: added poetry #8

Merged
merged 4 commits into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Loading