This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" sql_db_clean.py """ | |
# | |
# Original code and design belongs to Frappe Framework at https://github.com/frappe/frappe, licensed MIT. | |
# Copyright (c) 2016-2022 Frappe Technologies Pvt. Ltd. <[email protected]> | |
# | |
# I kindly thank the contributors and maintainers for their original, open source work. | |
# | |
# The modifications and alterations below are to offer the "trim tables" and "trim database" CLI functions | |
# to users of Frappe Framework v13 (and possibly earlier versions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" ftp/utilities/pdf.py """ | |
import os | |
from PyPDF2 import PdfFileWriter | |
import frappe | |
NoneType = type(None) | |
''' | |
USAGE EXAMPLE: |