Skip to main content

Convert form based PDF documents to web based froms or editable pdf forms.

Project description

repaper

https://img.shields.io/pypi/v/repaper.svg https://img.shields.io/travis/pvbhanuteja/repaper.svg Documentation Status Updates Downloads

Convert photo of a form to web based froms or editable pdf forms.

Installation

Stable release

To install repaper, run this command in your terminal:

$ pip install repaper

This is the preferred method to install repaper, as it will always install the most recent stable release.

Usage

To use repaper in a project:

from repaper import repaper

To generate a google form from the a form image:

from repaper import repaper

re_paper = repaper('../samples/test.jpg')

form_id = re_paper.make_google_from('../secrets/credentials.json')

print(f'''Form created with form id: {form_id["formId"]} and is accessible at: \n https://docs.google.com/forms/d/{form_id['formId']}/viewform \n
edit and publish the form to make it accessible to others''')

Command line usage to generate google form from image:

repaper google-form --img_path ./samples/test.jpg --oauth_json ./secrets/credentials.json

Development Lead

Contributors

None yet. Why not be the first?

Features

  • TODO

Credits

Portions of this research were conducted with the advanced computing resources provided by Texas A&M High Performance Research Computing.

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2022-11-13)

  • First release on PyPI.

0.1.2 (2022-11-15)

  • Setup update

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

repaper-0.1.2.tar.gz (14.3 kB view hashes)

Uploaded Source

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