Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
112 commits
Select commit Hold shift + click to select a range
597b730
Update demo SDK version
davidgrayston Nov 16, 2020
412820e
Bump minor version
davidgrayston Nov 16, 2020
d4eebfb
Merge pull request #273 from getyoti/master-1.14.0
davidgrayston Nov 16, 2020
4102733
SDK-1825: Add support for custom privacy policy URL
davidgrayston Nov 12, 2020
85b0cc8
Bump protobuf from 3.13.0 to 3.14.0
dependabot[bot] Nov 16, 2020
24471eb
Merge pull request #276 from getyoti/master
echarrod Dec 1, 2020
f41f583
Bump cffi from 1.14.3 to 1.14.4
dependabot[bot] Dec 1, 2020
5468a72
Bump virtualenv from 20.1.0 to 20.2.1
dependabot[bot] Dec 1, 2020
7f8b1ed
Merge pull request #288 from getyoti/master
echarrod Mar 17, 2021
219b410
Bump virtualenv from 20.2.1 to 20.4.3
dependabot[bot] Mar 17, 2021
2a51312
Bump pytz from 2020.4 to 2021.1
dependabot[bot] Mar 17, 2021
7e04b10
Bump iso8601 from 0.1.13 to 0.1.14
dependabot[bot] Mar 17, 2021
fac56f2
Bump deprecated from 1.2.10 to 1.2.12
dependabot[bot] Mar 17, 2021
cb493e9
Bump protobuf from 3.14.0 to 3.15.8
dependabot[bot] Apr 13, 2021
9d7b92b
Bump cffi from 1.14.4 to 1.14.5
dependabot[bot] Apr 15, 2021
9b27c92
Bump protobuf from 3.15.8 to 3.17.1
dependabot[bot] Jun 1, 2021
ae48f84
Bump werkzeug from 1.0.1 to 2.0.1
dependabot[bot] Jun 1, 2021
1d21b3b
Bump virtualenv from 20.4.3 to 20.4.7
dependabot[bot] Jun 1, 2021
c1d7f9c
Bump protobuf from 3.17.1 to 3.17.3
dependabot[bot] Jul 1, 2021
8ed1890
Merge branch 'master' into development
echarrod Jul 6, 2021
885c7c6
adding myself to dependabot
MichalMilewiczYoti Jul 9, 2021
0691db9
Apply suggestions from code review
echarrod Aug 4, 2021
6cab71f
Bump virtualenv from 20.4.7 to 20.7.2
dependabot[bot] Sep 1, 2021
22907cb
Bump cffi from 1.14.5 to 1.14.6
dependabot[bot] Sep 3, 2021
3edba3f
Bump iso8601 from 0.1.14 to 0.1.16
dependabot[bot] Sep 24, 2021
afedb39
Bump virtualenv from 20.7.2 to 20.8.1
dependabot[bot] Oct 1, 2021
7950d4b
Bump deprecated from 1.2.12 to 1.2.13
dependabot[bot] Oct 1, 2021
c0bfbdb
Update supported Python versions: add later versions and remove 2.7
echarrod Oct 21, 2021
91bb167
Update pre-commit, use specific versions rather than floating branch
echarrod Oct 21, 2021
aa9e162
Remove travis, update references to point to Github workflow
echarrod Oct 21, 2021
2335e35
Update itsdangerous after incompatibility
echarrod Oct 21, 2021
6bd37fd
Fix pre-commit violations
echarrod Oct 21, 2021
818e073
Use Python 3.9 for examples, install distutils
echarrod Oct 21, 2021
bf7d59c
Bump protobuf from 3.17.3 to 3.19.0
dependabot[bot] Oct 21, 2021
a0887d8
Bump werkzeug from 2.0.1 to 2.0.2
dependabot[bot] Nov 1, 2021
767a8ad
Bump pytz from 2021.1 to 2021.3
dependabot[bot] Nov 1, 2021
fcf93bb
Bump protobuf from 3.19.0 to 3.19.1
dependabot[bot] Nov 1, 2021
1a7a0a0
Bump cffi from 1.14.6 to 1.15.0
dependabot[bot] Nov 1, 2021
c8562d7
[SDK-1998] adding handoff flag
MichalMilewiczYoti Oct 29, 2021
2f88484
[SDK-1998] code review fixies
MichalMilewiczYoti Nov 5, 2021
3838647
fixing test
MichalMilewiczYoti Nov 5, 2021
172b07d
Merge pull request #332 from getyoti/feature/handoff_flag
MichalMilewiczYoti Nov 5, 2021
d2d159d
Bump virtualenv from 20.8.1 to 20.10.0
dependabot[bot] Nov 1, 2021
07bb943
[SDK-2004] Add support for issuing authority sub check
MichalMilewiczYoti Nov 30, 2021
e3e31e9
Bump iso8601 from 0.1.16 to 1.0.2
dependabot[bot] Dec 1, 2021
5d46ab8
changes after CR
MichalMilewiczYoti Dec 1, 2021
8ca2f92
[SDK-1980] Add support for Session Deadline
MichalMilewiczYoti Dec 8, 2021
c5b6065
Merge pull request #344 from getyoti/feat/session_deadline
MichalMilewiczYoti Dec 17, 2021
25c3a7e
Merge pull request #341 from getyoti/feat/idv
MichalMilewiczYoti Dec 17, 2021
d408479
SDK-1901 adding WATCHLIST_SCREENING check
MichalMilewiczYoti Aug 30, 2021
e3be90a
Bump virtualenv from 20.10.0 to 20.12.0
dependabot[bot] Jan 1, 2022
0a4fce7
SDK-1838 auth_type for doc_scan session
MichalMilewiczYoti Sep 23, 2021
247b43d
Don't fix version of setuptools for "check examples"
echarrod Jan 12, 2022
81988d7
Revert "Don't fix version of setuptools for "check examples""
echarrod Jan 12, 2022
34acc24
Upgrade "six" package
echarrod Jan 12, 2022
bb391e3
Revert "Install python3.10-distutils"
echarrod Jan 12, 2022
6fe1937
Use actions/setup-python v2.3.1
echarrod Jan 12, 2022
d491b4e
Upgrade pip
echarrod Jan 12, 2022
3983747
Revert "Upgrade pip": already up to date
echarrod Jan 12, 2022
f6617ad
Use Python 3.10.0 until packages have been fixed by maintainers
echarrod Jan 12, 2022
259c1f6
Add 'sudo apt-get install python3-distutils'
echarrod Jan 12, 2022
1ca237c
Revert "Use Python 3.10.0 until packages have been fixed by maintainers"
echarrod Jan 12, 2022
adcce3e
Revert "Add 'sudo apt-get install python3-distutils'"
echarrod Jan 12, 2022
b59ddb7
Use .version instead of distutils (distuils is deprecated)
echarrod Jan 12, 2022
a00399f
Update packages: `future` causing a problem:
echarrod Jan 12, 2022
7e1dbec
Use requirements.in for aml example: need to fix the future version (…
echarrod Jan 12, 2022
829b5a5
Update wheel package
echarrod Jan 12, 2022
052066d
Add wheel to setup.py
echarrod Jan 12, 2022
af033f0
pip install wheel
echarrod Jan 12, 2022
7bffc05
Update django
echarrod Jan 12, 2022
c4cd552
Remove django check (for now)
echarrod Jan 12, 2022
d685ba9
Remove doc_scan check: problem with cffi & Python 3.10
echarrod Jan 12, 2022
b269b24
Update requirements.txt
echarrod Jan 12, 2022
fad2ce8
SDK-2027: adding non-latin support for session and supported documents
MichalMilewiczYoti Jan 18, 2022
9af34b3
Merge pull request #347 from getyoti/feat/non_latin_documents
MichalMilewiczYoti Jan 21, 2022
20c7c02
Merge pull request #321 from getyoti/feature/watchlist
MichalMilewiczYoti Jan 25, 2022
11224fc
Merge pull request #324 from getyoti/feature/extend_auth_type
MichalMilewiczYoti Jan 25, 2022
4c73bce
Update dependabot assignees
echarrod Jan 28, 2022
88f1461
Revert adding of strictly_latin to source constraints builder
echarrod Jan 28, 2022
5ba6408
Reinstate missing Github actions linting step
echarrod Jan 28, 2022
4c0658b
Update "check examples" steps
echarrod Jan 28, 2022
39e323d
&& pip install --upgrade pip
echarrod Jan 28, 2022
99d7650
Run on Python 3.9
echarrod Jan 28, 2022
0298997
Update jinja package (from Flask)
echarrod Jan 28, 2022
66a167c
Remove tests after removing associated code
echarrod Jan 28, 2022
9b2eff2
Bump pytz from 2021.1 to 2021.3
dependabot[bot] Feb 1, 2022
2daf3fc
Bump virtualenv from 20.12.0 to 20.13.0
dependabot[bot] Feb 1, 2022
8e89f01
Merge release/2.15.0 -> development
echarrod Feb 24, 2022
3094dd4
Bump protobuf from 3.19.3 to 3.19.4
dependabot[bot] Feb 24, 2022
cbfe2ef
Merge branch 'master' into development
echarrod Jun 21, 2022
a31e020
Bump pip-tools from 6.4.0 to 6.6.2
dependabot[bot] Jun 21, 2022
4af030a
Bump virtualenv from 20.13.0 to 20.14.1
dependabot[bot] Jun 21, 2022
2b697ec
Bump werkzeug from 2.0.2 to 2.1.2
dependabot[bot] Jun 21, 2022
64083ed
Merge branch 'master' into development
echarrod Jun 27, 2022
3fbf9c1
Bump virtualenv from 20.14.1 to 20.15.1
dependabot[bot] Jul 1, 2022
0441863
Merge pull request #417 from getyoti/python-library-updates
mehmet-yoti Jun 30, 2025
d1d8e58
added python static liveness check (#425)
mehmet-yoti Dec 1, 2025
4771d55
Merge master into development (#457)
mehmet-yoti Jun 11, 2026
587c6c6
Sdk 2758 python add support for requesting and retrieving share code …
mehmet-yoti Jun 11, 2026
ee00876
SDK-2792: Python - Add support for retrieving the extraction_image_id…
mehmet-yoti Jun 11, 2026
b666261
SDK-2781: Python - Add support for new capture_type property on Stati…
mehmet-yoti Jun 11, 2026
492e8b3
SDK-2614: Python - Support configuration for IDV shortened flow - pyt…
mehmet-yoti Jun 11, 2026
5d8b4a9
SDK-2473: Python - IDV Support Brand ID in session config - python (#…
mehmet-yoti Jun 11, 2026
f5c8fe4
SDK-2743-python-expose-idv-breakdown-process-property (#453)
mehmet-yoti Jun 11, 2026
a8d2e0f
SDK-2792-python-add-support-for-retrieving-the-extraction-image-ids-f…
mehmet-yoti Jun 11, 2026
aa55696
Sdk 2803 python upgrade dependencies to address security cv es core s…
mehmet-yoti Jun 11, 2026
d4c1e28
Merge development into release/2.14.6
mehmet-yoti Jun 11, 2026
2d79d35
update sonarqube problems
mehmet-yoti Jun 12, 2026
b29e7b7
Fix YAML parse error in CI workflow caused by --only-binary :all:
mehmet-yoti Jun 12, 2026
e0dcfe2
Fix remaining SonarQube findings and backports.zoneinfo CI failure
mehmet-yoti Jun 12, 2026
6867c7c
Revert SonarQube workflow changes that broke CI builds
mehmet-yoti Jun 12, 2026
37349ee
Suppress SonarQube pip security findings with NOSONAR comments
mehmet-yoti Jun 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- run: pip install -U setuptools
- run: pip install -U setuptools # NOSONAR

- run: pip install -r requirements.txt
- run: pip install -r requirements.txt # NOSONAR

- run: pip install -e .[dev]
- run: pip install -e .[dev] # NOSONAR

- run: pytest -v

Expand All @@ -36,14 +36,17 @@ jobs:
with:
python-version: 3.9

- run: pip install --upgrade setuptools
- run: pip install --upgrade setuptools # NOSONAR

- run: pip install -e .
- run: pip install -e . # NOSONAR

- run: pushd examples/aml && pip install -r requirements.txt && popd
- run: pushd examples/aml && pip install -r requirements.txt && popd # NOSONAR

- run: pushd examples/yoti_example_django && pip install --upgrade pip && pip install -r requirements.txt && popd
- run: pushd examples/yoti_example_django && pip install --upgrade pip && pip install -r requirements.txt && popd # NOSONAR

- run: pushd examples/yoti_example_flask && pip install -r requirements.txt && popd
# Reinstall local SDK after AML/Django, which pin yoti==2.14.0 from PyPI and override it
- run: pip install -e . # NOSONAR

- run: pushd examples/doc_scan && pip install -r requirements.txt && popd
- run: pushd examples/yoti_example_flask && pip install -r requirements.txt && popd # NOSONAR

- run: pushd examples/doc_scan && pip install -r requirements.txt && popd # NOSONAR
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,4 @@ examples/yoti_example_flask/*.pem

.scannerwork
.venv/
.claude/
1 change: 1 addition & 0 deletions examples/aml/requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
yoti>=2.14.0
protobuf<6
python-dotenv>=0.7.1
54 changes: 28 additions & 26 deletions examples/aml/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,46 +1,48 @@
#
# This file is autogenerated by pip-compile with python 3.10
# To update, run:
# This file is autogenerated by pip-compile with Python 3.9
# by the following command:
#
# pip-compile --output-file=requirements.txt requirements.in
# pip-compile --output-file=examples/aml/requirements.txt examples/aml/requirements.in
#
asn1==2.2.0
# via yoti
certifi==2021.10.8
certifi==2026.4.22
# via requests
cffi==1.15.0
cffi==2.0.0
# via cryptography
charset-normalizer==2.0.10
charset-normalizer==3.4.7
# via requests
cryptography==36.0.1
cryptography==48.0.0
# via
# pyopenssl
# yoti
deprecated==1.2.10
deprecated==1.3.1
# via yoti
future==0.18.2
# via yoti
idna==3.3
idna==3.15
# via requests
iso8601==0.1.13
# via yoti
protobuf==3.19.3
iso8601==2.1.0
# via yoti
pycparser==2.21
protobuf==5.29.6
# via
# -r examples/aml/requirements.in
# yoti
pycparser==2.23
# via cffi
pyopenssl==21.0.0
pyopenssl==26.2.0
# via yoti
python-dotenv==0.19.2
# via -r requirements.in
pytz==2020.4
python-dotenv==1.2.1
# via -r examples/aml/requirements.in
pytz==2026.2
# via yoti
requests==2.27.1
requests==2.32.5
# via yoti
six==1.16.0
# via pyopenssl
urllib3==1.26.8
typing-extensions==4.15.0
# via
# cryptography
# pyopenssl
urllib3==2.6.3
# via requests
wrapt==1.13.3
wrapt==2.1.2
# via deprecated
yoti==2.14.0
# via -r requirements.in
yoti==2.14.5
# via -r examples/aml/requirements.in
13 changes: 0 additions & 13 deletions examples/doc_scan/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,7 @@ pyopenssl>=24.0.0
click>=8.0
future>=1.0.0

# Required for yoti compatibility
deprecated>=1.2.14
iso8601>=1.1.0
pytz>=2025.2ements
flask>=2.2.0
python-dotenv>=0.21.0
yoti>=2.14.0
filetype>=1.0.7
pyopenssl>=24.0.0
click>=8.0
future>=1.0.0

# Required for yoti compatibility
deprecated>=1.2.14
iso8601>=1.1.0
pytz>=2025.2

13 changes: 6 additions & 7 deletions examples/doc_scan/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
# This file is autogenerated by pip-compile with Python 3.12
# by the following command:
# This file was generated by pip-compile and has been updated to reflect
# the SDK's install_requires constraints (>=). To fully regenerate, run:
#
# pip-compile --output-file=requirements.txt requirements.in
#
asn1==2.2.0
# via yoti
# via yoti (installed separately)

blinker==1.9.0
# via flask
Expand All @@ -19,8 +19,7 @@ click==8.1.8
# via
# -r requirements.in
# flask
cryptography==41.0.7

cryptography>=42.0.0
# via
# pyopenssl
# yoti
Expand Down Expand Up @@ -52,7 +51,7 @@ markupsafe==3.0.2
# werkzeug

protobuf==4.21.12
# via yoti
# via yoti (installed separately)
pycparser==2.22
# via cffi
pyopenssl>=24.0.0
Expand All @@ -66,7 +65,7 @@ pytz>=2025.2
# -r requirements.in
# yoti
requests>=2.31.0
# via yoti
# via yoti (installed separately)
six>=1.16.0
# via protobuf
urllib3==1.25.9
Expand Down
9 changes: 4 additions & 5 deletions examples/yoti_example_django/requirements.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
django>=4.0.1
django>=4.2,<5.3
django-sslserver>=0.22.0
python-dotenv>=0.7.1
requests>=2.20.0
urllib3>=1.24.2
requests>=2.32.4
urllib3>=2.6.3
yoti>=2.14.0
six>=1.16.0
cffi>=1.15.0
cffi>=1.17.1
3 changes: 0 additions & 3 deletions examples/yoti_example_django/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,3 @@ wrapt==1.12.1
# via deprecated
yoti==2.14.0
# via -r requirements.in

# The following packages are considered to be unsafe in a requirements file:
# setuptools
2 changes: 2 additions & 0 deletions examples/yoti_example_django/yoti_example/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@
}
}

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"

# Password validation
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators

Expand Down
14 changes: 7 additions & 7 deletions examples/yoti_example_flask/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file was generated by pip-compile and has been updated to reflect
# the SDK's install_requires constraints (>=). To fully regenerate, run:
#
# pip-compile --output-file=requirements.txt requirements.in
#
asn1==2.2.0
# via yoti
# via yoti (installed separately)
certifi==2018.4.16
# via requests
cffi==1.15.0
Expand All @@ -23,7 +23,7 @@ cryptography>=42.0.0
# pyopenssl
# yoti
deprecated==1.2.18
# via yoti
# via yoti (installed separately)
flask==1.1.1
# via -r requirements.in
future==1.0.0
Expand All @@ -33,7 +33,7 @@ future==1.0.0
idna==2.7
# via requests
iso8601>=1.1.0
# via yoti
# via yoti (installed separately)
itsdangerous==1.1.0
# via flask
jinja2==3.0.3
Expand All @@ -43,7 +43,7 @@ jinja2==3.0.3
markupsafe==2.0.1
# via jinja2
protobuf==4.21.12
# via yoti
# via yoti (installed separately)
pycparser==2.18
# via cffi
pyopenssl>=24.0.0
Expand All @@ -53,7 +53,7 @@ pyopenssl>=24.0.0
python-dotenv>=0.7.1
# via -r requirements.in
pytz>=2025.2
# via yoti
# via yoti (installed separately)
requests>=2.31.0
# via
# -r requirements.in
Expand Down
2 changes: 1 addition & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

asn1==2.2.0
cryptography>=41.0.7
cryptography>=42.0.0
cffi>=1.16.0
future>=0.18.3
itsdangerous>=2.1.2
Expand Down
15 changes: 8 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,23 @@


"asn1==2.2.0", # still pinned due to enum34 issue
"cryptography>=42.0.0",
"protobuf>=4.21.12",
"requests>=2.31.0",
"pyopenssl>=24.0.0",
"cryptography>=44.0.1",
"protobuf>=4.25.8,<6",
"requests>=2.32.4",
"urllib3>=2.6.3",
"pyopenssl>=26.0.0",
"pytz>=2025.2",
"iso8601>=1.1.0",
"deprecated>=1.2.14",

],
extras_require={
"examples": [
"Django>=3.0.7",
"Flask>=1.0.4",
"Django>=4.2,<5.3",
"Flask>=3.0.6",
"python-dotenv>=0.7.1",
"django-sslserver>=0.22.0",
"Werkzeug==2.1.2",
"Werkzeug>=3.0.6",
],
"dev": [
"pre-commit==2.16.0",
Expand Down
9 changes: 9 additions & 0 deletions yoti_python_sdk/doc_scan/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
SUPPLEMENTARY_DOCUMENT_TEXT_DATA_EXTRACTION = (
"SUPPLEMENTARY_DOCUMENT_TEXT_DATA_EXTRACTION"
)
VERIFY_SHARE_CODE_TASK = "VERIFY_SHARE_CODE_TASK"

CAMERA = "CAMERA"
CAMERA_AND_UPLOAD = "CAMERA_AND_UPLOAD"
Expand All @@ -39,3 +40,11 @@
PROOF_OF_ADDRESS = "PROOF_OF_ADDRESS"

WATCHLIST_SCREENING_CHECK_TYPE = "WATCHLIST_SCREENING"

ID_DOCUMENT_EDUCATION = "ID_DOCUMENT_EDUCATION"
ID_DOCUMENT_REQUIREMENTS = "ID_DOCUMENT_REQUIREMENTS"
SUPPLEMENTARY_DOCUMENT_EDUCATION = "SUPPLEMENTARY_DOCUMENT_EDUCATION"
ZOOM_LIVENESS_EDUCATION = "ZOOM_LIVENESS_EDUCATION"
STATIC_LIVENESS_EDUCATION = "STATIC_LIVENESS_EDUCATION"
FACE_CAPTURE_EDUCATION = "FACE_CAPTURE_EDUCATION"
FLOW_COMPLETION = "FLOW_COMPLETION"
Loading
Loading