Python client for NocoDB API v2
Project description
nocodb-api
Python client for NocoDB API v2
Install
Install from pypi:
pip install nocodb-api
Install from Github:
pip install "nocodb-api@git+https://github.com/infeeeee/nocodb-api"
Quickstart
from nocodb import NocoDB
noco = 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) for i,r in enumerate(table.get_records())]
Get debug log:
import logging
from nocodb import NocoDB
logging.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 file test_config.json with the parameters, or change the Environment Variables in tests/Dockerfile, than run:
docker run --rm -it $(docker build -q -f tests/Dockerfile .)
Official docs
Documentation with pdoc
TODO
pip install -e ".[doc]"
pdoc -d google nocodb
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nocodb_api-0.0.4.tar.gz.
File metadata
- Download URL: nocodb_api-0.0.4.tar.gz
- Upload date:
- Size: 45.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0d11d094b5e1d1baa41493c7b68e5259e6b516122268e985dbe5af2f362ce13
|
|
| MD5 |
b6adf95914c5b3827fb3067444d7a815
|
|
| BLAKE2b-256 |
ab03e9ed88780eb59f0a6ad0cec0bb602a10cf157c48cf829d86f540af550af4
|
Provenance
The following attestation bundles were made for nocodb_api-0.0.4.tar.gz:
Publisher:
publish.yml on infeeeee/nocodb-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nocodb_api-0.0.4.tar.gz -
Subject digest:
e0d11d094b5e1d1baa41493c7b68e5259e6b516122268e985dbe5af2f362ce13 - Sigstore transparency entry: 158444073
- Sigstore integration time:
-
Permalink:
infeeeee/nocodb-api@e261f4df3c32d48bb33ac18ce2c0f07d41092c15 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/infeeeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e261f4df3c32d48bb33ac18ce2c0f07d41092c15 -
Trigger Event:
push
-
Statement type:
File details
Details for the file nocodb_api-0.0.4-py3-none-any.whl.
File metadata
- Download URL: nocodb_api-0.0.4-py3-none-any.whl
- Upload date:
- Size: 33.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cce6414c2a550bc4ecf46e68d4c7beed1aa65f0e828daa4d9f3802eb26dd960
|
|
| MD5 |
ce446f9d9d4505842835482bdd7e7d63
|
|
| BLAKE2b-256 |
3737af48df0f98a14ce36e35643d535d3aa440a974fc1b5c1ae8b43b6d09f728
|
Provenance
The following attestation bundles were made for nocodb_api-0.0.4-py3-none-any.whl:
Publisher:
publish.yml on infeeeee/nocodb-api
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nocodb_api-0.0.4-py3-none-any.whl -
Subject digest:
8cce6414c2a550bc4ecf46e68d4c7beed1aa65f0e828daa4d9f3802eb26dd960 - Sigstore transparency entry: 158444074
- Sigstore integration time:
-
Permalink:
infeeeee/nocodb-api@e261f4df3c32d48bb33ac18ce2c0f07d41092c15 -
Branch / Tag:
refs/tags/v0.0.4 - Owner: https://github.com/infeeeee
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e261f4df3c32d48bb33ac18ce2c0f07d41092c15 -
Trigger Event:
push
-
Statement type: