Skip to main content

bharatocr-client is an opensource python library to access BharatOcrAPIs

Project description

bharatocr-client

Build status

bharatocr-client is an opensource python library to access BharatOcrAPIs

The features of this package:

  • Its a package that help to access BharatOcrAPIs in simple way.

Installation

    pip install bharatocr-client

Register

In this function, User can register in the application to use the BharatOcrAPIs.

    import bharatocrclient 
    status = bharatocrclient.register(email,password,full_name,use_type)
    # use_type -> must be personal, commercial

Login

In this function, User must be login in the application before use featured function of the application.

    import bharatocrclient 
    key, status = bharatocrclient.login(email, password)

Pan Card

In this function, User pass the generated key after login and Pan Card image path.

    import bharatocrclient 
    dict = bharatocrclient.pan(key, image)

Aadhaar Card

In this function, User pass the generated key after login and Aadhaar Card image path.

    import bharatocrclient as b
    dict = b.aadhaar(key, front_image, back_image)

Driving Licence

In this function, User pass the generated key after login and Driving Licence image path.

    import bharatocrclient as b
    dict = b.driving_licence(key, image)

Passport

In this function, User pass the generated key after login and Passport Card image path.

    import bharatocrclient as b
    dict = b.passport(key, image)

Voter ID

In this function, User pass the generated key after login and voter id Card image path.

    import bharatocrclient as b
    dict = b.voterid(key, front_image, back_image)

Contribute & support

We are so pleased to your help and help you, If you wanna develop bharatocrclient, Congrats or if you have problem, don't worry create an issue here:

    https://github.com/essentiasoftserv/bharatocrclient/issues

Pre Commit

Note: Before commit your changes, run pre-commits

    pre-commit run --all

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

bharatocr_client-0.2.0.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

bharatocr_client-0.2.0-py3-none-any.whl (10.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