Skip to content

Commit f694721

Browse files
feat: initial release
0 parents  commit f694721

221 files changed

Lines changed: 21261 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.fern/metadata.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"cliVersion": "4.4.4",
3+
"generatorName": "fernapi/fern-python-sdk",
4+
"generatorVersion": "4.37.0",
5+
"generatorConfig": {
6+
"package_name": "agora_agent",
7+
"client": {
8+
"class_name": "Agora",
9+
"filename": "client.py"
10+
},
11+
"pydantic_config": {
12+
"skip_validation": true
13+
},
14+
"exclude_types_from_init_exports": true
15+
}
16+
}

.fernignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Specify files that shouldn't be modified by Fern
2+
src/agora_agent/pool_client.py
3+
src/agora_agent/__init__.py
4+
src/agora_agent/core/domain.py
5+
changelog.md
6+
7+
# Agentkit layer - custom code that should not be overwritten
8+
src/agora_agent/agentkit/
9+
10+
# Documentation - managed manually, not generated by Fern
11+
docs/

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: ci
2+
on:
3+
push:
4+
workflow_dispatch:
5+
jobs:
6+
compile:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout repo
10+
uses: actions/checkout@v4
11+
- name: Set up python
12+
uses: actions/setup-python@v4
13+
with:
14+
python-version: 3.8
15+
- name: Bootstrap poetry
16+
run: |
17+
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
18+
- name: Install dependencies
19+
run: poetry install
20+
- name: Compile
21+
run: poetry run mypy .
22+
test:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Checkout repo
26+
uses: actions/checkout@v4
27+
- name: Set up python
28+
uses: actions/setup-python@v4
29+
with:
30+
python-version: 3.8
31+
- name: Bootstrap poetry
32+
run: |
33+
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
34+
- name: Install dependencies
35+
run: poetry install
36+
- name: Test
37+
run: poetry run pytest -rP .
38+
39+
publish:
40+
needs: [compile, test]
41+
if: (github.event_name == 'push' && contains(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch'
42+
runs-on: ubuntu-latest
43+
permissions:
44+
id-token: write
45+
steps:
46+
- name: Checkout repo
47+
uses: actions/checkout@v4
48+
- name: Set up python
49+
uses: actions/setup-python@v4
50+
with:
51+
python-version: 3.8
52+
- name: Bootstrap poetry
53+
run: |
54+
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
55+
- name: Install dependencies
56+
run: poetry install
57+
- name: Build package
58+
run: poetry build
59+
- name: Publish to PyPI
60+
uses: pypa/gh-action-pypi-publish@release/v1
61+
with:
62+
password: ${{ secrets.PYPI_API_TOKEN }}

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.mypy_cache/
2+
.ruff_cache/
3+
__pycache__/
4+
dist/
5+
poetry.toml

0 commit comments

Comments
 (0)