Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nocodb_api-0.0.4.tar.gz (45.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nocodb_api-0.0.4-py3-none-any.whl (33.5 kB view details)

Uploaded Python 3

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

Hashes for nocodb_api-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e0d11d094b5e1d1baa41493c7b68e5259e6b516122268e985dbe5af2f362ce13
MD5 b6adf95914c5b3827fb3067444d7a815
BLAKE2b-256 ab03e9ed88780eb59f0a6ad0cec0bb602a10cf157c48cf829d86f540af550af4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nocodb_api-0.0.4.tar.gz:

Publisher: publish.yml on infeeeee/nocodb-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for nocodb_api-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8cce6414c2a550bc4ecf46e68d4c7beed1aa65f0e828daa4d9f3802eb26dd960
MD5 ce446f9d9d4505842835482bdd7e7d63
BLAKE2b-256 3737af48df0f98a14ce36e35643d535d3aa440a974fc1b5c1ae8b43b6d09f728

See more details on using hashes here.

Provenance

The following attestation bundles were made for nocodb_api-0.0.4-py3-none-any.whl:

Publisher: publish.yml on infeeeee/nocodb-api

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page