There are 2 repositories under duration-matching topic.
Portfolio Optimization and Quantitative Strategic Asset Allocation in Python