Baserow client for Python.
Project description
basedrow
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
Setting Up the Client
from basedrow import Client
# Initialize the client
client = Client(url='YOUR_BASEROW_URL', token='YOUR_API_TOKEN')
Working with Tables
# Initialize a table
table = Table(table_id='YOUR_TABLE_ID', client=client)
# List rows in the table
rows = table.list_rows()
# 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'}])
Contributing
Contributions to basedrow
are welcome! Please read our contributing guidelines to get started.
License
basedrow
is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
basedrow-0.2.0.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for basedrow-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb2367cb137f4fb142e59e8e7b2788a2e3fe6312cdfba68872e6b8b48b2a0d90 |
|
MD5 | 30dbd00ecd4fb6ac4feeadc7456c3d6b |
|
BLAKE2b-256 | c86224d85f1e8940385576ab0a0f59f7dc5faaaafd0aec704bb21bd51020712c |