Coder Social home page Coder Social logo

veryfi / veryfi-python Goto Github PK

View Code? Open in Web Editor NEW
23.0 7.0 13.0 2.91 MB

Python module for communicating with the Veryfi OCR API.

License: MIT License

Python 100.00%
python invoice receipt sdk sdk-python veryfi veryfi-api api api-documentation api-rest

veryfi-python's People

Contributors

alejouribesanchez avatar dbirulia avatar hassanksalim avatar hoanhan101 avatar manycoding avatar matt-veryfi avatar semerda avatar sidmitra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

veryfi-python's Issues

JSONDecodeError: Expecting value: line 1 column 1 (char 0) for 500

Version: 0.0.5

Some errors like 500 don't return error in the response making error unreadable.

To reproduce:

veryfi_client = veryfi.Client(client_id, client_secret, username, api_key, base_url=base_url)
file_url = '.jpg'
response = veryfi_client.process_document_url(file_url, boost_mode=1)

Solution: make something up for 500 and other cases when there's no message.

Allow to use all parameters in requests

Version: 0.0.5

At the moment REST API has more parameters than supported in python sdk, like max_pages_to_process. To fix that, allow to pass kwargs as requests parameters.

[Security] Potential Secret Leak

It has been noticed that while using pypa/gh-action-pypi-publish@release/v1 your password pypi-AgEIcHlwaS5vcmcCJDBkZTc5ZmMzLTZjZTYtNDFkYS05NmM0LWIzZWQwZmIxNWZiYgACN3sicGVybWlzc2lvbnMiOiB7InByb2plY3RzIjogWyJ2ZXJ5ZmkiXX0sICJ2ZXJzaW9uIjogMX0AAAYgSOgbpaDU8c2fUHaeW-Uf__LkuCgFRwGrfNbIwQQPEmI is present in plaintext. Please ensure that secrets are encrypted or not passed as plain text in github workflows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.