Skip to main content

Shared Python core for EdgeBase table, storage, and HTTP primitives

Project description

EdgeBase Logo

edgebase-core

Shared low-level Python primitives for EdgeBase.

edgebase-core is the foundation used by edgebase and edgebase-admin. It contains the HTTP client, table/query builder, storage helpers, push primitives, field operations, and common error types.

Most application code should install edgebase-admin instead:

  • pip install edgebase-admin

If you are working inside this repository or publishing an internal umbrella package, edgebase is the broader package that layers on top of edgebase-core.

Install edgebase-core directly only if you are building custom wrappers, generated bindings, or internal integrations on top of the EdgeBase APIs.

EdgeBase is the open-source edge-native BaaS that runs on Edge, Docker, and Node.js.

This package is one part of the wider EdgeBase platform. For the full platform, CLI, Admin Dashboard, server runtime, docs, and all public SDKs, see the main repository: edge-base/edgebase.

Docs

Quick Start

from edgebase_core import HttpClient, StorageClient, TableRef

http = HttpClient(
    "https://your-project.edgebase.fun",
    service_key="service-key",
)

posts = (
    TableRef(http, "shared", None, "posts")
    .where("published", "==", True)
    .order_by("createdAt", "desc")
    .limit(20)
    .get_list()
)

bucket = StorageClient(http).bucket("avatars")

Included Surfaces

  • HttpClient
  • TableRef, DocRef, ListResult
  • StorageClient, StorageBucket
  • PushClient
  • FieldOps, increment, delete_field
  • ContextManager
  • EdgeBaseError

AI Assistant

  • Package guide: packages/sdk/python/packages/core/README.md
  • Assistant reference: packages/sdk/python/packages/core/llms.txt

Requirements

  • Python 3.10+
  • httpx>=0.27

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

edgebase_core-0.2.1.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

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

edgebase_core-0.2.1-py3-none-any.whl (24.9 kB view details)

Uploaded Python 3

File details

Details for the file edgebase_core-0.2.1.tar.gz.

File metadata

  • Download URL: edgebase_core-0.2.1.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for edgebase_core-0.2.1.tar.gz
Algorithm Hash digest
SHA256 49b1f23e39aafe79175e5ab51a9a2008753ec490f881031e1fcf7813631527b9
MD5 631447440b5e1d462908585d1748c00d
BLAKE2b-256 cfbe0adb566e9319e24381e4d3ebcfaa96e5c0cc5094f94b29f42deb1f5cc55c

See more details on using hashes here.

File details

Details for the file edgebase_core-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: edgebase_core-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 24.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for edgebase_core-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b115d37761e85564ab50ee2b9bf09d3162aab7627df18aa307e7f5f56be19064
MD5 4922e99ddf7d653e94508b8c4a87f34f
BLAKE2b-256 5d9981e2e7ccb8d808aba000bbe7b6400c31c551c65c61a7535d212fe099ef64

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