kodwen-sdk 0.114.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- kodwen_sdk-0.114.1/.github/ISSUE_TEMPLATE/bug_report.yml +33 -0
- kodwen_sdk-0.114.1/.github/ISSUE_TEMPLATE/feature_request.yml +17 -0
- kodwen_sdk-0.114.1/.github/dependabot.yml +11 -0
- kodwen_sdk-0.114.1/.github/pull_request_template.md +10 -0
- kodwen_sdk-0.114.1/.github/workflows/publish.yml +42 -0
- kodwen_sdk-0.114.1/.gitignore +8 -0
- kodwen_sdk-0.114.1/CHANGELOG.md +1281 -0
- kodwen_sdk-0.114.1/CODE_OF_CONDUCT.md +31 -0
- kodwen_sdk-0.114.1/CONTRIBUTING.md +30 -0
- kodwen_sdk-0.114.1/LICENSE +21 -0
- kodwen_sdk-0.114.1/PKG-INFO +295 -0
- kodwen_sdk-0.114.1/README.md +271 -0
- kodwen_sdk-0.114.1/SECURITY.md +14 -0
- kodwen_sdk-0.114.1/examples/agent.py +16 -0
- kodwen_sdk-0.114.1/examples/chat.py +14 -0
- kodwen_sdk-0.114.1/examples/feedback.py +15 -0
- kodwen_sdk-0.114.1/examples/streaming.py +15 -0
- kodwen_sdk-0.114.1/pyproject.toml +40 -0
- kodwen_sdk-0.114.1/scripts/gen-types.py +349 -0
- kodwen_sdk-0.114.1/scripts/smoke_local.py +141 -0
- kodwen_sdk-0.114.1/src/codai/__init__.py +515 -0
- kodwen_sdk-0.114.1/src/codai/_http.py +395 -0
- kodwen_sdk-0.114.1/src/codai/_operations.py +600 -0
- kodwen_sdk-0.114.1/src/codai/_resolve_types.py +295 -0
- kodwen_sdk-0.114.1/src/codai/_types.py +14830 -0
- kodwen_sdk-0.114.1/src/codai/resources/__init__.py +236 -0
- kodwen_sdk-0.114.1/src/codai/resources/_base.py +32 -0
- kodwen_sdk-0.114.1/src/codai/resources/abuse_reports.py +44 -0
- kodwen_sdk-0.114.1/src/codai/resources/agents.py +73 -0
- kodwen_sdk-0.114.1/src/codai/resources/anon.py +95 -0
- kodwen_sdk-0.114.1/src/codai/resources/batches.py +161 -0
- kodwen_sdk-0.114.1/src/codai/resources/billing.py +94 -0
- kodwen_sdk-0.114.1/src/codai/resources/brand_kits.py +125 -0
- kodwen_sdk-0.114.1/src/codai/resources/cards.py +249 -0
- kodwen_sdk-0.114.1/src/codai/resources/chat.py +165 -0
- kodwen_sdk-0.114.1/src/codai/resources/core.py +1160 -0
- kodwen_sdk-0.114.1/src/codai/resources/creatives.py +994 -0
- kodwen_sdk-0.114.1/src/codai/resources/edit_styles.py +129 -0
- kodwen_sdk-0.114.1/src/codai/resources/environments.py +251 -0
- kodwen_sdk-0.114.1/src/codai/resources/exports.py +48 -0
- kodwen_sdk-0.114.1/src/codai/resources/feed.py +260 -0
- kodwen_sdk-0.114.1/src/codai/resources/lists.py +97 -0
- kodwen_sdk-0.114.1/src/codai/resources/lyrics.py +112 -0
- kodwen_sdk-0.114.1/src/codai/resources/media_ops.py +133 -0
- kodwen_sdk-0.114.1/src/codai/resources/memory.py +58 -0
- kodwen_sdk-0.114.1/src/codai/resources/messages.py +126 -0
- kodwen_sdk-0.114.1/src/codai/resources/music_room.py +223 -0
- kodwen_sdk-0.114.1/src/codai/resources/platform.py +347 -0
- kodwen_sdk-0.114.1/src/codai/resources/productions.py +502 -0
- kodwen_sdk-0.114.1/src/codai/resources/prompts.py +180 -0
- kodwen_sdk-0.114.1/src/codai/resources/provenance.py +45 -0
- kodwen_sdk-0.114.1/src/codai/resources/publishing.py +88 -0
- kodwen_sdk-0.114.1/src/codai/resources/referrals.py +28 -0
- kodwen_sdk-0.114.1/src/codai/resources/research.py +107 -0
- kodwen_sdk-0.114.1/src/codai/resources/resolve.py +342 -0
- kodwen_sdk-0.114.1/src/codai/resources/responses.py +100 -0
- kodwen_sdk-0.114.1/src/codai/resources/sandboxes.py +366 -0
- kodwen_sdk-0.114.1/src/codai/resources/schedules.py +166 -0
- kodwen_sdk-0.114.1/src/codai/resources/sessions.py +179 -0
- kodwen_sdk-0.114.1/src/codai/resources/shares.py +141 -0
- kodwen_sdk-0.114.1/src/codai/resources/stock.py +68 -0
- kodwen_sdk-0.114.1/src/codai/resources/templates.py +46 -0
- kodwen_sdk-0.114.1/src/codai/resources/transcripts.py +319 -0
- kodwen_sdk-0.114.1/src/codai/resources/triggers.py +115 -0
- kodwen_sdk-0.114.1/src/codai/resources/usage_keys.py +39 -0
- kodwen_sdk-0.114.1/src/codai/resources/vault.py +723 -0
- kodwen_sdk-0.114.1/src/codai/resources/visual_qa.py +169 -0
- kodwen_sdk-0.114.1/src/codai/resources/voice_revocations.py +29 -0
- kodwen_sdk-0.114.1/src/codai/resources/voices.py +39 -0
- kodwen_sdk-0.114.1/tests/conftest.py +149 -0
- kodwen_sdk-0.114.1/tests/test_abuse_reports.py +37 -0
- kodwen_sdk-0.114.1/tests/test_anon.py +83 -0
- kodwen_sdk-0.114.1/tests/test_assets_uploads.py +171 -0
- kodwen_sdk-0.114.1/tests/test_batches.py +93 -0
- kodwen_sdk-0.114.1/tests/test_billing_referrals.py +147 -0
- kodwen_sdk-0.114.1/tests/test_brand_kits.py +178 -0
- kodwen_sdk-0.114.1/tests/test_cards.py +129 -0
- kodwen_sdk-0.114.1/tests/test_creatives.py +212 -0
- kodwen_sdk-0.114.1/tests/test_creatives_cx07.py +146 -0
- kodwen_sdk-0.114.1/tests/test_creatives_documents.py +84 -0
- kodwen_sdk-0.114.1/tests/test_creatives_e11.py +78 -0
- kodwen_sdk-0.114.1/tests/test_creatives_e11b.py +89 -0
- kodwen_sdk-0.114.1/tests/test_creatives_sx06.py +84 -0
- kodwen_sdk-0.114.1/tests/test_edit_styles.py +177 -0
- kodwen_sdk-0.114.1/tests/test_environments_exec.py +55 -0
- kodwen_sdk-0.114.1/tests/test_exports.py +123 -0
- kodwen_sdk-0.114.1/tests/test_feed.py +202 -0
- kodwen_sdk-0.114.1/tests/test_hosts_iphone.py +78 -0
- kodwen_sdk-0.114.1/tests/test_http.py +163 -0
- kodwen_sdk-0.114.1/tests/test_lists.py +92 -0
- kodwen_sdk-0.114.1/tests/test_lyrics.py +72 -0
- kodwen_sdk-0.114.1/tests/test_media_ops.py +74 -0
- kodwen_sdk-0.114.1/tests/test_memory.py +42 -0
- kodwen_sdk-0.114.1/tests/test_music_room.py +149 -0
- kodwen_sdk-0.114.1/tests/test_os_gate.py +48 -0
- kodwen_sdk-0.114.1/tests/test_parity.py +128 -0
- kodwen_sdk-0.114.1/tests/test_productions.py +169 -0
- kodwen_sdk-0.114.1/tests/test_prompts.py +67 -0
- kodwen_sdk-0.114.1/tests/test_provenance.py +29 -0
- kodwen_sdk-0.114.1/tests/test_publishing.py +53 -0
- kodwen_sdk-0.114.1/tests/test_research.py +91 -0
- kodwen_sdk-0.114.1/tests/test_resolve.py +272 -0
- kodwen_sdk-0.114.1/tests/test_resources.py +1221 -0
- kodwen_sdk-0.114.1/tests/test_sandboxes.py +220 -0
- kodwen_sdk-0.114.1/tests/test_settings.py +71 -0
- kodwen_sdk-0.114.1/tests/test_shares_e12a.py +158 -0
- kodwen_sdk-0.114.1/tests/test_templates.py +58 -0
- kodwen_sdk-0.114.1/tests/test_themes.py +54 -0
- kodwen_sdk-0.114.1/tests/test_transcripts.py +174 -0
- kodwen_sdk-0.114.1/tests/test_vault.py +491 -0
- kodwen_sdk-0.114.1/tests/test_visual_qa.py +56 -0
- kodwen_sdk-0.114.1/tests/test_voice_revocations.py +23 -0
- kodwen_sdk-0.114.1/tests/test_voices.py +28 -0
- kodwen_sdk-0.114.1/uv.lock +294 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
name: Bug report
|
|
2
|
+
description: Report a problem with kodwen-sdk
|
|
3
|
+
labels: [bug]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: what
|
|
7
|
+
attributes:
|
|
8
|
+
label: What happened?
|
|
9
|
+
description: A clear description of the bug and what you expected instead.
|
|
10
|
+
validations:
|
|
11
|
+
required: true
|
|
12
|
+
- type: textarea
|
|
13
|
+
id: repro
|
|
14
|
+
attributes:
|
|
15
|
+
label: Minimal reproduction
|
|
16
|
+
description: Smallest code snippet that reproduces the issue. Do NOT include your API key.
|
|
17
|
+
render: python
|
|
18
|
+
validations:
|
|
19
|
+
required: true
|
|
20
|
+
- type: input
|
|
21
|
+
id: version
|
|
22
|
+
attributes:
|
|
23
|
+
label: SDK version
|
|
24
|
+
placeholder: "0.1.0"
|
|
25
|
+
validations:
|
|
26
|
+
required: true
|
|
27
|
+
- type: input
|
|
28
|
+
id: python
|
|
29
|
+
attributes:
|
|
30
|
+
label: Python version
|
|
31
|
+
placeholder: "3.12.2"
|
|
32
|
+
validations:
|
|
33
|
+
required: true
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
name: Feature request
|
|
2
|
+
description: Suggest an idea for kodwen-sdk
|
|
3
|
+
labels: [enhancement]
|
|
4
|
+
body:
|
|
5
|
+
- type: textarea
|
|
6
|
+
id: problem
|
|
7
|
+
attributes:
|
|
8
|
+
label: Problem
|
|
9
|
+
description: What are you trying to do that the SDK doesn't support today?
|
|
10
|
+
validations:
|
|
11
|
+
required: true
|
|
12
|
+
- type: textarea
|
|
13
|
+
id: proposal
|
|
14
|
+
attributes:
|
|
15
|
+
label: Proposed solution
|
|
16
|
+
validations:
|
|
17
|
+
required: false
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
name: Publish to PyPI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags:
|
|
6
|
+
- "v*"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
id-token: write # required for PyPI trusted publishing (OIDC)
|
|
12
|
+
|
|
13
|
+
jobs:
|
|
14
|
+
publish:
|
|
15
|
+
runs-on: ubuntu-latest
|
|
16
|
+
environment: pypi
|
|
17
|
+
steps:
|
|
18
|
+
- uses: actions/checkout@v4
|
|
19
|
+
|
|
20
|
+
- uses: actions/setup-python@v5
|
|
21
|
+
with:
|
|
22
|
+
python-version: "3.12"
|
|
23
|
+
|
|
24
|
+
- name: Verify tag matches pyproject version
|
|
25
|
+
if: github.event_name == 'push'
|
|
26
|
+
run: |
|
|
27
|
+
PKG_VERSION="$(python -c "import tomllib;print(tomllib.load(open('pyproject.toml','rb'))['project']['version'])")"
|
|
28
|
+
TAG_VERSION="${GITHUB_REF_NAME#v}"
|
|
29
|
+
if [ "$PKG_VERSION" != "$TAG_VERSION" ]; then
|
|
30
|
+
echo "::error::tag $TAG_VERSION != pyproject $PKG_VERSION"
|
|
31
|
+
exit 1
|
|
32
|
+
fi
|
|
33
|
+
|
|
34
|
+
- name: Build
|
|
35
|
+
run: |
|
|
36
|
+
python -m pip install --upgrade build
|
|
37
|
+
python -m build
|
|
38
|
+
|
|
39
|
+
- name: Publish to PyPI
|
|
40
|
+
uses: pypa/gh-action-pypi-publish@release/v1
|
|
41
|
+
# Uses PyPI Trusted Publishing (OIDC) — no API token needed once the
|
|
42
|
+
# trusted publisher is configured on pypi.org for this repo+workflow.
|