Skip to main content

APPyWrite 🚀

APPyWrite is a lightweight bridge that allows you to run FastAPI (or any ASGI-compatible application) inside Appwrite Functions.

Features

  • ✅ ASGI Bridge: Seamlessly translates Appwrite context.req to ASGI Scope.
  • ✅ Async Support: Built for Appwrite's latest async runtimes.
  • ✅ Automatic Mapping: Translates FastAPI responses back to context.res (JSON, Text, etc.).

Installation

pip install appywrite

Quick Start

Create a main.py for your Appwrite function:

from fastapi import FastAPI
from appywrite import AppyWriteBridge

app = FastAPI()

@app.get("/")
async def hello():
    return {"message": "Hello from FastAPI on Appwrite!"}

bridge = AppyWriteBridge(app)

# This is the entry point for Appwrite
async def main(context):
    return await bridge.handle(context)

License

MIT

Metadata

Release files for appywrite 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for appywrite 0.1.0
File Size Uploaded Provenance Actions
appywrite-0.1.0.tar.gz 36.6 kB Without provenance Details for appywrite-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for appywrite 0.1.0
File Interpreter ABI Platform Actions
appywrite-0.1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details for appywrite-0.1.0-py2.py3-none-any.whl

Total release size: 39.4 kB

Release files / appywrite-0.1.0.tar.gz

Download URL appywrite-0.1.0.tar.gz
Size 36.6 kB
Tags Source
SHA-256 checksum
How to use checksums
df29b811a8a5403931ef75c25b9e3c53d30c7d926051faeea9a0cded5028da00
BLAKE2b-256 checksum
How to use checksums
46c3cb1a504e38541824ec190141ac7e90a71be327d023dd659c0a3e564cfdfc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / appywrite-0.1.0-py2.py3-none-any.whl

Download URL appywrite-0.1.0-py2.py3-none-any.whl
Size 2.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
816feb9c827c92b85eb6856384d387b8be0b6727e8ed8b933a8259ca50b40e86
BLAKE2b-256 checksum
How to use checksums
a738088ba50a13032ae244afd400129f392a70e8cd9227a2bc5c047e33032aca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for appywrite 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page