appwrite avatar

Appwrite Python

This is the server-side Python SDK for Appwrite, covering all the backend operations you'd need for Django, Flask, or FastAPI apps. It uses API keys for authentication and gives you straightforward access to user management, database CRUD (via the new TablesDB service), file storage, teams, and serverless functions. The docs are solid on the practical stuff: they're explicit about using keyword arguments over positional ones, explain the difference between varchar and text column types for row size optimization, and show you how to write function handlers with the context object. If you're building a Python backend with Appwrite and need to manage resources server-side, this covers the essentials without much ceremony.

skills.sh installs
338
GitHub stars
20
last updated
Jun 3, 2026

Install

$ npx -y skills add appwrite/agent-skills --skill appwrite-python --agent claude-code

Installs into .claude/skills of the current project.

Files

Appwrite Python SDK

Installation

pip install appwrite

Setting Up the Client

from appwrite.client import Client
from appwrite.id import ID
from appwrite.query import Query
from appwrite.services.users import Users
from appwrite.services.tables_db import TablesDB
from appwrite.services.storage import Storage
from appwrite.services.functions import Functions
from appwrite.enums.o_auth_provider import OAuthProvider

import os

client = (Client()
    .set_endpoint('https://<REGION>.cloud.appwrite.io/v1')
    .set_project(os.environ['APPWRITE_PROJECT_ID'])
    .set_key(os.environ['APPWRITE_API_KEY']))

Code Examples

User Management

users = Users(client)

# Create user
user = users.create(ID.unique(), 'user@example.com', None, 'password123', 'User Name')

# List users
result = users.list([Query.limit(25)])

# Get user
fetched = users.get('[USER_ID]')

# Delete user
users.delete('[USER_ID]')

Database Operations

Sponsors

Details

Repository
github.com/appwrite/agent-skills
Categories
AI & Agent Building, Python
First seen
Jun 3, 2026

More from appwrite/agent-skills

All 10
1jwynia avataragile-coordinatorjwynia/agent-skillsOrchestrate multiple worker agents to implement groomed tasks. Use when multiple ready tasks need implementation, when you want autonomous multi-task execution,338skills.sh installs
2thedivergentai avatargodot-gdscript-masterythedivergentai/gd-agentic-skillsExpert GDScript landmine guidance: static typing opcodes, signal-up/call-down, %UniqueName/@onready lifecycle, Callable bind/unbind, await sequences, typed coll338skills.sh installs
3meleantonio avatarr-econometricsmeleantonio/awesome-econ-ai-stuffRun IV, DiD, and RDD analyses in R with proper diagnostics337skills.sh installs
4neurofoo avatarsocraticneurofoo/agent-skillsSocratic questioning to examine beliefs, uncover assumptions, and develop deeper understanding. Use to challenge thinking, evaluate proposals, or teach without 337skills.sh installs
5rstackjs avatarmigrate-to-rsbuildrstackjs/agent-skillsMigrate webpack, Vite, create-react-app (CRA/CRACO), or Vue CLI projects to Rsbuild.336skills.sh installs
6sergiodxa avatarfrontend-js-best-practicessergiodxa/agent-skillsJavaScript performance optimization guidelines. Use when writing, reviewing, or refactoring JavaScript/TypeScript code to ensure optimal performance patterns. T336skills.sh installs