Catalog PyPI
Back to packageRELEASE DETAILS

0.11.1

PyPI

acdh-baserow-pyutils

API client for Baserow

apibaserowclient
Published1 Apr 2026
Direct dependencies1
Transitive dependenciesNot calculated

README

Version 0.11.1 documentation

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']

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 1

Native requirements
1 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.9",
  "evaluation": "NOT_EVALUATED"
}
requests>=2.32.5runtime

Distribution files

2 collected
acdh_baserow_pyutils-0.11.1-py3-none-any.whl

bdist_wheel · 6.49 KB · Python py3

Source file
acdh_baserow_pyutils-0.11.1.tar.gz

sdist · 5.9 KB · Python source

Source file

Repository

PENDING
acdh-oeaw/acdh-baserow-pyutils

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 18:04 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:7a5401428c789fe6477e55b52fba848104e6d763ccc131cd6b39880fa2bee3ab

Other collected versions

View all collected versions →