Skip to main content

Async pocketbase SDK for Python

Project description

Static Badge License: MIT Checks status Coverage GitHub Release


Logo

pocketbase-async

An async Python 3.11+ PocketBase SDK


Repository
Report Bug · Request Feature

About

PocketBase is an amazing tool to have in your developers backpack for a quick backend for your project. I found it pleasant to work with in Python but Vaphes existing Python SDK is in sync code while most of my application development is async these days. I started with a fork of Vaphes' SDK and tried to add async support but I gave up quite quickly and just started from scratch. You see the results here.

Installation

Note that this package is compatible with Python 3.11 and up. You can install this package directly from PyPi:

pip install pocketbase-async
# or if you use poetry
poetry add pocketbase-async

Usage

The API is mostly the same as the official JS SDK and the Vaphes Python SDK, with some exceptions. Authentication methods are namespaced under an extra .auth. There are some examples to help you along. More info to come.

Roadmap

See the project board for the list of planned work. See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are welcome and appreciated, be it typo-fix, feature or extensive rework. I recommend you to open an issue if you plan to spend significant effort on making a pull request, to avoid dual work or getting your work rejected if it really doesn't fit this project.

Don't forget to give the project a star! Thanks again!

  1. Fork the project
  2. Create your feature branch (git checkout -b feat/some-nice-feature)
  3. Commit your changes (git commit -m 'feat: Add some AmazingFeature')
  4. Push to the pranch (git push -u origin feat/some-nice-feature)
  5. Open a pull request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Attributions

The pocketbase-async package was inspired and guided in implementation by several other projects:

Furthermore, a lot of the API tests were adapted from Vaphes' work (licensed MIT).


:arrow_up_small: Back to top

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pocketbase_async-0.12.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

pocketbase_async-0.12.0-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file pocketbase_async-0.12.0.tar.gz.

File metadata

  • Download URL: pocketbase_async-0.12.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for pocketbase_async-0.12.0.tar.gz
Algorithm Hash digest
SHA256 b414d343a88d38d20526a3bac9d136efe1495739674ea11bb56a09e3f721f7be
MD5 9043e5fb356010ac2a298458a711da94
BLAKE2b-256 f53e1d77f4fe0193cc7355311f09c668bbd0ab38eba8a200cb107ae3afb585c7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pocketbase_async-0.12.0.tar.gz:

Publisher: release.yml on thijsmie/pocketbase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pocketbase_async-0.12.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pocketbase_async-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 decfd5f328ef8f0002cfc7ff6da7fad789e05f14cff5404bcc1682222d202828
MD5 a321a39315ab13f220e122741c7eb2f8
BLAKE2b-256 74a36d05105403e141ab75f130d5a4bfe7a2dd63a4a643c5da6850cf3e5b4bc8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pocketbase_async-0.12.0-py3-none-any.whl:

Publisher: release.yml on thijsmie/pocketbase

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page