Skip to main content

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

Project description

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.

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.1.4.tar.gz (20.0 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.1.4-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: edgebase_core-0.1.4.tar.gz
  • Upload date:
  • Size: 20.0 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.1.4.tar.gz
Algorithm Hash digest
SHA256 f6c860299f311b75621579ac4e9220fa9a95e047f249c6f565b78a7537fd09e9
MD5 cbbc91a631a863b1a2aadfb0556b7df6
BLAKE2b-256 c70eae79f16c9befba20847c2dc01aa20533063dc8c1a2cdce23fc47873668bf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: edgebase_core-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 24.1 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.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1f7c7b367e48bac79c8b6b66996a0d0d25c7e1ae7961b302a2b0f2558ac2dcad
MD5 aed3bc89609b3c60e9e308b309a3143a
BLAKE2b-256 d74e675107d166885029e2abdfb55bfb83f946f4c0bdbf07cd5455d508d911d3

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