A Python library for analyzing linear two-port electrical network