Metadata-Version: 2.4
Name: hero-core
Version: 0.1.3
Summary: Add your description here
Home-page: https://github.com/baidu/hero-core
Author: Baidu
Author-email: lanyu@baidu.com
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENCE
Requires-Dist: setuptools>=80.9.0
Requires-Dist: twine>=6.1.0
Requires-Dist: aiohttp>=3.11.16
Requires-Dist: beautifulsoup4>=4.13.4
Requires-Dist: chardet>=5.2.0
Requires-Dist: colorama>=0.4.6
Requires-Dist: mypy>=1.15.0
Requires-Dist: numpy>=2.2.6
Requires-Dist: openai>=1.70.0
Requires-Dist: pandas>=2.2.3
Requires-Dist: playwright>=1.52.0
Requires-Dist: pypdf2>=3.0.1
Requires-Dist: pytest>=8.3.5
Requires-Dist: pytest-asyncio>=0.26.0
Requires-Dist: python-docx>=1.1.2
Requires-Dist: python-pptx>=1.0.2
Requires-Dist: python-ulid[pydantic]>=3.0.0
Requires-Dist: requests>=2.32.3
Requires-Dist: tqdm>=4.67.1
Dynamic: author
Dynamic: author-email
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

[English](README.md) | [中文](README.zh-CN.md)

## Installation

1. Install package:

```sh

pip install hero-core

```

2. Quickly Start

```python

import asyncio
from hero import Hero, Model

model = Model(model_name="your-model",
              api_base="api_base",
              api_key="api_key")

hero = Hero(model=model, search_api="api-key") # https://serper.dev

async def test_init():
    result = await hero.run("hello")
    print(result)

if __name__ == "__main__":
    asyncio.run(test_init())

```
