/playground-for-python

Simple examples that help you get started with Appwrite + Python (=❤️)

Primary LanguagePythonMIT LicenseMIT

Appwrite's Python Playground 🎮

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

System Requirements

  • A system with Python3 installed.
  • You have readily available Appwrite running instance (localhost in most cases).
  • Create a project in Appwrite instance using console.
  • Generate a secret key in the Appwrite instance using console.

Installation

  1. Clone this repository.
  2. cd into to repository.
  3. Open the app.py file found in the root of the cloned repository.
  4. Copy the project_id, endpoint, secret key from your Appwrite Console.
  5. Update project_id, endpoint, secret key by copied from the console in app.py file where stated.
  6. Install dependencies using pip pip install appwrite
  7. Execute the command python app.py
  8. You will see the JSON response in the console.

API Covered in Playground.

  • Create Collection
  • List Collection
  • Add Document
  • List Documents
  • Upload File
  • List Files
  • Delete File
  • Create User
  • List User

Contributing

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.

Security

For security issues, kindly email us security@appwrite.io instead of posting a public issue in GitHub.

Follow Us

Join our growing community around the world! Follow us on Twitter, Facebook Page, Facebook Group or join our Discord Server Discord community for more help, ideas and discussions.