Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Python client for NocoDB API v2

License

NotificationsYou must be signed in to change notification settings

infeeeee/nocodb-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python client for NocoDB API v2

Install

Install frompypi:

pip install nocodb-api

Install from Github:

pip install"nocodb-api@git+https://github.com/infeeeee/nocodb-api"

Quickstart

fromnocodbimportNocoDBnoco=NocoDB(url="https://app.nocodb.com",api_key="superapikey")base=noco.get_base("ple9j3sg0j3ks6m")table=base.get_table_by_title("Sample Views")[print(i,r.metadata)fori,rinenumerate(table.get_records())]

Get debug log:

importloggingfromnocodbimportNocoDBlogging.basicConfig()logging.getLogger('nocodb').setLevel(logging.DEBUG)# Now every log is visible.# Limit to submodules:logging.getLogger('nocodb.Base').setLevel(logging.DEBUG)

Development

python -m venv .venv. ./.venv/bin/activate

Tests in Docker

Create a filetest_config.json with the parameters, or change the Environment Variables intests/Dockerfile, than run:

docker run --rm -it$(docker build -q -f tests/Dockerfile .)

Official docs

Documentation withpdoc

TODO

pip install -e".[doc]"pdoc -d google nocodb

[8]ページ先頭

©2009-2025 Movatter.jp