Skip to main content

FreelyBase Python SDK

Python SDK for FreelyBase, aligned with the Kotlin SDK.

Installation

pip install freelybase
# with optional extras
pip install "freelybase[realtime]"   # FBLiveQuery (WebSocket)
pip install "freelybase[async]"      # AsyncFreelyBase (httpx)
pip install "freelybase[crypto]"     # EncryptedFreelyBase
pip install "freelybase[all]"        # everything

Quick Start

from freelybase import FreelyBase, FBObject, FBQuery, FBUser, FBFile, FBGeoPoint

# Initialize
FreelyBase.initialize(app_key="your_app_id", base_url="https://your-domain.com")

# Define a model
class Post(FBObject):
    table_name = "Post"
    title: str = ""
    view_count: int = 0
    active: bool = True

# Create
post = Post(title="Hello", active=True)
post.save()

# Query
results = FBQuery(Post).equal_to("active", True).order("-created_at").limit(20).find()

# User login
user = FBUser.login("user@example.com", "password123")

# File upload
fb_file = FBFile.upload("photo.jpg")
print(fb_file.url)

Features

Class Description
FreelyBase Global client & HTTP
FBObject Data model base class
FBQuery Query builder with geo, time, cache
FBUser Auth: register, login, third-party
FBFile File upload & URL resolution
FBGeoPoint Geo coordinates & distance
FBLiveQuery Real-time WebSocket listener

Metadata

Release files for freelybase 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for freelybase 1.0.1
File Size Uploaded Provenance Actions
freelybase-1.0.1.tar.gz 24.8 kB Without provenance Details for freelybase-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for freelybase 1.0.1
File Interpreter ABI Platform Actions
freelybase-1.0.1-py3-none-any.whl Python 3 none any Details for freelybase-1.0.1-py3-none-any.whl

Total release size: 51.8 kB

Release files / freelybase-1.0.1.tar.gz

Download URL freelybase-1.0.1.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
f8c1bea56b2cc3de6009c6057176911616c5a33dee05ef063bd1d22b0da4649f
BLAKE2b-256 checksum
How to use checksums
25f14a38d4ed3456490bc622cdb0cc83ce46afd84640be10ffb8b730fd41cf9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / freelybase-1.0.1-py3-none-any.whl

Download URL freelybase-1.0.1-py3-none-any.whl
Size 27.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c4fd55e612ed2dc3278090ff63939d767dd74ecd233030d7cf460bd6c3122b4b
BLAKE2b-256 checksum
How to use checksums
b99074640dff25cd52104f258fa7a2e1eb95cc66dbf17a89c95f43732f99e80a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for freelybase 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page