Skip to main content

flake8 Lint Test codecov PyPI version

acdh-baserow-pyutils

a python client for baserow

install

pip install acdh-baserow-pyutils

how to use

Have a look into tests/test_baserow_client.py

dump all tables of a given database into JSON-FILES

import os
from acdh_baserow_pyutils import BaseRowClient

# store baserow credentials as ENV-Variables
BASEROW_USER = os.environ.get("BASEROW_USER")
BASEROW_PW = os.environ.get("BASEROW_PW")
BASEROW_TOKEN = os.environ.get("BASEROW_TOKEN") # you need to create a token via baserow
DATABASE_ID = "41426" # you can get this ID from Baserow
BASEROW_URL="https://my-custom-baserow/api/

# initialize the client to baserows hosted instance
br_client = BaseRowClient(BASEROW_USER, BASEROW_PW, BASEROW_TOKEN)

# to initialize the client to some other baserow instance, you need to pass in br_base_url=BASEROW_URL

br_client = BaseRowClient(BASEROW_USER, BASEROW_PW, BASEROW_TOKEN, br_base_url="https://api.baserow.io/api/",)


# writes all tables from Database as json.files into a folder 'out' (the folder needs to exist!) and returns a list of the file names
files = br_client.dump_tables_as_json(DATABASE_ID, folder_name='out')
print(files)
# ['out/place.json', 'out/person.json', 'out/profession.json']

Metadata

Release files for acdh-baserow-pyutils 0.11.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 acdh-baserow-pyutils 0.11.1
File Size Uploaded Provenance
acdh_baserow_pyutils-0.11.1.tar.gz 6.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for acdh-baserow-pyutils 0.11.1
File Interpreter ABI Platform
acdh_baserow_pyutils-0.11.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / acdh_baserow_pyutils-0.11.1.tar.gz

Download URL acdh_baserow_pyutils-0.11.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
15ab3805f09faa8e6bcdc3466436ff6dbf6e9fe7adeb360f691fb1ac626c9059
BLAKE2b-256 checksum
How to use checksums
abb2e25cfabb6880f6e24dd72b4d987bd09c478311d3ac05d3f395765b8e4f65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / acdh_baserow_pyutils-0.11.1-py3-none-any.whl

Download URL acdh_baserow_pyutils-0.11.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a7e4aff8dfbaa718b5a9704b702c560fb93c4494cc8d1030d2a2530d12db8d3d
BLAKE2b-256 checksum
How to use checksums
c35396e45041e589088de0590c05688e7337e842d5b628f78c8e3bf9aff7d6cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for acdh-baserow-pyutils 0.11.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.

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