Script Freestyle Lines Only help

So I am attempting to write up a script to run that will strip strip away all textures, set alpha of all to zero, select freestyle, have the contour and material boundaries selected, add an Along Stroke modifier to the thickness with min 2 and max 3, set the shading to transparent, and set the antialiasing to 16. This way I can run a script to make line art made up from different scenes with consistent settings. Visual continuity…that old chestnut.
All in all, it was getting tedious to import a scene and then apply my preferred freestyle and render settings.
I am having problems with my limited knowledge of python and attempts have only gotten me so far. The only things that work are alpha to zero and select freestyle. The rest is alluding me and I stopped because I cannot get something as simple as select edge types or antialiasing figured out.
Any suggestions based off of the script below?

import the Blender module

import bpy

#Iterate over all members of the materials
for item in bpy.data.materials:

#Set Alpha to Zero
item.alpha = (0.000)

obj = bpy.context.object
while obj.data.materials:
obj.data.materials.pop (0, update_data=True)

#Set Freestyle to selected
for item in bpy.data.scenes:
obj=bpy.context
item.render.use_freestyle = True

#Set Freestyle Edge Types
item.use_contour= True

#Set Anti Alias to 16
item.render.antialiasing_samples = 16