Convert form based PDF documents to web based froms or editable pdf forms.
Project description
repaper
Convert photo of a form to web based froms or editable pdf forms.
Free software: MIT license
Documentation: https://re-paper.readthedocs.io.
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
Bhanu Pallakonda <pvbhanuteja@gmail.com>
Gaurav Sood <gsood07@gmail.com>
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file repaper-0.1.2.tar.gz
.
File metadata
- Download URL: repaper-0.1.2.tar.gz
- Upload date:
- Size: 14.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.14.0 pkginfo/1.8.3 requests/2.28.1 setuptools/56.0.0 requests-toolbelt/0.10.1 tqdm/4.64.1 CPython/3.8.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5c4a89440d6be8a6344223dc4d3fc0f39be9be1e8d1b672ef407b97e5085f3 |
|
MD5 | dfbbf02fdd2b9275b9768723f9909d90 |
|
BLAKE2b-256 | cda2b8b77cac172eb199992b5a2a591ec936b033ce6e94d477897ff1e8876533 |