Skip to content

Commit

Permalink
Merge pull request #54 from regulaforensics/86e97fb7
Browse files Browse the repository at this point in the history
update-clients
  • Loading branch information
dangost authored Feb 7, 2023
2 parents 182f658 + cd1a7ef commit 82155b9
Show file tree
Hide file tree
Showing 10 changed files with 647 additions and 251 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pypi-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: pipenv install --dev
- name: Publish package
run: |
pipenv run pipenv-setup sync
pipenv run pipenv sync
pipenv run python setup.py sdist bdist_wheel
pipenv run twine upload -u __token__ -p ${{secrets.PYPI_PUBLISH_TOKEN}} dist/*
env:
Expand Down
1 change: 1 addition & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ regula/facesdk/__init__.py
regula/facesdk/webclient/gen/__init__.py
regula/facesdk/webclient/gen/api/__init__.py
regula/facesdk/webclient/gen/api/group_api.py
regula/facesdk/webclient/gen/api/liveness_api.py
regula/facesdk/webclient/gen/api/matching_api.py
regula/facesdk/webclient/gen/api/person_api.py
regula/facesdk/webclient/gen/api/search_api.py
Expand Down
7 changes: 5 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ name = "pypi"

[packages]
certifi = "==2022.6.15.1"
future = "*"
six = ">=1.10"
python-dateutil = ">=2.5.3"
urllib3 = ">=1.15.1"
vistir = ">=0.4.0, <=0.6.1"

[dev-packages]
setuptools = ">=21.0.0"
pipenv-setup = "*"
wheel = "*"
twine = "*"
chardet = "*"
chardet = "*"

[requires]
python_version = "3.8"
440 changes: 204 additions & 236 deletions Pipfile.lock

Large diffs are not rendered by default.

424 changes: 424 additions & 0 deletions regula/facesdk/webclient/gen/api/liveness_api.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions regula/facesdk/webclient/gen/apis/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

# Import APIs into API package:
from regula.facesdk.webclient.gen.api.group_api import GroupApi
from regula.facesdk.webclient.gen.api.liveness_api import LivenessApi
from regula.facesdk.webclient.gen.api.matching_api import MatchingApi
from regula.facesdk.webclient.gen.api.person_api import PersonApi
from regula.facesdk.webclient.gen.api.search_api import SearchApi
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def limit(self, limit):
def threshold(self):
"""Gets the threshold of this MatchAndSearchRequest. # noqa: E501
The similarity distance threshold. # noqa: E501
The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. # noqa: E501
:return: The threshold of this MatchAndSearchRequest. # noqa: E501
:rtype: float
Expand All @@ -126,7 +126,7 @@ def threshold(self):
def threshold(self, threshold):
"""Sets the threshold of this MatchAndSearchRequest.
The similarity distance threshold. # noqa: E501
The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. # noqa: E501
:param threshold: The threshold of this MatchAndSearchRequest. # noqa: E501
:type threshold: float
Expand Down
4 changes: 2 additions & 2 deletions regula/facesdk/webclient/gen/model/search_parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def limit(self, limit):
def threshold(self):
"""Gets the threshold of this SearchParameters. # noqa: E501
The similarity distance threshold. # noqa: E501
The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. # noqa: E501
:return: The threshold of this SearchParameters. # noqa: E501
:rtype: float
Expand All @@ -100,7 +100,7 @@ def threshold(self):
def threshold(self, threshold):
"""Sets the threshold of this SearchParameters.
The similarity distance threshold. # noqa: E501
The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. # noqa: E501
:param threshold: The threshold of this SearchParameters. # noqa: E501
:type threshold: float
Expand Down
4 changes: 2 additions & 2 deletions regula/facesdk/webclient/gen/model/search_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def limit(self, limit):
def threshold(self):
"""Gets the threshold of this SearchRequest. # noqa: E501
The similarity distance threshold. # noqa: E501
The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. # noqa: E501
:return: The threshold of this SearchRequest. # noqa: E501
:rtype: float
Expand All @@ -105,7 +105,7 @@ def threshold(self):
def threshold(self, threshold):
"""Sets the threshold of this SearchRequest.
The similarity distance threshold. # noqa: E501
The similarity distance threshold, should be between 0.0 and 2.0, where 0.0 is for returning results for only the most similar persons and 2.0 is for all the persons, even the dissimilar ones. If not set, the default 1.0 value is used. # noqa: E501
:param threshold: The threshold of this SearchRequest. # noqa: E501
:type threshold: float
Expand Down
11 changes: 5 additions & 6 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,20 @@

setup(
name="regula.facesdk.webclient",
version=os.getenv("PACKAGE_VERSION_TO_PUBLISH", "unknown"),
version=os.getenv("PACKAGE_VERSION_TO_PUBLISH", "5.1dev"),
python_requires=">=3.5",
description="Regula's FaceSDK web python client",
long_description=long_description,
long_description_content_type="text/markdown",
author="Regula Forensics, Inc.",
author_email="[email protected]",
url="https://mobile.regulaforensics.com",
keywords=["face recognition", "facesdk", "regulaforensics", "regula",],
keywords=["face recognition", "facesdk", "regulaforensics", "regula"],
install_requires=[
"certifi==2022.6.15.1",
"future==0.18.2",
"python-dateutil==2.8.1",
"six==1.15.0",
"urllib3==1.26.5",
"six>=1.10",
"python-dateutil>=2.5.3",
"urllib3>=1.15.1"
],
packages=find_packages(exclude=["test", "tests", "example"]),
include_package_data=True,
Expand Down

0 comments on commit 82155b9

Please sign in to comment.