A Python client SDK for interacting with PocketBase backends, providing a pythonic interface for authentication, collections, and file uploads.
PocketBase Python SDK is a client library that provides Python applications with a native interface to interact with PocketBase backends. It handles authentication, collection operations, and file uploads while converting API responses to Python-friendly snake_case by default. The SDK solves the problem of integrating Python applications with PocketBase without manual HTTP request handling.
Python developers building applications that need to interact with PocketBase backends, particularly those who want a maintained, pythonic client library instead of writing custom API integration code.
Developers choose this SDK because it offers an officially-inspired Python translation of the JavaScript client with automatic key conversion, comprehensive PocketBase feature coverage, and real-world integration testing. It saves development time compared to building custom API clients.
PocketBase client SDK for python
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Automatically converts camelCase API keys to snake_case by default, ensuring seamless and idiomatic integration with Python code, as emphasized in the Key Features.
Handles both regular user and admin authentication with built-in token validation, simplifying secure access to PocketBase backends without manual HTTP request handling.
Includes a FileUpload helper for uploading files to PocketBase fields, streamlining media management as demonstrated in the usage example for image uploads.
Allows disabling auto snake_case conversion to preserve original API key names, giving developers control over data mapping based on their needs.
The SDK is explicitly labeled as in early development, which means it may have bugs, incomplete features, and potential breaking changes unsuitable for stable production use.
Relies heavily on PocketBase's external API docs with a 'pythonize it' note, indicating a lack of detailed, SDK-specific examples and guides for Python developers.
As a direct translation of the JavaScript SDK, it might not fully optimize for Python's unique features or offer performance enhancements tailored to Python ecosystems.