Official VAIF Studio client library for Python
Project description
VAIF Studio Python SDK
The official Python client library for VAIF Studio.
Installation
pip install vaif-client
Quick Start
from vaif import create_client
# Initialize the client
vaif = create_client(
project_id="your-project-id",
api_key="your-api-key"
)
# Query data
users = await vaif.db.from_("users").select("*").execute()
# Authentication
result = await vaif.auth.sign_in_with_password(
email="user@example.com",
password="password123"
)
# File storage
file = await vaif.storage.bucket("avatars").upload("avatar.png", data)
# Real-time subscriptions
channel = vaif.realtime.channel("room1")
await channel.on("broadcast", {"event": "message"}, lambda msg: print(msg))
await channel.subscribe()
# AI Copilot
schema = await vaif.ai.generate_schema(
prompt="Create a blog with posts and comments",
format="sql"
)
Features
- Database: Type-safe query builder with PostgreSQL support
- Authentication: Email, OAuth, magic links, and MFA
- Storage: S3-compatible file storage with CDN
- Real-time: WebSocket subscriptions for live updates
- AI Copilot: Natural language code generation
Documentation
Visit vaif.studio/docs/sdk/python for full documentation.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
vaif_client-0.1.0.tar.gz
(24.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vaif_client-0.1.0.tar.gz.
File metadata
- Download URL: vaif_client-0.1.0.tar.gz
- Upload date:
- Size: 24.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c807208d5f2301b9bf2f06401210e70016d3959f34c48aa35a4601493e9f7cd
|
|
| MD5 |
742dbb4c3335d9fb4df90ee369e56cd3
|
|
| BLAKE2b-256 |
9749212533538425f628186b30d6316489cb93255952f6f56d0a6259d80dd396
|
File details
Details for the file vaif_client-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vaif_client-0.1.0-py3-none-any.whl
- Upload date:
- Size: 28.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0e063acabda2326e5f6d8200eefbe3a50a40031216013b1bc5d16a51c704ec0
|
|
| MD5 |
b9cab74d1ca7a12d974c161baefd2ad0
|
|
| BLAKE2b-256 |
94a12e3062f58e2c942f8dd675c90ac0e1c6a866b9cb71e33546fed8dd6d51b2
|