This repository is a Python-based framework to simulate systems, subsystems, and components of fiber optic communication systems, for educational and research purposes. Several digital modulations available (M-PAM, square M-QAM, M-PSK, OOK) to simulate IM-DD and coherent. Electrical Engineering Department, Federal University of Campina Grande (UFCG), Brazil authors contributed equally. OptiCommPy is freely accessible, providing researchers. Fiber Optics or Optical Fiber is a technology that transmits data as a light pulse along a glass or plastic fiber. An Optical Fiber is a cylindrical fiber of glass that is hair-thin in size or any transparent dielectric medium. It also deals with ways to increase the capacity of fiber optic transmission links by using WDM (Wavelength Division Multiplexing) system.