Skip to main content

logo

YouFace API: Python SDK & Sample

PyPi Version License

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)

Source distribution for yk-face 0.3.6
File Size Uploaded
yk_face-0.3.6.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for yk-face 0.3.6
File Interpreter ABI Platform
yk_face-0.3.6-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page