contentstack/contentstack-python · Archived

contentstack-utils

Use for Stack initialization, queries, entries, assets, live preview, taxonomy, and variants in contentstack-python.

First seen Jun 17, 2026

Installation

$ npx skills add contentstack/contentstack-python --skill contentstack-utils

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Also in this package

Other skills from contentstack/contentstack-python.

npx skills add contentstack/contentstack-python

Browse all from contentstack/contentstack-python

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 4
License LICENSE
Default branch master
Open issues 0
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,961 B
  • docs SUMMARY.md 142 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 3 installs

SKILL.md

Contentstack CDA SDK – Contentstack Python CDA SDK

When to use

  • Implementing or changing Stack, content-type, query, entry, or asset behavior.
  • Working with live preview, taxonomy, global fields, variants, or image transforms.
  • Assessing CDA API alignment or extending the public SDK surface.

Instructions

Stack entry

  • Stack in contentstack/stack.py: validates apikey, deliverytoken, environment; resolves region → host via ContentstackRegion; builds endpoint; wires HTTPSConnection with headers, timeout, urllib3.Retry, and optional livepreview / branch / earlyaccess.

Features

  • Content types & entries — contenttype.py, entry.py, entryqueryable.py.
  • Queries — basequery.py, query.py; chain methods align with CDA query parameters.
  • Assets — asset.py, assetquery.py.
  • Taxonomy, global fields, variants, image transform — taxonomy.py, globalfields.py, variants.py, image_transform.py.
  • Sync — Stack.syncinit, pagination, synctoken → /stacks/sync via __sync_request.

Live preview

  • livepreview dict (enable, host, authorization, etc.) merged in deepmergelp.py / stack setup; keep behavior aligned with tests/testlive_preview.py.

HTTP layer

  • httpsconnection.py — requests.Session, HTTPAdapter, getrequest from controller.py; user-agent uses contentstack.title / version.

Extending

  • Add query or stack methods consistent with CDA query parameters.
  • Keep transport logic in HTTPSConnection / controller rather than duplicating requests setup.

Dependencies

  • requests, urllib3 (Retry), python-dateutil