scanii-python 1.0.0__tar.gz → 1.0.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.
- {scanii_python-1.0.0 → scanii_python-1.0.1}/.github/workflows/pr.yml +2 -2
- {scanii_python-1.0.0 → scanii_python-1.0.1}/.github/workflows/release.yml +2 -2
- {scanii_python-1.0.0 → scanii_python-1.0.1}/CHANGELOG.md +8 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/PKG-INFO +2 -2
- {scanii_python-1.0.0 → scanii_python-1.0.1}/pyproject.toml +1 -1
- scanii_python-1.0.1/src/scanii/_version.py +1 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/tests/test_client_unit.py +3 -1
- scanii_python-1.0.0/src/scanii/_version.py +0 -1
- {scanii_python-1.0.0 → scanii_python-1.0.1}/.gitignore +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/LICENSE +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/README.md +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/src/scanii/__init__.py +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/src/scanii/_multipart.py +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/src/scanii/client.py +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/src/scanii/errors.py +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/src/scanii/models.py +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/src/scanii/py.typed +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/src/scanii/target.py +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/tests/__init__.py +0 -0
- {scanii_python-1.0.0 → scanii_python-1.0.1}/tests/test_client_integration.py +0 -0
|
@@ -14,11 +14,11 @@ jobs:
|
|
|
14
14
|
contents: read
|
|
15
15
|
|
|
16
16
|
steps:
|
|
17
|
-
- uses: actions/checkout@
|
|
17
|
+
- uses: actions/checkout@v7
|
|
18
18
|
with:
|
|
19
19
|
ref: ${{ github.event.release.tag_name }}
|
|
20
20
|
|
|
21
|
-
- uses: actions/setup-python@
|
|
21
|
+
- uses: actions/setup-python@v7
|
|
22
22
|
with:
|
|
23
23
|
python-version: "3.13"
|
|
24
24
|
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1 — 2026-08-15
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Bumped CI actions: `actions/checkout` v4 → v7, `actions/setup-python` v5 → v7.
|
|
8
|
+
(Dev dependencies are unpinned ranges resolved at install time; runtime
|
|
9
|
+
`dependencies` remains empty — the published package is unchanged.)
|
|
10
|
+
|
|
3
11
|
## 1.0.0 — 2026-05-05
|
|
4
12
|
|
|
5
13
|
Initial release. Replaces the unmaintained `scanii.py` skeleton.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: scanii-python
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: Zero-dependency Python SDK for the Scanii content security API
|
|
5
5
|
Project-URL: Homepage, https://scanii.com
|
|
6
6
|
Project-URL: Repository, https://github.com/scanii/scanii-python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "1.0.1"
|
|
@@ -139,8 +139,10 @@ class TestScaniiTarget:
|
|
|
139
139
|
|
|
140
140
|
class TestConstructor:
|
|
141
141
|
def test_key_and_secret_accepted(self):
|
|
142
|
+
from scanii._version import __version__
|
|
143
|
+
|
|
142
144
|
c = _make_client()
|
|
143
|
-
assert c._user_agent == "scanii-python/
|
|
145
|
+
assert c._user_agent == f"scanii-python/{__version__}"
|
|
144
146
|
|
|
145
147
|
def test_token_accepted(self):
|
|
146
148
|
c = ScaniiClient(token="mytoken", target=TARGET)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "1.0.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|