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
Metadata
Release files for nocodb-api 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nocodb_api-0.0.4.tar.gz | 45.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nocodb_api-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 79.2 kB
Release files / nocodb_api-0.0.4.tar.gz
| Download URL | nocodb_api-0.0.4.tar.gz |
|---|---|
| Size | 45.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0d11d094b5e1d1baa41493c7b68e5259e6b516122268e985dbe5af2f362ce13
|
|
BLAKE2b-256 checksum How to use checksums |
ab03e9ed88780eb59f0a6ad0cec0bb602a10cf157c48cf829d86f540af550af4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 31, 2024.
Transparency logRelease files / nocodb_api-0.0.4-py3-none-any.whl
| Download URL | nocodb_api-0.0.4-py3-none-any.whl |
|---|---|
| Size | 33.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8cce6414c2a550bc4ecf46e68d4c7beed1aa65f0e828daa4d9f3802eb26dd960
|
|
BLAKE2b-256 checksum How to use checksums |
3737af48df0f98a14ce36e35643d535d3aa440a974fc1b5c1ae8b43b6d09f728
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 31, 2024.
Transparency log