Translate 3 Node.js templates to Python
维护者通常 1 天内回复
@zeus2611 已经在做这个了。
开始于 2025年9月29日。
评估
调研方向
从 appwrite/templates README 开始,确定三个缺少 Python 实现但具有 Node.js 版本的模板。查看 Python 目录中的可比文件夹和选定的 Node.js 实现,然后创建具有等效逻辑的对应 Python 文件夹。三个选定的模板全部在 Python 中实现并准备好进行代码审查,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Introduction
Appwrite allows developers to run serverless functions on Appwrite Cloud. While most of the business logic requires entirely custom code, parts of the application have a generic solution.
To address this problem, Appwrite introduced Function templates, allowing developers to use templates for problems such as Stripe payments, AI prompting, or generating invoices.
Those templates are meant to be extended by the developer to precisely fit the needs of their application. Considering that developers come from different backgrounds and experiences, Appwrite Functions supports templates for over 10 languages.
Starting this issue requires an understanding of Node.js and Python syntax. Finishing this issue will give you a basic understanding of Chat GPT, the code review process, and writing quality code.
Task summary
Your goal is to prepare 3 Appwrite Function templates in Python programming language.
1. Pick 3 templates you want to translate
Look at appwrite/templates README, and look for templates that are missing implementation in Python. Pick 3 templates you want to work on, and make sure they have been implemented in Node.js.
We highly recommend picking an integration template with the tool you are familiar with. If you are up for a challenge, pick the ones you wanted to learn but didn't have time to check out yet.
2. Translate templates from Node.js to Python
For each template, prepare a folder inside the Python directory. Initial setup shouldn't be a problem if you are familiar with Python, but it's also perfectly fine to look at other Python templates to see what they look like.
Once you have folders ready, look at the template implementation in Node.js, which shows you how the template was implemented in JavaScript. You should read the code and understand it clearly.
Finally, re-implement the same logic in Python. It's not necessary to follow it line-by-line, but it's best to follow the same logical structure.
In this step, you are allowed to use ChatGPT to help you out, but please don't copy entire chunks of code. Use it as a tool to show you what a solution could look like, but make sure you are the one making a decision about what the final PR looks like.
- 主要语言
- HTML
- 星标
- 174
- 派生
- 129
- 平均合并
- 14 小时 35 分钟
- 30 天内合并 PR
- 12
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
appwrite/templates 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
🐛 Bug Report: discord-command-bot Python build fails in setup.py可能重新可做 关联的 PR 已关闭且未合并。 未关闭bug python
难度 3/5 1-2 天 新手友好度 72/100
appwrite/templates#491 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 20/100
维护者通常 1 天内回复
-
Enhancement: Add TypeScript definitions (IntelliSense) to Node.js starter可能已有人在做 @Ram3ez 于 330 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 55/100
维护者通常 1 天内回复
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
查看 appwrite/templates 的全部 Issue
相似的 Issue
-
Mend: dependency security vulnerability untriaged
难度 2/5 1-3 小时 新手友好度 73/100
opensearch-project/k-NN#3693 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
radius-project/radius#13744 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
Significant-Gravitas/AutoGPT#16733 ·
维护者通常 1 天内回复
-
changelog investigate
难度 1/5 1 小时以内 新手友好度 74/100
ramnes/notion-sdk-py#444 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
Automattic/data-liberation-agent#1657 ·
维护者通常 1 天内回复