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
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| basedrow-0.3.0.tar.gz | 485.4 kB | Without provenance | Details for basedrow-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| basedrow-0.3.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for basedrow-0.3.0-py2.py3-none-any.whl |
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
|
Security for basedrow 0.3.0
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.