Skip to content

Commit 2bdbd82

Browse files
committed
Initial commit
0 parents  commit 2bdbd82

Some content is hidden

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

69 files changed

+75371
-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+
user: __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+
user: __token__
44+
password: ${{ secrets.PYPI_API_KEY }}
45+
packages-dir: python/thirdweb-mcp/dist/

.gitignore

Lines changed: 206 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
.DS_Store
2+
node_modules
3+
.turbo
4+
*.log
5+
.next
6+
dist
7+
dist-ssr
8+
*.local
9+
.env
10+
.cache
11+
server/dist
12+
public/dist
13+
.idea/
14+
.yalc/
15+
yalc.lock
16+
./build/
17+
playwright-report/
18+
.env/
19+
20+
# codecov binary
21+
codecov
22+
23+
# Remove sitemap files (generated at build time)
24+
sitemap*.xml
25+
26+
*storybook.log
27+
storybook-static
28+
.aider*
29+
30+
tsconfig.tsbuildinfo
31+
32+
### python
33+
# Byte-compiled / optimized / DLL files
34+
__pycache__/
35+
*.py[cod]
36+
*$py.class
37+
38+
# C extensions
39+
*.so
40+
41+
# Distribution / packaging
42+
.Python
43+
build/
44+
develop-eggs/
45+
dist/
46+
downloads/
47+
eggs/
48+
.eggs/
49+
lib/
50+
lib64/
51+
parts/
52+
sdist/
53+
var/
54+
wheels/
55+
share/python-wheels/
56+
*.egg-info/
57+
.installed.cfg
58+
*.egg
59+
MANIFEST
60+
61+
# PyInstaller
62+
# Usually these files are written by a python script from a template
63+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
64+
*.manifest
65+
*.spec
66+
67+
# Installer logs
68+
pip-log.txt
69+
pip-delete-this-directory.txt
70+
71+
# Unit test / coverage reports
72+
htmlcov/
73+
.tox/
74+
.nox/
75+
.coverage
76+
.coverage.*
77+
.cache
78+
nosetests.xml
79+
coverage.xml
80+
*.cover
81+
*.py,cover
82+
.hypothesis/
83+
.pytest_cache/
84+
cover/
85+
86+
# Translations
87+
*.mo
88+
*.pot
89+
90+
# Django stuff:
91+
*.log
92+
local_settings.py
93+
db.sqlite3
94+
db.sqlite3-journal
95+
96+
# Flask stuff:
97+
instance/
98+
.webassets-cache
99+
100+
# Scrapy stuff:
101+
.scrapy
102+
103+
# Sphinx documentation
104+
docs/_build/
105+
106+
# PyBuilder
107+
.pybuilder/
108+
target/
109+
110+
# Jupyter Notebook
111+
.ipynb_checkpoints
112+
113+
# IPython
114+
profile_default/
115+
ipython_config.py
116+
117+
# pyenv
118+
# For a library or package, you might want to ignore these files since the code is
119+
# intended to run in multiple environments; otherwise, check them in:
120+
# .python-version
121+
122+
# pipenv
123+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
124+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
125+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
126+
# install all needed dependencies.
127+
#Pipfile.lock
128+
129+
# UV
130+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
131+
# This is especially recommended for binary packages to ensure reproducibility, and is more
132+
# commonly ignored for libraries.
133+
#uv.lock
134+
135+
# poetry
136+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
137+
# This is especially recommended for binary packages to ensure reproducibility, and is more
138+
# commonly ignored for libraries.
139+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
140+
#poetry.lock
141+
142+
# pdm
143+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
144+
#pdm.lock
145+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
146+
# in version control.
147+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
148+
.pdm.toml
149+
.pdm-python
150+
.pdm-build/
151+
152+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
153+
__pypackages__/
154+
155+
# Celery stuff
156+
celerybeat-schedule
157+
celerybeat.pid
158+
159+
# SageMath parsed files
160+
*.sage.py
161+
162+
# Environments
163+
.env
164+
.venv
165+
env/
166+
venv/
167+
ENV/
168+
env.bak/
169+
venv.bak/
170+
171+
# Spyder project settings
172+
.spyderproject
173+
.spyproject
174+
175+
# Rope project settings
176+
.ropeproject
177+
178+
# mkdocs documentation
179+
/site
180+
181+
# mypy
182+
.mypy_cache/
183+
.dmypy.json
184+
dmypy.json
185+
186+
# Pyre type checker
187+
.pyre/
188+
189+
# pytype static type analyzer
190+
.pytype/
191+
192+
# Cython debug symbols
193+
cython_debug/
194+
195+
# PyCharm
196+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
197+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
198+
# and can be added to the global gitignore or merged into this file. For a more nuclear
199+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
200+
#.idea/
201+
202+
# Ruff stuff:
203+
.ruff_cache/
204+
205+
# PyPI configuration file
206+
.pypirc

0 commit comments

Comments
 (0)