Appwrite playground is a simple way to explore the Appwrite API & Appwrite Python SDK. Use the source code of this repository to learn how to use the different Appwrite Python SDK features.
Work in progress
- A system with Python 3+ or Docker installed.
- An Appwrite instance.
- An Appwrite project created in the console.
- An Appwrite API key created in the console.
- Clone this repository.
cd
into the repository.- Open the playground.py file found in the root of the cloned repository.
- Copy Project ID, endpoint and API key from Appwrite console into
playground.py
- Run the playground:
Python:
- Install dependencies using pip
pip install -r requirements.txt
- Execute the commandpython playground.py
Docker: - Execute the commanddocker compose up
- You will see the JSON response in the console.
-
Database
- Create Collection
- List Collections
- Add Document
- List Documents
- Delete Document
- Delete Collection
-
Storage
- Create Bucket
- List Buckets
- Upload File
- List Files
- Delete File
- Delete Bucket
-
Users
- Create User
- List Users
- Delete User
-
Functions
- Create Function
- List Functions
- Delete Function
All code contributions - including those of people having commit access - must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.
We truly ❤️ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.
For security issues, kindly email us security@appwrite.io instead of posting a public issue in GitHub.
Join our growing community around the world! Follow us on Twitter, Facebook Page, Facebook Group or join our Discord Server for more help, ideas and discussions.