A simple and powerful Python client for the NocoDB REST API, allowing interaction with NocoDB projects, tables, and records. It handles API authentication and provides a Pythonic interface for CRUD operations. The current version is 1.3.2, and it follows NocoDB's API changes with new releases.
pip install nocodb-simple-clientVerified import paths — ran on the pinned version, not inferred.
Initializes the NocoDB client using environment variables for sensitive details, then lists tables and fetches records from an example table. This helps verify basic connectivity and authentication.
Ensure your `nocodb-simple-client` version is compatible with your NocoDB backend version. Consult the client's release notes and NocoDB's changelog to match versions.
Always retrieve the NocoDB record ID (often named `id` or `uuid` in the NocoDB response) from a `get` operation before attempting `update` or `delete`.
Double-check that `NOCODB_BASE_URL` points to your NocoDB instance, `NOCODB_AUTH_TOKEN` is the correct global `X-NocoDB-Auth` token, and `NOCODB_PROJECT_ID` is your project's internal ID. Ensure the NocoDB server is running and accessible.
Verify that your `NOCODB_PROJECT_ID` is correct and that your `NOCODB_AUTH_TOKEN` has the necessary permissions for that project. Check the NocoDB UI for the exact project ID and token.
Ensure your `NOCODB_AUTH_TOKEN` is the correct `X-NocoDB-Auth` token (global API token) for your NocoDB instance and is still valid. Regenerate it if necessary.
Check the exact spelling and case of the table name. Verify the table exists in the NocoDB project associated with the `project_id` and that the provided `auth_token` has access.
Inspect the structure of the record object returned by NocoDB to confirm the exact field names and their casing (e.g., `print(records[0])`). NocoDB field names are case-sensitive.
No dependency data recorded yet.