https://github.com/acdh-oeaw/acdh-baserow-pyutils

a python client for baserow

https://github.com/acdh-oeaw/acdh-baserow-pyutils

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

a python client for baserow

Basic Info
Statistics
  • Stars: 2
  • Watchers: 5
  • Forks: 0
  • Open Issues: 0
  • Releases: 17
Created almost 4 years ago · Last pushed 11 months ago
Metadata Files
Readme License

README.md

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

```python import os from acdhbaserowutils import BaseRowClient

store baserow credentials as ENV-Variables

BASEROWUSER = os.environ.get("BASEROWUSER") BASEROWPW = os.environ.get("BASEROWPW") BASEROWTOKEN = os.environ.get("BASEROWTOKEN") # you need to create a token via baserow DATABASE_ID = "41426" # you can get this ID from Baserow

initialize the client

brclient = BaseRowClient(BASEROWUSER, BASEROWPW, BASEROWTOKEN)

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 = brclient.dumptablesasjson(DATABASEID, foldername='out') print(files)

['out/place.json', 'out/person.json', 'out/profession.json']

```

Owner

  • Name: Austrian Centre for Digital Humanities & Cultural Heritage
  • Login: acdh-oeaw
  • Kind: organization
  • Email: acdh@oeaw.ac.at
  • Location: Vienna, Austria

GitHub Events

Total
  • Create event: 3
  • Release event: 1
  • Issues event: 2
  • Watch event: 1
  • Delete event: 1
  • Push event: 3
  • Pull request event: 2
Last Year
  • Create event: 3
  • Release event: 1
  • Issues event: 2
  • Watch event: 1
  • Delete event: 1
  • Push event: 3
  • Pull request event: 2

Committers

Last synced: 12 months ago

All Time
  • Total Commits: 80
  • Total Committers: 2
  • Avg Commits per committer: 40.0
  • Development Distribution Score (DDS): 0.2
Past Year
  • Commits: 2
  • Committers: 1
  • Avg Commits per committer: 2.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
csae8092 p****r@o****t 64
Daniel_Stoxreiter d****r@o****e 16
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 21
  • Total pull requests: 21
  • Average time to close issues: about 14 hours
  • Average time to close pull requests: 10 minutes
  • Total issue authors: 3
  • Total pull request authors: 2
  • Average comments per issue: 0.33
  • Average comments per pull request: 0.19
  • Merged pull requests: 21
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 2
  • Pull requests: 2
  • Average time to close issues: about 2 hours
  • Average time to close pull requests: less than a minute
  • Issue authors: 2
  • Pull request authors: 1
  • Average comments per issue: 2.0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • csae8092 (17)
  • dasch124 (2)
  • linxOD (1)
Pull Request Authors
  • csae8092 (24)
  • linxOD (2)
Top Labels
Issue Labels
enhancement (8) refactoring (1) houskeeping (1) documentation (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 825 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 2
  • Total versions: 15
  • Total maintainers: 2
pypi.org: acdh-baserow-pyutils

API client for Baserow

  • Documentation: https://acdh-oeaw.github.io/acdh-baserow-pyutils/
  • License: MIT License Copyright (c) 2022 Austrian Centre for Digital Humanities & Cultural Heritage Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 0.11.0
    published 11 months ago
  • Versions: 15
  • Dependent Packages: 0
  • Dependent Repositories: 2
  • Downloads: 825 Last month
Rankings
Downloads: 9.4%
Dependent packages count: 10.0%
Dependent repos count: 11.6%
Average: 18.5%
Forks count: 29.8%
Stargazers count: 31.9%
Maintainers (2)
Last synced: 10 months ago

Dependencies

requirements_dev.txt pypi
  • coverage >=6.4.4,<7 development
  • flake8 >=5.0.4,<6 development
  • pytest >=7.1.3,<8 development
  • wheel * development
.github/workflows/lint.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • py-actions/flake8 v1 composite
.github/workflows/pypi.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/test.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v1 composite
  • codecov/codecov-action v3 composite