Skip to main content

A database manager for Supabase and PocketBase

Project description

This is an package for an Private Project For an School


Database Manager Package (pp-database-manager)

The database_manager package is a custom Python library designed to streamline database interactions for the Pristine Pathway project. It provides a unified interface for working with both Supabase and Pocketbase, the two database systems used across the Teacher's Panel, Student's Panel, and Leaderboard applications.

Key Features:

  • Abstraction: Simplifies database operations by providing easy-to-use methods for common tasks like fetching, updating, and inserting data.
  • Centralized Logic: Encapsulates all database-related code in a single package, promoting consistency and maintainability.
  • Dual Database Support: Seamlessly handles interactions with both Supabase (for core data and real-time features) and Pocketbase (for handling potentially larger datasets).
  • Authentication: Manages authentication with both Supabase and Pocketbase.
  • Caching: Implements caching for frequently accessed data (like grade data) to improve performance.
  • Error Handling: Includes robust error handling to gracefully manage database connection issues and other potential problems.
  • Published on PyPI: Available as a reusable package on the Python Package Index (PyPI) named pp-database-manager, making it easy to install and use across different projects.

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

pp_database_manager-2.6.1.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pp_database_manager-2.6.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pp_database_manager-2.6.1.tar.gz.

File metadata

  • Download URL: pp_database_manager-2.6.1.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for pp_database_manager-2.6.1.tar.gz
Algorithm Hash digest
SHA256 4d8ccec01890594ed6dadec4747dbf63caaf5833c10e3d7bea09ed6ce2aa6d4c
MD5 2f974f1216ea0385452f18bcfd5b9f4e
BLAKE2b-256 6ef1367cf1ecf97a6f290f11ec91d3ded7facbb896be29c33dc7877b3c727076

See more details on using hashes here.

File details

Details for the file pp_database_manager-2.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pp_database_manager-2.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7b38339631a94aea29049f0714f4d6eee7153e1f681a4414d9f9b3b07daea1da
MD5 9c2138cad89e2d499166641c29b9918f
BLAKE2b-256 e503d8e5dce0864827cd5f9620f5979ac61637e6f8dfdb952e0febb6a0626435

See more details on using hashes here.

Supported by

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