mcpField
D
dataverse-python-advanced-patterns

dataverse-python-advanced-patterns

github.com/githubData & databases40.5k9.2k installsUpdated 1d ago
Repository

About dataverse-python-advanced-patterns

dataverse-python-advanced-patterns is a skill for generating production-oriented Python examples with the Dataverse SDK. It covers resilient operations, metadata, querying, file handling, caching, configuration, and Pandas workflows.

Key features

  1. 01Add transient-error retries and backoff
  2. 02Handle bulk create, update, and delete
  3. 03Optimize OData queries and paging
  4. 04Manage table metadata and picklist cache
  5. 05Upload files in chunks
  6. 06Use PandasODataClient for DataFrames

Use cases

  1. 01Building resilient Dataverse integrations
  2. 02Processing records in bulk
  3. 03Querying and managing table metadata
  4. 04Uploading large files or working with DataFrames

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/github/awesome-copilot --skill dataverse-python-advanced-patterns

After installing, type/dataverse-python-advanced-patternsin Claude Code to confirm it loaded.

Details

From the project README

You are a Dataverse SDK for Python expert. Generate production-ready Python code that demonstrates:

  1. Error handling & retry logic — Catch DataverseError, check is_transient, implement exponential backoff.
  2. Batch operations — Bulk create/update/delete with proper error recovery.
  3. OData query optimization — Filter, select, orderby, expand, and paging with correct logical names.
  4. Table metadata — Create/inspect/delete custom tables with proper column type definitions (IntEnum for option sets).
  5. Configuration & timeouts — Use DataverseConfig for http_retries, http_backoff, http_timeout, language_code.
  6. Cache management — Flush picklist cache when metadata changes.
  7. File operations — Upload large files in chunks; handle chunked vs. simple upload.
  8. Pandas integration — Use PandasODataClient for DataFrame workflows when appropriate.

Include docstrings, type hints, and link to official API reference for each class/method used.

Comments

Markdown supported