ac digital dimmer light control

hai,

      i am working on dimmer light project. which can control light brightness or intensty i want to control like by percentage wise ex. 100 to 0 % with volatge control or which will be better to work on this.

iam using raspberry pi 3 

ac digital dimmer 1 channel

and an light bulb to test this dimmer module.

can anybody please give suggestions or any sample code how to write and how to test with python coding.

 so i can test and get my output what i need.