Since you are a student, you can get free, full-featured access to AMPL — and popular solvers — by installing our AMPL Community Edition for Academia.
AMPL has a powerful Python API, amplpy, for embedding optimization models into Python applications. All versions of AMPL include full access to amplpy.