wriftai 0.13.0__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.
- wriftai-0.13.0/.github/ISSUE_TEMPLATE/bug_report.yml +64 -0
- wriftai-0.13.0/.github/ISSUE_TEMPLATE/config.yml +8 -0
- wriftai-0.13.0/.github/ISSUE_TEMPLATE/feature_request.yml +28 -0
- wriftai-0.13.0/.github/PULL_REQUEST_TEMPLATE.md +22 -0
- wriftai-0.13.0/.github/actions/setup-python-env/action.yml +30 -0
- wriftai-0.13.0/.github/labels.yml +59 -0
- wriftai-0.13.0/.github/workflows/ci.yml +93 -0
- wriftai-0.13.0/.github/workflows/labeler.yml +22 -0
- wriftai-0.13.0/.gitignore +35 -0
- wriftai-0.13.0/.release-please-manifest.json +3 -0
- wriftai-0.13.0/CHANGELOG.md +125 -0
- wriftai-0.13.0/CODE_OF_CONDUCT.md +132 -0
- wriftai-0.13.0/CONTRIBUTING.md +199 -0
- wriftai-0.13.0/LICENSE +202 -0
- wriftai-0.13.0/Makefile +85 -0
- wriftai-0.13.0/PKG-INFO +92 -0
- wriftai-0.13.0/README.md +67 -0
- wriftai-0.13.0/banner.png +0 -0
- wriftai-0.13.0/docs/reference/index.md +8 -0
- wriftai-0.13.0/docs/reference/wriftai.api.md +59 -0
- wriftai-0.13.0/docs/reference/wriftai.authenticated_user.md +141 -0
- wriftai-0.13.0/docs/reference/wriftai.common_types.md +181 -0
- wriftai-0.13.0/docs/reference/wriftai.hardware.md +95 -0
- wriftai-0.13.0/docs/reference/wriftai.md +289 -0
- wriftai-0.13.0/docs/reference/wriftai.models.md +443 -0
- wriftai-0.13.0/docs/reference/wriftai.pagination.md +53 -0
- wriftai-0.13.0/docs/reference/wriftai.predictions.md +453 -0
- wriftai-0.13.0/docs/reference/wriftai.users.md +147 -0
- wriftai-0.13.0/docs/reference/wriftai.versions.md +158 -0
- wriftai-0.13.0/pyproject.toml +124 -0
- wriftai-0.13.0/release-please-config.json +15 -0
- wriftai-0.13.0/sphinx/_custom_frontmatter.py +84 -0
- wriftai-0.13.0/sphinx/conf.py +89 -0
- wriftai-0.13.0/sphinx/index.rst +7 -0
- wriftai-0.13.0/tests/__init__.py +0 -0
- wriftai-0.13.0/tests/integration/conftest.py +39 -0
- wriftai-0.13.0/tests/integration/test_api.py +115 -0
- wriftai-0.13.0/tests/integration/test_authenticated_user.py +234 -0
- wriftai-0.13.0/tests/integration/test_hardware.py +78 -0
- wriftai-0.13.0/tests/integration/test_models.py +547 -0
- wriftai-0.13.0/tests/integration/test_predictions.py +279 -0
- wriftai-0.13.0/tests/integration/test_users.py +203 -0
- wriftai-0.13.0/tests/integration/test_versions.py +254 -0
- wriftai-0.13.0/tests/unit/__init__.py +0 -0
- wriftai-0.13.0/tests/unit/test__client.py +238 -0
- wriftai-0.13.0/tests/unit/test_api.py +112 -0
- wriftai-0.13.0/tests/unit/test_authenticated_user.py +113 -0
- wriftai-0.13.0/tests/unit/test_common_types.py +39 -0
- wriftai-0.13.0/tests/unit/test_hardware.py +41 -0
- wriftai-0.13.0/tests/unit/test_list_predictions.py +41 -0
- wriftai-0.13.0/tests/unit/test_models.py +312 -0
- wriftai-0.13.0/tests/unit/test_predictions.py +383 -0
- wriftai-0.13.0/tests/unit/test_resource.py +35 -0
- wriftai-0.13.0/tests/unit/test_users.py +140 -0
- wriftai-0.13.0/tests/unit/test_versions.py +196 -0
- wriftai-0.13.0/uv.lock +935 -0
- wriftai-0.13.0/wriftai/__init__.py +6 -0
- wriftai-0.13.0/wriftai/_client.py +158 -0
- wriftai-0.13.0/wriftai/_resource.py +62 -0
- wriftai-0.13.0/wriftai/api.py +83 -0
- wriftai-0.13.0/wriftai/authenticated_user.py +139 -0
- wriftai-0.13.0/wriftai/common_types.py +121 -0
- wriftai-0.13.0/wriftai/hardware.py +71 -0
- wriftai-0.13.0/wriftai/models.py +383 -0
- wriftai-0.13.0/wriftai/pagination.py +40 -0
- wriftai-0.13.0/wriftai/predictions.py +437 -0
- wriftai-0.13.0/wriftai/py.typed +0 -0
- wriftai-0.13.0/wriftai/users.py +151 -0
- wriftai-0.13.0/wriftai/versions.py +192 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
name: Bug report
|
|
2
|
+
description: Report an issue or bug with this library
|
|
3
|
+
labels: ['bug']
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Thanks for taking the time to fill out this bug report!
|
|
9
|
+
- type: checkboxes
|
|
10
|
+
id: non_api
|
|
11
|
+
attributes:
|
|
12
|
+
label: Confirm this is an issue with the Python library and not an underlying WriftAI API
|
|
13
|
+
description: Issues with the underlying WriftAI API should be reported on our [Discord Server](https://discord.gg/wp4F6c8vFh)
|
|
14
|
+
options:
|
|
15
|
+
- label: This is an issue with the Python library
|
|
16
|
+
required: true
|
|
17
|
+
- type: textarea
|
|
18
|
+
id: what-happened
|
|
19
|
+
attributes:
|
|
20
|
+
label: Describe the bug
|
|
21
|
+
description: A clear and concise description of what the bug is, and any additional context.
|
|
22
|
+
placeholder: Tell us what you see!
|
|
23
|
+
validations:
|
|
24
|
+
required: true
|
|
25
|
+
- type: textarea
|
|
26
|
+
id: repro-steps
|
|
27
|
+
attributes:
|
|
28
|
+
label: To Reproduce
|
|
29
|
+
description: Steps to reproduce the behavior.
|
|
30
|
+
placeholder: |
|
|
31
|
+
1. Fetch a '...'
|
|
32
|
+
2. Update the '....'
|
|
33
|
+
3. See error
|
|
34
|
+
validations:
|
|
35
|
+
required: true
|
|
36
|
+
- type: textarea
|
|
37
|
+
id: code-snippets
|
|
38
|
+
attributes:
|
|
39
|
+
label: Code snippets
|
|
40
|
+
description: If applicable, add code snippets to help explain your problem.
|
|
41
|
+
render: Python
|
|
42
|
+
validations:
|
|
43
|
+
required: false
|
|
44
|
+
- type: input
|
|
45
|
+
id: os
|
|
46
|
+
attributes:
|
|
47
|
+
label: OS
|
|
48
|
+
placeholder: macOS
|
|
49
|
+
validations:
|
|
50
|
+
required: true
|
|
51
|
+
- type: input
|
|
52
|
+
id: language-version
|
|
53
|
+
attributes:
|
|
54
|
+
label: Python version
|
|
55
|
+
placeholder: Python v3.11.4
|
|
56
|
+
validations:
|
|
57
|
+
required: true
|
|
58
|
+
- type: input
|
|
59
|
+
id: lib-version
|
|
60
|
+
attributes:
|
|
61
|
+
label: Library version
|
|
62
|
+
placeholder: wriftai v1.0.1
|
|
63
|
+
validations:
|
|
64
|
+
required: true
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
blank_issues_enabled: true
|
|
2
|
+
contact_links:
|
|
3
|
+
- name: WriftAI support
|
|
4
|
+
url: https://wrift.ai/forms/help
|
|
5
|
+
about: |
|
|
6
|
+
Please only file issues here that you believe represent actual bugs
|
|
7
|
+
or feature requests for the WriftAI Python library. If you're having general trouble
|
|
8
|
+
with WriftAI, please visit our help center to get support.
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
name: Feature request
|
|
2
|
+
description: Suggest an idea for this library
|
|
3
|
+
labels: ['feature-request']
|
|
4
|
+
body:
|
|
5
|
+
- type: markdown
|
|
6
|
+
attributes:
|
|
7
|
+
value: |
|
|
8
|
+
Thanks for taking the time to fill out this feature request!
|
|
9
|
+
- type: checkboxes
|
|
10
|
+
id: non_api
|
|
11
|
+
attributes:
|
|
12
|
+
label: Confirm this is a feature request for the Python library and not the underlying WriftAI API.
|
|
13
|
+
description: Feature requests for the underlying WriftAI API should be reported on our [Discord Server](https://discord.gg/8JVeSdnJE4)
|
|
14
|
+
options:
|
|
15
|
+
- label: This is a feature request for the Python library
|
|
16
|
+
required: true
|
|
17
|
+
- type: textarea
|
|
18
|
+
id: feature
|
|
19
|
+
attributes:
|
|
20
|
+
label: Describe the feature or improvement you're requesting
|
|
21
|
+
description: A clear and concise description of what you want to happen.
|
|
22
|
+
validations:
|
|
23
|
+
required: true
|
|
24
|
+
- type: textarea
|
|
25
|
+
id: context
|
|
26
|
+
attributes:
|
|
27
|
+
label: Additional context
|
|
28
|
+
description: Add any other context about the feature request here.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
## Overview
|
|
2
|
+
|
|
3
|
+
<!-- Explanation of what has been done and why -->
|
|
4
|
+
|
|
5
|
+
## Summary of Changes
|
|
6
|
+
|
|
7
|
+
<!-- Bullet points highlighting key features and or significant changes
|
|
8
|
+
introduced by this PR. -->
|
|
9
|
+
|
|
10
|
+
-
|
|
11
|
+
-
|
|
12
|
+
-
|
|
13
|
+
|
|
14
|
+
## Testing
|
|
15
|
+
|
|
16
|
+
<!-- Details of how the changes were tested and any relevant results-->
|
|
17
|
+
|
|
18
|
+
## Issue
|
|
19
|
+
|
|
20
|
+
<!-- Reference to the related issues or tickets -->
|
|
21
|
+
|
|
22
|
+
#<issue_number>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
name: "Setup Python Environment"
|
|
2
|
+
description: "Set up Python environment for the given Python version"
|
|
3
|
+
|
|
4
|
+
inputs:
|
|
5
|
+
python-version:
|
|
6
|
+
description: "Python version to use"
|
|
7
|
+
required: true
|
|
8
|
+
default: "3.13"
|
|
9
|
+
uv-version:
|
|
10
|
+
description: "uv version to use"
|
|
11
|
+
required: true
|
|
12
|
+
default: "0.6.14"
|
|
13
|
+
|
|
14
|
+
runs:
|
|
15
|
+
using: "composite"
|
|
16
|
+
steps:
|
|
17
|
+
- uses: actions/setup-python@v5
|
|
18
|
+
with:
|
|
19
|
+
python-version: ${{ inputs.python-version }}
|
|
20
|
+
|
|
21
|
+
- name: Install uv
|
|
22
|
+
uses: astral-sh/setup-uv@v6
|
|
23
|
+
with:
|
|
24
|
+
version: ${{ inputs.uv-version }}
|
|
25
|
+
enable-cache: 'true'
|
|
26
|
+
cache-suffix: ${{ matrix.python-version }}
|
|
27
|
+
|
|
28
|
+
- name: Install Python dependencies
|
|
29
|
+
run: uv sync --frozen
|
|
30
|
+
shell: bash
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
- name: enhancement
|
|
2
|
+
description: 'New feature or request'
|
|
3
|
+
color: '84b6eb'
|
|
4
|
+
|
|
5
|
+
- name: bug
|
|
6
|
+
description: 'Something isn’t working'
|
|
7
|
+
color: 'd73a4a'
|
|
8
|
+
|
|
9
|
+
- name: documentation
|
|
10
|
+
description: 'Improvements or additions to documentation'
|
|
11
|
+
color: '0075ca'
|
|
12
|
+
|
|
13
|
+
- name: refactor
|
|
14
|
+
description: 'Code change that neither fixes a bug nor adds a feature'
|
|
15
|
+
color: 'fbca04'
|
|
16
|
+
|
|
17
|
+
- name: test
|
|
18
|
+
description: 'Adding or updating tests'
|
|
19
|
+
color: 'd4c5f9'
|
|
20
|
+
|
|
21
|
+
- name: ci
|
|
22
|
+
description: 'Continuous Integration'
|
|
23
|
+
color: '0052cc'
|
|
24
|
+
|
|
25
|
+
- name: breaking-change
|
|
26
|
+
description: 'Introduces a breaking change'
|
|
27
|
+
color: 'b60205'
|
|
28
|
+
|
|
29
|
+
- name: dependencies
|
|
30
|
+
description: 'Add or update a dependency file'
|
|
31
|
+
color: '0e8a16'
|
|
32
|
+
|
|
33
|
+
- name: duplicate
|
|
34
|
+
description: 'This issue or pull request already exists'
|
|
35
|
+
color: 'cfd3d7'
|
|
36
|
+
|
|
37
|
+
- name: question
|
|
38
|
+
description: 'Further information is requested'
|
|
39
|
+
color: 'd876e3'
|
|
40
|
+
|
|
41
|
+
- name: wontfix
|
|
42
|
+
description: 'This will not be worked on'
|
|
43
|
+
color: 'ffffff'
|
|
44
|
+
|
|
45
|
+
- name: removal
|
|
46
|
+
description: 'Removal or deprecation'
|
|
47
|
+
color: '9ae7ea'
|
|
48
|
+
|
|
49
|
+
- name: good first issue
|
|
50
|
+
description: 'Good for newcomers'
|
|
51
|
+
color: '7057ff'
|
|
52
|
+
|
|
53
|
+
- name: help wanted
|
|
54
|
+
description: 'Extra attention is needed'
|
|
55
|
+
color: '008672'
|
|
56
|
+
|
|
57
|
+
- name: performance
|
|
58
|
+
description: 'Improves performance'
|
|
59
|
+
color: 'f9d0c4'
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
pull_request:
|
|
8
|
+
branches:
|
|
9
|
+
- main
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
quality-checks-and-test:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
strategy:
|
|
15
|
+
matrix:
|
|
16
|
+
python-version: ["3.10", "3.11", "3.12", "3.13"]
|
|
17
|
+
fail-fast: false
|
|
18
|
+
defaults:
|
|
19
|
+
run:
|
|
20
|
+
shell: bash
|
|
21
|
+
steps:
|
|
22
|
+
- name: Check out
|
|
23
|
+
uses: actions/checkout@v4
|
|
24
|
+
|
|
25
|
+
- name: Set up the environment
|
|
26
|
+
uses: ./.github/actions/setup-python-env
|
|
27
|
+
with:
|
|
28
|
+
python-version: ${{ matrix.python-version }}
|
|
29
|
+
|
|
30
|
+
- name: Run quality checks
|
|
31
|
+
run: make check
|
|
32
|
+
|
|
33
|
+
- name: Run unit and integration tests
|
|
34
|
+
run: make test
|
|
35
|
+
|
|
36
|
+
- name: Generate docs
|
|
37
|
+
if: ${{ matrix.python-version == '3.13' }}
|
|
38
|
+
run: make docs
|
|
39
|
+
|
|
40
|
+
# Ensures documentation is always up to date.
|
|
41
|
+
# The check fails if `make docs` was not run or if generated docs differ
|
|
42
|
+
# from committed files.
|
|
43
|
+
# The diff check excludes metadata (+++, ---) lines.
|
|
44
|
+
- name: Check for meaningful docs changes
|
|
45
|
+
if: ${{ matrix.python-version == '3.13' }}
|
|
46
|
+
run: |
|
|
47
|
+
if git diff -U0 docs/reference \
|
|
48
|
+
| grep -E '^[+-]' \
|
|
49
|
+
| grep -vE '^(---|\+\+\+)' \
|
|
50
|
+
| grep -q .; then
|
|
51
|
+
echo "❌ Meaningful docs changes detected"
|
|
52
|
+
exit 1
|
|
53
|
+
else
|
|
54
|
+
echo "✅ No meaningful docs changes"
|
|
55
|
+
fi
|
|
56
|
+
|
|
57
|
+
release:
|
|
58
|
+
needs: quality-checks-and-test
|
|
59
|
+
runs-on: ubuntu-latest
|
|
60
|
+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
|
|
61
|
+
|
|
62
|
+
# Release job needs higher permissions than the test job
|
|
63
|
+
permissions:
|
|
64
|
+
contents: write # create tags & GitHub releases
|
|
65
|
+
pull-requests: write # open/update Release PR
|
|
66
|
+
id-token: write # OIDC for PyPI Trusted Publishing
|
|
67
|
+
|
|
68
|
+
steps:
|
|
69
|
+
- name: Checkout
|
|
70
|
+
uses: actions/checkout@v4
|
|
71
|
+
with:
|
|
72
|
+
fetch-depth: 0 # full history & tags help Release Please
|
|
73
|
+
|
|
74
|
+
- name: Release Please
|
|
75
|
+
id: release
|
|
76
|
+
uses: googleapis/release-please-action@v4
|
|
77
|
+
with:
|
|
78
|
+
config-file: 'release-please-config.json'
|
|
79
|
+
manifest-file: '.release-please-manifest.json'
|
|
80
|
+
|
|
81
|
+
- name: Set up the python environment
|
|
82
|
+
if: steps.release.outputs.release_created == 'true'
|
|
83
|
+
uses: ./.github/actions/setup-python-env
|
|
84
|
+
|
|
85
|
+
- name: Build package
|
|
86
|
+
if: steps.release.outputs.release_created == 'true'
|
|
87
|
+
run: |
|
|
88
|
+
make build
|
|
89
|
+
|
|
90
|
+
# Publish to PyPI via Trusted Publishing (no API token needed)
|
|
91
|
+
- name: Publish to PyPI
|
|
92
|
+
if: steps.release.outputs.release_created == 'true'
|
|
93
|
+
run: uv publish
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Labeler
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
paths:
|
|
7
|
+
- '.github/labels.yml'
|
|
8
|
+
- '.github/workflows/labeler.yml'
|
|
9
|
+
jobs:
|
|
10
|
+
labeler:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
permissions:
|
|
13
|
+
contents: read
|
|
14
|
+
issues: write
|
|
15
|
+
steps:
|
|
16
|
+
- name: Checkout
|
|
17
|
+
uses: actions/checkout@v4
|
|
18
|
+
- name: Run labeler
|
|
19
|
+
uses: crazy-max/ghaction-github-labeler@v5
|
|
20
|
+
with:
|
|
21
|
+
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
22
|
+
yaml-file: .github/labels.yml
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Byte-compiled / optimized / DLL files
|
|
2
|
+
__pycache__/
|
|
3
|
+
|
|
4
|
+
# Distribution / packaging
|
|
5
|
+
.Python
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
|
|
9
|
+
# Unit test / coverage reports
|
|
10
|
+
htmlcov
|
|
11
|
+
.coverage
|
|
12
|
+
coverage.xml
|
|
13
|
+
.pytest_cache/
|
|
14
|
+
|
|
15
|
+
# pyenv
|
|
16
|
+
.python-version
|
|
17
|
+
|
|
18
|
+
# Environments
|
|
19
|
+
.venv
|
|
20
|
+
|
|
21
|
+
# mypy
|
|
22
|
+
.mypy_cache/
|
|
23
|
+
|
|
24
|
+
# Visual Studio Code
|
|
25
|
+
.vscode/
|
|
26
|
+
|
|
27
|
+
# Ruff stuff:
|
|
28
|
+
.ruff_cache/
|
|
29
|
+
|
|
30
|
+
# Sphinx build cache (doctrees)
|
|
31
|
+
sphinx/doctrees/
|
|
32
|
+
|
|
33
|
+
# Ignore autogenerated RST files from sphinx-apidoc
|
|
34
|
+
sphinx/wriftai.*.rst
|
|
35
|
+
sphinx/wriftai.rst
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [0.13.0](https://github.com/wriftai/wriftai-python/compare/v0.12.0...v0.13.0) (2025-12-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* Combined model owner and name into one parameter. ([#147](https://github.com/wriftai/wriftai-python/issues/147)) ([2bc7d6a](https://github.com/wriftai/wriftai-python/commit/2bc7d6ac77825ea78499e843e7d98900db2e420f))
|
|
9
|
+
|
|
10
|
+
## [0.12.0](https://github.com/wriftai/wriftai-python/compare/v0.11.0...v0.12.0) (2025-12-02)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* Added sorting direction for listing models and users. ([#145](https://github.com/wriftai/wriftai-python/issues/145)) ([5d214f6](https://github.com/wriftai/wriftai-python/commit/5d214f6e4b1f1bb3127de29c2c938ffd102bdc55))
|
|
16
|
+
|
|
17
|
+
## [0.11.0](https://github.com/wriftai/wriftai-python/compare/v0.10.0...v0.11.0) (2025-11-25)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* Update README.md, fix integration test imports and change init module frontmatter in docs. ([#141](https://github.com/wriftai/wriftai-python/issues/141)) ([14899c0](https://github.com/wriftai/wriftai-python/commit/14899c0bb50809ef8ff7b849ab49b04c85c6baa3))
|
|
23
|
+
|
|
24
|
+
## [0.10.0](https://github.com/wriftai/wriftai-python/compare/v0.9.0...v0.10.0) (2025-11-21)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Features
|
|
28
|
+
|
|
29
|
+
* Added on_poll callback in WaitOptions. ([#129](https://github.com/wriftai/wriftai-python/issues/129)) ([314aad3](https://github.com/wriftai/wriftai-python/commit/314aad38dca99743e4464f98303e7c787f5e5f18))
|
|
30
|
+
|
|
31
|
+
## [0.9.0](https://github.com/wriftai/wriftai-python/compare/v0.8.0...v0.9.0) (2025-11-21)
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
* Added slug in hardware resource. ([#134](https://github.com/wriftai/wriftai-python/issues/134)) ([1ddb577](https://github.com/wriftai/wriftai-python/commit/1ddb5770e479f1dedcd2dce27dcdaf401d246f30))
|
|
37
|
+
* Replaced hardware name with identifier for models. ([#136](https://github.com/wriftai/wriftai-python/issues/136)) ([837f1f8](https://github.com/wriftai/wriftai-python/commit/837f1f8f980e80a3ba8ed5c4fd65ebca2d72f18a))
|
|
38
|
+
|
|
39
|
+
## [0.8.0](https://github.com/wriftai/wriftai-python/compare/v0.7.0...v0.8.0) (2025-11-13)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
### Features
|
|
43
|
+
|
|
44
|
+
* Added more sorting options for listing models and users. ([#124](https://github.com/wriftai/wriftai-python/issues/124)) ([47a6455](https://github.com/wriftai/wriftai-python/commit/47a6455dee8b57f9257d89906c71af4c42e43095))
|
|
45
|
+
|
|
46
|
+
## [0.7.0](https://github.com/wriftai/wriftai-python/compare/v0.6.1...v0.7.0) (2025-11-12)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
* Add automated documentation ([#110](https://github.com/wriftai/wriftai-python/issues/110)) ([51012cf](https://github.com/wriftai/wriftai-python/commit/51012cf6e8b30851a6672327dad3716f4f4d4f2f))
|
|
52
|
+
|
|
53
|
+
## [0.6.1](https://github.com/wriftai/wriftai-python/compare/v0.6.0...v0.6.1) (2025-11-07)
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
### Bug Fixes
|
|
57
|
+
|
|
58
|
+
* Updated metadata in pyproject.toml ([#114](https://github.com/wriftai/wriftai-python/issues/114)) ([3c79429](https://github.com/wriftai/wriftai-python/commit/3c79429697d8346d40bc870eb2b9d6bcc5da19bd))
|
|
59
|
+
|
|
60
|
+
## [0.6.0](https://github.com/wriftai/wriftai-python/compare/v0.5.0...v0.6.0) (2025-11-07)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Features
|
|
64
|
+
|
|
65
|
+
* Updated wait method to take prediction id. ([#120](https://github.com/wriftai/wriftai-python/issues/120)) ([1b1461a](https://github.com/wriftai/wriftai-python/commit/1b1461a35beb9403c7abc85951aa5674005d8207))
|
|
66
|
+
|
|
67
|
+
## [0.5.0](https://github.com/wriftai/wriftai-python/compare/v0.4.0...v0.5.0) (2025-10-17)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Features
|
|
71
|
+
|
|
72
|
+
* Updated Prediction's create method to support waiting. ([#100](https://github.com/wriftai/wriftai-python/issues/100)) ([b862837](https://github.com/wriftai/wriftai-python/commit/b862837fde8aa59783725047a93a8df6f043ccbd))
|
|
73
|
+
|
|
74
|
+
## [0.4.0](https://github.com/wriftai/wriftai-python/compare/v0.3.0...v0.4.0) (2025-10-16)
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
### Features
|
|
78
|
+
|
|
79
|
+
* renamed APIRequestor to API and made it public ([#101](https://github.com/wriftai/wriftai-python/issues/101)) ([a75167a](https://github.com/wriftai/wriftai-python/commit/a75167a9e88545d43e5711533fa7e8de814a2eea))
|
|
80
|
+
|
|
81
|
+
## [0.3.0](https://github.com/wriftai/wriftai-python/compare/v0.2.0...v0.3.0) (2025-10-15)
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
### Features
|
|
85
|
+
|
|
86
|
+
* Removed Unpack and update version create method ([#105](https://github.com/wriftai/wriftai-python/issues/105)) ([356bc31](https://github.com/wriftai/wriftai-python/commit/356bc315f0688eefa5d4bdb98cb9fb03bc988a73))
|
|
87
|
+
|
|
88
|
+
## [0.2.0](https://github.com/wriftai/wriftai-python/compare/v0.1.0...v0.2.0) (2025-10-09)
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
### Features
|
|
92
|
+
|
|
93
|
+
* Updated model's create method ([#98](https://github.com/wriftai/wriftai-python/issues/98)) ([c4c2a01](https://github.com/wriftai/wriftai-python/commit/c4c2a01a8ebc96ab32f4667c28f10ee32d8cc088))
|
|
94
|
+
|
|
95
|
+
## 0.1.0 (2025-10-03)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Features
|
|
99
|
+
|
|
100
|
+
* Add release step in CI and code hygiene. ([#80](https://github.com/wriftai/wriftai-python/issues/80)) ([adb5caf](https://github.com/wriftai/wriftai-python/commit/adb5caf5316d094257b792b2156327f7272f2df5))
|
|
101
|
+
* Add support for listing models by username ([#61](https://github.com/wriftai/wriftai-python/issues/61)) ([bbde584](https://github.com/wriftai/wriftai-python/commit/bbde584983792155db64891def0534e5c11acb82))
|
|
102
|
+
* Added Async client with lazy initialization ([#16](https://github.com/wriftai/wriftai-python/issues/16)) ([b8b6711](https://github.com/wriftai/wriftai-python/commit/b8b67112fa4cefe938960c4d39af99fcacfbb367))
|
|
103
|
+
* Added Authenticated User resource ([#26](https://github.com/wriftai/wriftai-python/issues/26)) ([297ed6c](https://github.com/wriftai/wriftai-python/commit/297ed6c7ed284b9151ebe5e4e2fd0fdc0e41cb4a))
|
|
104
|
+
* Added get model version using sync and async function ([#31](https://github.com/wriftai/wriftai-python/issues/31)) ([9169faf](https://github.com/wriftai/wriftai-python/commit/9169faff78019fd446a464f4f2f95493b5a4cb0e))
|
|
105
|
+
* Added hardware resource with unit and integration tests ([#21](https://github.com/wriftai/wriftai-python/issues/21)) ([c71a0e0](https://github.com/wriftai/wriftai-python/commit/c71a0e0d8ca201db3b4d6db275d5b6dd7185b39d))
|
|
106
|
+
* Added issue and PR templates ([#74](https://github.com/wriftai/wriftai-python/issues/74)) ([89c7581](https://github.com/wriftai/wriftai-python/commit/89c7581e0a0ff79848472648d14e4e79c928ff6f))
|
|
107
|
+
* Added Model resource ([#48](https://github.com/wriftai/wriftai-python/issues/48)) ([a414d75](https://github.com/wriftai/wriftai-python/commit/a414d75de8ed0891ad345dbd75906b3eecfdf977))
|
|
108
|
+
* Added model update functionality ([#68](https://github.com/wriftai/wriftai-python/issues/68)) ([8f147ba](https://github.com/wriftai/wriftai-python/commit/8f147ba63a1998a5328bc0a08c6cae8ba6259103))
|
|
109
|
+
* Added support for creating model. ([#54](https://github.com/wriftai/wriftai-python/issues/54)) ([8571723](https://github.com/wriftai/wriftai-python/commit/8571723640a0eb2c4e963a83a8f8e5bd29aa2bfb))
|
|
110
|
+
* Added support for deleting a model. ([#51](https://github.com/wriftai/wriftai-python/issues/51)) ([158f76a](https://github.com/wriftai/wriftai-python/commit/158f76a52ce153b71af20fa5e0c655ab06165891))
|
|
111
|
+
* Added support for get prediction and integration tests ([#20](https://github.com/wriftai/wriftai-python/issues/20)) ([339f8b7](https://github.com/wriftai/wriftai-python/commit/339f8b79dad3454ccadedff07b775e866c62ae5e))
|
|
112
|
+
* Added support for getting a model. ([#53](https://github.com/wriftai/wriftai-python/issues/53)) ([1b53664](https://github.com/wriftai/wriftai-python/commit/1b536642b207b720b85eb68958e3fd5ce9a00226))
|
|
113
|
+
* Added support for listing model versions ([ba72342](https://github.com/wriftai/wriftai-python/commit/ba72342a66aef4d3b547443cca1d22e29d7cee27))
|
|
114
|
+
* Added support for listing models of authenticated user ([#58](https://github.com/wriftai/wriftai-python/issues/58)) ([13e97ae](https://github.com/wriftai/wriftai-python/commit/13e97aef810a3c8c570823f64d92cfcf48351e4a))
|
|
115
|
+
* Added support for listing models. ([#49](https://github.com/wriftai/wriftai-python/issues/49)) ([b3cb941](https://github.com/wriftai/wriftai-python/commit/b3cb94127cc12efecba997b5d06f641b8ef3ceb0))
|
|
116
|
+
* Added support for listing predictions ([#35](https://github.com/wriftai/wriftai-python/issues/35)) ([89839fb](https://github.com/wriftai/wriftai-python/commit/89839fbea376219ff5755984587754d8239c44ec))
|
|
117
|
+
* Added support for listing users ([#32](https://github.com/wriftai/wriftai-python/issues/32)) ([3fc836b](https://github.com/wriftai/wriftai-python/commit/3fc836bee1b92e7c2ba266c5d5f5804d82a50ae3))
|
|
118
|
+
* Added support for searching models based on query. ([#63](https://github.com/wriftai/wriftai-python/issues/63)) ([5d15dfe](https://github.com/wriftai/wriftai-python/commit/5d15dfe6ddba1fee365449820d65dd2031e41111))
|
|
119
|
+
* Added support for searching users based on query. ([#62](https://github.com/wriftai/wriftai-python/issues/62)) ([1a854d1](https://github.com/wriftai/wriftai-python/commit/1a854d1b99d67da50729980f0b43c34931d34ea5))
|
|
120
|
+
* Added support to create prediction against latest and specific version. ([#60](https://github.com/wriftai/wriftai-python/issues/60)) ([c7eebb7](https://github.com/wriftai/wriftai-python/commit/c7eebb74038765d7afc5a79e21b40f5d36e9fbb5))
|
|
121
|
+
* Added support to make pagination fields optional. ([5a8a061](https://github.com/wriftai/wriftai-python/commit/5a8a061c9c1c0846c52c6e3fe72883292f88fc99))
|
|
122
|
+
* Added sync client with lazy initialization ([#8](https://github.com/wriftai/wriftai-python/issues/8)) ([3bf396c](https://github.com/wriftai/wriftai-python/commit/3bf396ce4f62301c078e86e057510230cc83af47))
|
|
123
|
+
* Added User resource ([#22](https://github.com/wriftai/wriftai-python/issues/22)) ([76eded4](https://github.com/wriftai/wriftai-python/commit/76eded46a91f118cc8ad4fe51369478097c4d3aa))
|
|
124
|
+
* Added wait and async_wait methods to Predictions resource ([#73](https://github.com/wriftai/wriftai-python/issues/73)) ([73468a0](https://github.com/wriftai/wriftai-python/commit/73468a0db34c95cc49fec4041cbd91a073846782))
|
|
125
|
+
* Update authenticated users ([#69](https://github.com/wriftai/wriftai-python/issues/69)) ([649d1b7](https://github.com/wriftai/wriftai-python/commit/649d1b7144d90072790efb3a86a01f5f92148858))
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
|
2
|
+
|
|
3
|
+
## Our Pledge
|
|
4
|
+
|
|
5
|
+
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
+
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
+
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
+
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
+
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
+
identity and orientation.
|
|
11
|
+
|
|
12
|
+
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
+
diverse, inclusive, and healthy community.
|
|
14
|
+
|
|
15
|
+
## Our Standards
|
|
16
|
+
|
|
17
|
+
Examples of behavior that contributes to a positive environment for our
|
|
18
|
+
community include:
|
|
19
|
+
|
|
20
|
+
- Demonstrating empathy and kindness toward other people
|
|
21
|
+
- Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
+
- Giving and gracefully accepting constructive feedback
|
|
23
|
+
- Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
+
and learning from the experience
|
|
25
|
+
- Focusing on what is best not just for us as individuals, but for the overall
|
|
26
|
+
community
|
|
27
|
+
|
|
28
|
+
Examples of unacceptable behavior include:
|
|
29
|
+
|
|
30
|
+
- The use of sexualized language or imagery, and sexual attention or advances of
|
|
31
|
+
any kind
|
|
32
|
+
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
+
- Public or private harassment
|
|
34
|
+
- Publishing others' private information, such as a physical or email address,
|
|
35
|
+
without their explicit permission
|
|
36
|
+
- Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
+
professional setting
|
|
38
|
+
|
|
39
|
+
## Enforcement Responsibilities
|
|
40
|
+
|
|
41
|
+
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
+
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
+
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
+
or harmful.
|
|
45
|
+
|
|
46
|
+
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
+
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
+
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
+
decisions when appropriate.
|
|
50
|
+
|
|
51
|
+
## Scope
|
|
52
|
+
|
|
53
|
+
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
+
an individual is officially representing the community in public spaces.
|
|
55
|
+
Examples of representing our community include using an official e-mail address,
|
|
56
|
+
posting via an official social media account, or acting as an appointed
|
|
57
|
+
representative at an online or offline event.
|
|
58
|
+
|
|
59
|
+
## Enforcement
|
|
60
|
+
|
|
61
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
+
reported to the community leaders responsible for enforcement at
|
|
63
|
+
[wriftai@sych.io](mailto:wriftai@sych.io).
|
|
64
|
+
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
+
|
|
66
|
+
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
+
reporter of any incident.
|
|
68
|
+
|
|
69
|
+
## Enforcement Guidelines
|
|
70
|
+
|
|
71
|
+
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
+
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
+
|
|
74
|
+
### 1. Correction
|
|
75
|
+
|
|
76
|
+
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
+
unprofessional or unwelcome in the community.
|
|
78
|
+
|
|
79
|
+
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
+
clarity around the nature of the violation and an explanation of why the
|
|
81
|
+
behavior was inappropriate. A public apology may be requested.
|
|
82
|
+
|
|
83
|
+
### 2. Warning
|
|
84
|
+
|
|
85
|
+
**Community Impact**: A violation through a single incident or series of
|
|
86
|
+
actions.
|
|
87
|
+
|
|
88
|
+
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
+
interaction with the people involved, including unsolicited interaction with
|
|
90
|
+
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
+
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
+
like social media. Violating these terms may lead to a temporary or permanent
|
|
93
|
+
ban.
|
|
94
|
+
|
|
95
|
+
### 3. Temporary Ban
|
|
96
|
+
|
|
97
|
+
**Community Impact**: A serious violation of community standards, including
|
|
98
|
+
sustained inappropriate behavior.
|
|
99
|
+
|
|
100
|
+
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
+
communication with the community for a specified period of time. No public or
|
|
102
|
+
private interaction with the people involved, including unsolicited interaction
|
|
103
|
+
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
+
Violating these terms may lead to a permanent ban.
|
|
105
|
+
|
|
106
|
+
### 4. Permanent Ban
|
|
107
|
+
|
|
108
|
+
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
+
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
+
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
+
|
|
112
|
+
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
113
|
+
community.
|
|
114
|
+
|
|
115
|
+
## Attribution
|
|
116
|
+
|
|
117
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
+
version 2.1, available at
|
|
119
|
+
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
120
|
+
|
|
121
|
+
Community Impact Guidelines were inspired by
|
|
122
|
+
[Mozilla's code of conduct enforcement ladder][mozilla coc].
|
|
123
|
+
|
|
124
|
+
For answers to common questions about this code of conduct, see the FAQ at
|
|
125
|
+
[https://www.contributor-covenant.org/faq][faq]. Translations are available at
|
|
126
|
+
[https://www.contributor-covenant.org/translations][translations].
|
|
127
|
+
|
|
128
|
+
[homepage]: https://www.contributor-covenant.org
|
|
129
|
+
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
130
|
+
[mozilla coc]: https://github.com/mozilla/diversity
|
|
131
|
+
[faq]: https://www.contributor-covenant.org/faq
|
|
132
|
+
[translations]: https://www.contributor-covenant.org/translations
|