Is there any library in python that can delete the contents of pdf?

is there any library in python that can delete some elements in pdf directly? ,

for example, the elements I printed with Py2pdf are
{"/ Parent": IndirectObject (1,0),"/ Contents": IndirectObject (22,0),"/ Tabs":"/ slots,"/ Resources": {"/ XObject": {"/ Image5": IndirectObject (23,0),"/ FormXob.86cdf15f1994e2f2b7032e461afd4234": IndirectObject (25,0)},"/ ExtGState": {"/ Xi0": IndirectObject (26,0), "/ gRLs0": {"/ ca": 0.13},"/ Font": {"/ F1renamined: {"/ Encoding":"/ WinAnsiEncoding","/ Type":"/ Font","/ Name":"/ F1,"/ BaseFont":"/ Helvetica","/ Subtype":"/ Type1"},"/ F1: IndirectObject (27,0),"/ Xi2": IndirectObject (35,0),"/ Xi1": IndirectObject (38, 0)},"/ ProcSet": ["/ Text","/ ImageC","/ ImageB","/ PDF","/ ImageI"]},"/ Group": {"/ Type":"/ Group","/ slots:"/ Transparency","/ CS":"/ DeviceRGB"},"/ MediaBox": [0,0,720,405],"/ Type":"/ Page","/ StructParents": 0}

if you want to delete the Form in it, can you delete it directly?

May.08,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46b3c-44361.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46b3c-44361.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?