YouFace API: Python SDK & Sample
This repository contains the Python SDK for the YouFace API, an offering within Youverse Services
Getting started
Install the module using pip:
pip install yk_face
Use it:
import yk_face as YKF
KEY = 'subscription key' # Replace with a valid Subscription Key here.
YKF.Key.set(KEY)
BASE_URL = 'YouFace API URL' # Replace with a valid URL for YouFace API.
YKF.BaseUrl.set(BASE_URL)
img_file_path = 'image path' # Replace with a valid image file path here.
detected_faces = YKF.face.process(img_file_path)
print(f'Detected faces: {detected_faces}')
Installing from the source code
python setup.py install
Running the sample
A sample python script is also provided. Please check the sample directory in this repository.
YouFace API Details
For a complete specification of our Face API please check the swagger file.
Contact & Support
For more information and trial licenses please contact us or join us at our discord community.
Metadata
Release files for yk-face 0.3.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yk_face-0.3.6.tar.gz | 8.9 kB | Without provenance | Details for yk_face-0.3.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yk_face-0.3.6-py3-none-any.whl | Python 3 | none | any | Details for yk_face-0.3.6-py3-none-any.whl |
Total release size: 15.6 kB
Release files / yk_face-0.3.6.tar.gz
| Download URL | yk_face-0.3.6.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7905b6928028ac4fecd0f4b6ca057cca178410f25c28d888acf51c37a41bb973
|
|
BLAKE2b-256 checksum How to use checksums |
49675bd50b3aabd431bd9847441693bd2493674584043e838a787e6c0974d0fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / yk_face-0.3.6-py3-none-any.whl
| Download URL | yk_face-0.3.6-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3ffe5e18133213694b32ad8b1e34e9383e3b0b9d4d6153034d607daa9109229f
|
|
BLAKE2b-256 checksum How to use checksums |
36a35a26ecbbbab0334951e75023dd8b3c3d790cca002c6bf5296ec8ded5385c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for yk-face 0.3.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.