Skip to content

Instantly share code, notes, and snippets.

View brian-pond's full-sized avatar

Brian Pond brian-pond

View GitHub Profile
""" ftp/utilities/pdf.py """
import os
from PyPDF2 import PdfFileWriter
import frappe
NoneType = type(None)
'''
USAGE EXAMPLE:
""" 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)