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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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