Skip to content

Commit 38feeb3

Browse files
committed
pypi workflows
1 parent 858af2e commit 38feeb3

File tree

3 files changed

+106
-0
lines changed

3 files changed

+106
-0
lines changed
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Publish thirdweb AI to PyPI
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
deploy-pypi-thirdweb-ai:
8+
runs-on: ubuntu-latest
9+
defaults:
10+
run:
11+
working-directory: ./python/thirdweb-ai
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/thirdweb-ai
15+
permissions:
16+
contents: read
17+
id-token: write
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Set up Python 3.10
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.10'
26+
27+
- name: Install Poetry
28+
uses: snok/install-poetry@v1
29+
with:
30+
version: latest
31+
virtualenvs-create: true
32+
virtualenvs-in-project: true
33+
34+
- name: Install dependencies
35+
run: poetry install --only main
36+
37+
- name: Build package
38+
run: poetry build
39+
40+
- name: Publish package
41+
uses: pypa/gh-action-pypi-publish@release/v1
42+
with:
43+
username: __token__
44+
password: ${{ secrets.PYPI_API_KEY }}
45+
packages-dir: python/thirdweb-ai/dist/
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Publish thirdweb MCP to PyPI
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
deploy-pypi-thirdweb-mcp:
8+
runs-on: ubuntu-latest
9+
defaults:
10+
run:
11+
working-directory: ./python/thirdweb-mcp
12+
environment:
13+
name: pypi
14+
url: https://pypi.org/p/thirdweb-mcp
15+
permissions:
16+
contents: read
17+
id-token: write
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
22+
- name: Set up Python 3.10
23+
uses: actions/setup-python@v4
24+
with:
25+
python-version: '3.10'
26+
27+
- name: Install Poetry
28+
uses: snok/install-poetry@v1
29+
with:
30+
version: latest
31+
virtualenvs-create: true
32+
virtualenvs-in-project: true
33+
34+
- name: Install dependencies
35+
run: poetry install --only main
36+
37+
- name: Build package
38+
run: poetry build
39+
40+
- name: Publish package
41+
uses: pypa/gh-action-pypi-publish@release/v1
42+
with:
43+
username: __token__
44+
password: ${{ secrets.PYPI_API_KEY }}
45+
packages-dir: python/thirdweb-mcp/dist/

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
# Insight
3+
- Chains
4+
- Transactions
5+
- Blocks
6+
- Events
7+
- Prices
8+
- Tokens
9+
10+
# Engine
11+
- Wallet
12+
- Read
13+
- Write
14+
15+
# Nebula
16+
- Natural langauge agent action

0 commit comments

Comments
 (0)