appwrite/agent-skills/appwrite-python
Claude Code and agent skill by appwrite/agent-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Appwrite Python SDK skill. Use when building server-side Python applications with Appwrite, including Django, Flask, and FastAPI integrations. Covers user management, database/table CRUD, file storage, and functions via API keys.
Install
npx vskill@latest install appwrite/agent-skills/appwrite-pythonSKILL.md
Appwrite Python SDK
Installation
Setting Up the Client
Code Examples
User Management
Database Operations
Note: UseTablesDB(not the deprecatedDatabasesclass) for all new code. Only useDatabasesif the existing codebase already relies on it or the user explicitly requests it.Tip: Prefer keyword arguments (e.g.,database_id='...') over positional arguments for all SDK method calls. Only use positional style if the existing codebase already uses it or the user explicitly requests it.
String Column Types
Note: The legacystringtype is deprecated. Use explicit column types for all new columns.
| Type | Max characters | Indexing | Storage | |
|---|---|---|---|---|
varchar | 16,383 | Full index (if size ≤ 768) | Inline in row | |
text | 16,383 | Prefix only | Off-page | |
mediumtext | 4,194,303 | Prefix only | Off-page | |
longtext | 1,073,741,823 | Prefix only | Off-page |
varcharis stored inline and counts towards the 64 KB row size limit. Prefer for short, indexed fields like names, slugs, or identifiers.text,mediumtext, andlongtextare stored off-page (only a 20-byte pointer lives in the row), so they don't consume the row size budget.sizeis not required for these types.
Query Methods
File Storage
InputFile Factory Methods
Teams
Role-based access: UseRole.team('[TEAM_ID]')for all team members orRole.team('[TEAM_ID]', 'editor')for a specific team role when setting permissions.
Serverless Functions
Writing a Function Handler (Python runtime)
Server-Side Rendering (SSR) Authentication
SSR apps (Flask, Django, FastAPI, etc.) use the server SDK to handle auth. You need two clients:
- Admin client — uses an API key, creates sessions, bypasses rate limits (reusable singleton)
- Session client — uses a session cookie, acts on behalf of a user (create per-request, never share)
Email/Password Login
Authenticated Requests
OAuth2 SSR Flow
Cookie security: Always usehttponly,secure, andsamesite='Strict'to prevent XSS. The cookie name must bea_session_<PROJECT_ID>.
Forwarding user agent: Callsession_client.set_forwarded_user_agent(request.headers.get('user-agent'))to record the end-user's browser info for debugging and security.
Error Handling
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/appwrite-python/SKILL.md
Popularity
- Repository stars
- 19
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 7 May 2026, 6 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/appwrite/agent-skills/appwrite-python)