Skip to main content

basedrow

logo.png

basedrow is a Python wrapper around the Baserow API. It provides a simple and intuitive way to interact with Baserow databases, allowing users to perform various operations like listing rows, creating new rows, updating existing ones, and more.

Features

  • Easy to use client for interacting with the Baserow API.
  • Supports listing, creating, updating, and retrieving rows in a Baserow table.
  • Additional support for advanced query parameters like search, order_by, filters, etc.
  • Extensible design for easy integration with other Python applications.

Installation

To install basedrow, you can use pip:

pip install basedrow

Usage

Working with Tables

from basedrow import Client, Table

client = Client(url='YOUR_BASEROW_URL', token='YOUR_API_TOKEN')

# Initialize a table
table = Table(table_id='YOUR_TABLE_ID', client=client)

# List rows in the table
rows = table.list_rows()

# Filter rows
filtered_rows = table.list_rows(
    # fields starting with `filter__{col}__{op}` will be converted to filters
    # see Baserow the API documentation for your table for details
    filter__name__contains='sam',
)

# Get a specific row
row = table.get_row(row_id='ROW_ID')

# Create a new row
new_row = table.create_row(row={'column_name': 'value'})

# Update existing rows
updated_rows = table.update_rows(rows=[{'id': 'ROW_ID', 'column_name': 'new_value'}])

Windmill Integration

from basedrow import WindmillClient
client = WindmillClient(resource="f/your/baserowresource")

Contributing

Contributions to basedrow are welcome! Please read our contributing guidelines to get started.

License

basedrow is licensed under the MIT License.

Release files for basedrow 0.3.0

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

Source distribution (sdist)

Source distribution for basedrow 0.3.0
File Size Uploaded
basedrow-0.3.0.tar.gz 485.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for basedrow 0.3.0
File Interpreter ABI Platform
basedrow-0.3.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 489.6 kB

Release files / basedrow-0.3.0.tar.gz

Download URL basedrow-0.3.0.tar.gz
Size 485.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9bdbdec5ef798bbca4b9357e1005a0a470b2e2c0d6920e983e44149497bfc3f4
BLAKE2b-256 checksum
How to use checksums
94f9e29e5babd3f28af883f49f1b327cdeb37fcda1ec048f4aa8f24e0fca6de8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release files / basedrow-0.3.0-py2.py3-none-any.whl

Download URL basedrow-0.3.0-py2.py3-none-any.whl
Size 4.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
15dda41df30261be6675a8f9d43d704262486e72aa54b876e7e727df6b79c769
BLAKE2b-256 checksum
How to use checksums
a0a67b8c9aadeb6beff9d580c395626ede16098b11b491d8c59de70a3f09a493
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.31.0

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.1

2 release files

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