| name | python-style |
|---|---|
| description | Use for Python package layout, setup.py conventions, and style in contentstack-python. |
- Editing any Python under
contentstack/,setup.py, orrequirements.txt. - Adding modules or changing how the public package surface is exported.
| Path | Role |
|---|---|
contentstack/stack.py |
Stack, ContentstackRegion |
contentstack/query.py, basequery.py |
Query building |
contentstack/entry.py, asset.py, contenttype.py |
Domain objects |
contentstack/taxonomy.py, globalfields.py, variants.py |
Advanced features |
contentstack/https_connection.py, controller.py |
HTTP session + request dispatch |
contentstack/error_messages.py, utility.py |
Shared helpers |
contentstack/__init__.py |
Public exports (Stack, Entry, Asset, …), __version__ |
- Match existing patterns (typing on
Stack,unittest-style tests intests/). - Prefer clear public APIs over internal churn; keep module boundaries similar to neighboring files.
requests,python-dateutil,urllib3(Retry) — seesetup.pyinstall_requires.- Do not add new runtime dependencies without updating
setup.pyandrequirements.txt.
- Do not log
delivery_token,preview_token,api_key, ormanagement_token; follow existing logging inStack.