py-any2text-parser 1.0.2

Creator: railscoder56

Last updated:

Add to Cart

Description:

pyany2textparser 1.0.2

py-any2text-parser
install
pip install py-any2text-parser
usage


developer only below:
initialize
python3 -m venv ./venv
source venv/bin/activate
pip install -r requirements.txt

test
python3 test_pdf2text.py

usage
from pdf2text.pdf2text import extract_pdf_file_to_text

file_path = "/Users/user/Downloads/AUDIT_MATERIALS/budget_materials/personal/2021/2021 03 remarks 2.pdf"

with open(file_path, "rb") as file:
text_data, text = extract_pdf_file_to_text(
filename="abc.pdf",
file=file,
meta_data_mapping = {
"document_category": "DEF",
}
)

print(text_data, text)

develop - upload to pypi
pip install twine build
pip install setuppy_generator
pip install setuptools
pip install wheel
python -m setuppy_generator > setup.py
python3 setup.py sdist bdist_wheel
python3 -m build
twine upload dist/*

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.