Skip to main content

Python bindings for the YAP API

Project description

YAP Python Library

The YAP Python library provides convenient access to the YAP API from applications written in the Python language.

Requirements

  • Python 2.7+ or Python 3.6+

Installing

It's an official version for Python

pip install --upgrade yap-sdk

Enjoy 🎉

Usage

The library needs to be configured with your account's secret key which is available in your [YAP Dashboard][api-keys]:

from yapsdk import Yap

service = Yap(api_key='...')

# detect faces on document
response = service.detect_faces(content='/9j/4AAQSkZJRgABAQEASABIA....')

# print that response
print(response.faces)

Example

List of examples for quickly start on your project.

Features File
Extract text text.py
Extract lines line.py
Extract table table.py
Get entities entities.py
Get dominant language dominant_language.py
Detect faces detect_faces.py
Compare faces compare_faces.py

Opening issues

If you encounter a bug with YAP, we would appreciate if you inform us about it. Before opening a new issue, please go through existing issues to find the solution right away if your problem was solved before.

Attach the following details if appropriate:

  • SDK
  • Python version
  • Environment and OS
  • Stack trace

The GitHub issues are intended for bug reports and feature requests. For quick help and questions on using the Yap SDK for Python, please use the resources listed within Getting Help section. The time of our support experts is rushingly flying but even so, they would like to help you in time, and therefore, will appreciate your help in applying for support reasonably by providing full details and excluding duplicated issues.

Contribute

Yap is the open source and we love contributions! If you have an idea for a great improvement or spy an issue you’re keen to fix, follow our Contributing Guide.

No contribution is too small – we encourage you to provide feedback and report issues.

Community support 🌍

For general help using Yap, please refer to the official Yap documentation. For additional help, you can use one of these channels to ask a question:

License

This SDK is distributed under Commerciale License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yapsdk-1.7.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

yapsdk-1.7.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file yapsdk-1.7.0.tar.gz.

File metadata

  • Download URL: yapsdk-1.7.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for yapsdk-1.7.0.tar.gz
Algorithm Hash digest
SHA256 d0c33f798bb8957eb270c82d878b6094691a73b1ebeeb06b93f204daf7ae5a69
MD5 ae8b024a8811e90af29c7ef6f89bf9d3
BLAKE2b-256 78a7af89651cd3a9c11ea8f66d8fd868532d506f155b6c75cc977fb2bebc56ec

See more details on using hashes here.

File details

Details for the file yapsdk-1.7.0-py3-none-any.whl.

File metadata

  • Download URL: yapsdk-1.7.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for yapsdk-1.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b24fdde50b9d4f403de6495b07217f8827a82fb05a62230690f934d690087c95
MD5 64b1b74cd26cb53a256e61d99d319f42
BLAKE2b-256 f8477a9597a17c761ac295075139b58352c60f940bf9a170ae054598cb58a1fb

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page