SÃ gny is a commune .
SÃ gny , also written Segny , is a commune in the Ain department in eastern France .